File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1919 <uses-permission android : name =" android.permission.READ_CALL_LOG" />
2020 <uses-permission android : name =" android.permission.READ_CONTACTS" />
2121 <uses-permission android : name =" android.permission.READ_PHONE_STATE" />
22+ <uses-permission android : name =" android.permission.READ_PRIVILEGED_PHONE_STATE" tools : ignore =" ProtectedPermissions" />
2223 <uses-permission android : name =" android.permission.READ_SMS" />
2324 <uses-permission android : name =" android.permission.RECEIVE_BOOT_COMPLETED" />
2425 <uses-permission android : name =" android.permission.RECORD_AUDIO" />
Original file line number Diff line number Diff line change @@ -256,7 +256,8 @@ public void writeJson(JsonWriter out) throws Exception {
256256 }
257257 } catch (SecurityException e ) {
258258 // Failed to obtain device id.
259- // Android 10+.
259+ // Android 10+ requires READ_PRIVILEGED_PHONE_STATE
260+ // https://source.android.com/devices/tech/config/device-identifiers
260261 }
261262
262263 out .name ("device_id" ).value (device_id );
You can’t perform that action at this time.
0 commit comments