Skip to content
Snippets Groups Projects
  1. May 24, 2018
  2. May 23, 2018
  3. May 22, 2018
  4. May 21, 2018
  5. May 19, 2018
  6. May 18, 2018
    • Tyler Gunn's avatar
      Require READ_CALL_LOG permission to see phone numbers in phone state. · 84dad956
      Tyler Gunn authored
      Incoming and outgoing call phone numbers are visible in the phone state
      broadcast and via the PhoneStateListener.  To enhance user privacy, change
      to require the READ_CALL_LOG permission in order to receive the call
      phone numbers.
      
      This means to see phone numbers:
      1. android.intent.action.PHONE_STATE - requires READ_PHONE_STATE and
      READ_CALL_LOG permission.
      2. PhoneStateListener#onCallStateChanged - now required READ_CALL_LOG
      permission.
      
      To support this new behavior, added sendBroadcastAsUserMultiplePermissions
      method to context to allow sending the broadcast to all users while
      requiring the two permissions.
      
      Bug: 78650469
      Test: Created PHONE_STATE broadcast receiver in test app and verified that
      when no permissions are granted, the phone number is empty for incoming
      and outgoing calls.
      Test: Granted Phone state permission to test app and verified that phone
      number is not populated.
      Test: Granted test app read call log permission and verified that phone
      number is populated.
      Test: Created PhoneStateListener in test app and verified that when no
      permissions are granted, phone number is empty for incoming and outgoing.
      calls.
      Test: Granted read call log permission to test app and verified that both
      the incoming and outgoing numbers are populated.
      
      Change-Id: I857ea00cc58a0abbb77960643f361dd6dd9c8b56
      84dad956
    • Xiangyu/Malcolm Chen's avatar
    • Xiangyu/Malcolm Chen's avatar
      147dc32b
    • Adam Lesinski's avatar
      Change ownership of AAPT2 and libandroidfw · 89794158
      Adam Lesinski authored
      toddke@ is now the new owner of these projects.
      
      Exempt-From-Owner-Approval: setting new owners
      Test: none
      Change-Id: Ie92b020e0ba063f48ce8a76ebaef768fe0d554f1
      Merged-In: Ie92b020e0ba063f48ce8a76ebaef768fe0d554f1
      (cherry picked from commit a95e8418)
      89794158
Loading