Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2ea50f1e authored by Marcus Hagerott's avatar Marcus Hagerott
Browse files

Fix crash when launching without READ_PHONE_STATE

This only occurs in the Google Contacts App and was introduced by the SIM
warmup query added here: If3245fad8fb8ea78424bd8d2eaf2ff1b1c8d9cf8

Test
$ adb shell pm revoke com.android.contacts android.permission.READ_CONTACTS
$ adb shell pm revoke com.android.contacts android.permission.WRITE_CONTACTS
$ adb shell pm revoke com.android.contacts android.permission.GET_ACCOUNTS
$ adb shell pm revoke com.android.contacts android.permission.READ_PHONE_STATE
$ adb shell pm revoke com.android.contacts android.permission.READ_CALL_LOG
$ adb shell pm revoke com.android.contacts android.permission.CALL_PHONE
$ adb shell am instrument -w \
$ com.google.android.contacts.tests/android.support.test.runner.AndroidJUnitRunner \
$ -e class com.android.contacts.NoPermissionsLaunchSmokeTest

Bug 31781331

Change-Id: I04d70f7622da94a2f0fb186fbbe053580ef5a025
parent 5e017cac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment