diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2020-12-04 00:08:18 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-12-04 00:08:18 +0000 |
commit | e8105598eb11ad8c3d586c84b3839901cb71c5da (patch) | |
tree | 6a05f3af892ab189d781aa4f4e311b37d32b3b97 | |
parent | 5f1045de9201911ceca15df1e1b2bf2ccb30bf1d (diff) | |
parent | f66c83ebd45a367c609ed7c7443113faa667504e (diff) |
Snap for 7010201 from f66c83ebd45a367c609ed7c7443113faa667504e to rvc-qpr2-release
Change-Id: I754bab9ac6ede91d0593c478847e559652f70b73
-rw-r--r-- | service/java/com/android/server/wifi/ConnectToNetworkNotificationBuilder.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/ConnectToNetworkNotificationBuilder.java b/service/java/com/android/server/wifi/ConnectToNetworkNotificationBuilder.java index 4f7b4e820..053314dc7 100644 --- a/service/java/com/android/server/wifi/ConnectToNetworkNotificationBuilder.java +++ b/service/java/com/android/server/wifi/ConnectToNetworkNotificationBuilder.java @@ -16,6 +16,8 @@ package com.android.server.wifi; +import static android.app.Notification.VISIBILITY_SECRET; + import android.app.Notification; import android.app.PendingIntent; import android.content.Intent; @@ -95,6 +97,7 @@ public class ConnectToNetworkNotificationBuilder { .setContentIntent(getPrivateBroadcast(ACTION_PICK_WIFI_NETWORK, notifierTag)) .addAction(connectAction) .addAction(allNetworksAction) + .setVisibility(VISIBILITY_SECRET) .build(); } |