Make action provision protected with extra phone ID
Previously, the phone ID was appended to the broadcast and sent to ConnectivityManager. Instead of sending both as an action, send the phone ID as an extra instead. Only process the broadcast if the extra matches the phone ID for DCT. Move the action to a protected broadcast to prevent security issues. Test: manually verify a SecurityException when action provision is sent Test: atest DcTrackerTest Bug: 172459128 Change-Id: If822e874e58e2f5378a5cfdc4619e7b1881b6388 Merged-In: If822e874e58e2f5378a5cfdc4619e7b1881b6388
Loading
Please register or sign in to comment