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
Loading
Please register or sign in to comment