How can I keep my app's notification displayed when my app is updated on Google Play store?
问题 My app has a function of set-notification. Here is my code. @SuppressWarnings("deprecation") public static void setNotification(Context _context) { NotificationManager notificationManager = (NotificationManager) _context.getSystemService(Context.NOTIFICATION_SERVICE); int icon_id = R.drawable.icon; Notification notification = new Notification(icon_id, _context.getString(R.string.app_name), System.currentTimeMillis()); // Intent intent = new Intent(_context, MainActivity.class); notification