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
This commit is contained in:
parent
f278ef3b02
commit
cabcbffad8
1 changed files with 9 additions and 3 deletions
|
|
@ -3152,9 +3152,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
|
||||
|
|
|
|||
Loading…
Reference in a new issue