diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml index 70c89574484cb..31058a98c1346 100644 --- a/packages/SystemUI/AndroidManifest.xml +++ b/packages/SystemUI/AndroidManifest.xml @@ -162,6 +162,9 @@ + + + { c.drawColor(overlayColor); c.setBitmap(null); + // swap "System UI" out for "Android System" + final Bundle extras = new Bundle(); + extras.putString(Notification.EXTRA_SUBSTITUTE_APP_NAME, + context.getString(com.android.internal.R.string.android_system_label)); + // Show the intermediate notification mTickerAddSpace = !mTickerAddSpace; mNotificationManager = nManager; @@ -180,6 +186,8 @@ class SaveImageInBackgroundTask extends AsyncTask { .setSmallIcon(R.drawable.stat_notify_image) .setCategory(Notification.CATEGORY_PROGRESS) .setWhen(now) + .setShowWhen(true) + .addExtras(extras) .setColor(r.getColor( com.android.internal.R.color.system_notification_accent_color)); @@ -190,6 +198,8 @@ class SaveImageInBackgroundTask extends AsyncTask { .setContentText(r.getString(R.string.screenshot_saving_text)) .setSmallIcon(R.drawable.stat_notify_image) .setWhen(now) + .setShowWhen(true) + .addExtras(extras) .setColor(r.getColor(com.android.internal.R.color.system_notification_accent_color)) .setStyle(mNotificationStyle) .setPublicVersion(mPublicNotificationBuilder.build());