diff options
| author | Sarah Chin <sarahchin@google.com> | 2020-11-25 12:15:14 -0800 |
|---|---|---|
| committer | Sarah Chin <sarahchin@google.com> | 2020-12-15 01:10:27 -0800 |
| commit | 4d810d41132deeb6dc8c0872908fe9ede41ffdf3 (patch) | |
| tree | 80583a3a4dbd80e36e10f881647276b2906d770b /core/java | |
| parent | 11ed014edf98d43a70ed42da6a6e6dddb21f8b2d (diff) | |
Move phone ID to extra for action provision
Previously, the phone ID was appended to the broadcast in DCT and sent
to ConnectivityManager. Instead of sending both as an action, send the
phone ID as an extra instead to make the action a protected broadcast.
Test: manually verify a SecurityException when action provision is sent
Test: atest DcTrackerTest
Bug: 172459128
Change-Id: Ic4129def86949d7191d15056852718dadbd72fba
Merged-In: Ic4129def86949d7191d15056852718dadbd72fba
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/net/ConnectivityManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/net/ConnectivityManager.java b/core/java/android/net/ConnectivityManager.java index a29f8782601e..ed03f5198d6f 100644 --- a/core/java/android/net/ConnectivityManager.java +++ b/core/java/android/net/ConnectivityManager.java @@ -3115,9 +3115,9 @@ public class ConnectivityManager { } /** - * Set sign in error notification to visible or in visible + * Set sign in error notification to visible or invisible * - * {@hide} + * @hide * @deprecated Doesn't properly deal with multiple connected networks of the same type. */ @Deprecated |
