diff --git a/core/res/res/drawable/ic_info_outline.xml b/core/res/res/drawable/ic_info_outline.xml new file mode 100644 index 0000000000000..a4a3e9aab2393 --- /dev/null +++ b/core/res/res/drawable/ic_info_outline.xml @@ -0,0 +1,25 @@ + + + + + diff --git a/core/res/res/drawable/ic_qs_network_logging.xml b/core/res/res/drawable/ic_qs_network_logging.xml deleted file mode 100644 index 9e08264156e6a..0000000000000 --- a/core/res/res/drawable/ic_qs_network_logging.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml index d1c14e9760039..30b27781127b8 100644 --- a/core/res/res/values/strings.xml +++ b/core/res/res/values/strings.xml @@ -392,12 +392,12 @@ This indicates that a work profile has been deleted. [CHAR LIMIT=NONE]--> Your work profile is no longer available on this device. - - Network traffic is being monitored - - Tap to learn more + + Device is managed + + Your organization manages this device and may monitor network traffic. Tap for details. diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index 0d4a407db242a..7201eaec0aaad 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -1239,12 +1239,12 @@ + - diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java index 0e6a54217e79b..a916672f8cb19 100644 --- a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java +++ b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java @@ -10800,12 +10800,14 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub { UserHandle.CURRENT); Notification notification = new Notification.Builder(mContext, SystemNotificationChannels.DEVICE_ADMIN) - .setSmallIcon(R.drawable.ic_qs_network_logging) + .setSmallIcon(R.drawable.ic_info_outline) .setContentTitle(mContext.getString(R.string.network_logging_notification_title)) .setContentText(mContext.getString(R.string.network_logging_notification_text)) .setTicker(mContext.getString(R.string.network_logging_notification_title)) .setShowWhen(true) .setContentIntent(pendingIntent) + .setStyle(new Notification.BigTextStyle() + .bigText(mContext.getString(R.string.network_logging_notification_text))) .build(); mInjector.getNotificationManager().notify(NETWORK_LOGGING_NOTIFICATION_ID, notification); saveSettingsLocked(mOwners.getDeviceOwnerUserId());