Convert Telephony broadcasts to be non-sticky
Convert ACTION_SERVICE_STATE_CHANGED and ACTION_ANY_DATA_CONNECTION_CHANGED to be non-sticky broadcasts that require the READ_PHONE_STATE permission to receive. As part of this, declare READ_PHONE_STATE to be split from READ_PRIVILEGED_PHONE_STATE, so that system apps holding READ_PRIVILEGED_PHONE_STATE can also receive these broadcasts. Also modify affected users to fetch the current value of the broadcast upon registration instead of relying on the sticky nature of the broadcast. Bug: 150155839 Test: manual Test: atest KeyguardUpdateMonitorTest Change-Id: I020b1554c4fc59c138d015e787526b4a66c74853
Loading
Please register or sign in to comment