Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Q security exception #460

Open
aurangzaibumer opened this issue Aug 5, 2020 · 0 comments
Open

Android Q security exception #460

aurangzaibumer opened this issue Aug 5, 2020 · 0 comments

Comments

@aurangzaibumer
Copy link

I'm facing issue while using json form on Android Q aka 10

exception
Caused by java.lang.SecurityException: getDeviceId: The user 10220 does not meet the requirements to access device identifiers.
at android.os.Parcel.createException(Parcel.java:2088)
at android.os.Parcel.readException(Parcel.java:2056)
at android.os.Parcel.readException(Parcel.java:2004)
at com.android.internal.telephony.ITelephony$Stub$Proxy.getDeviceId(ITelephony.java:11175)
at android.telephony.TelephonyManager.getDeviceId(TelephonyManager.java:2284)
at com.vijay.jsonwizard.utils.PropertyManager.getDeviceId(PropertyManager.java:88)
at com.vijay.jsonwizard.utils.PropertyManager.addPhoneProperties(PropertyManager.java:127)
at com.vijay.jsonwizard.utils.PropertyManager.access$000(PropertyManager.java:42)
at com.vijay.jsonwizard.utils.PropertyManager$1.onRequestPermissionResult(PropertyManager.java:110)
at com.vijay.jsonwizard.activities.JsonFormBaseActivity.onRequestPermissionsResult(JsonFormBaseActivity.java:155)
at com.vijay.jsonwizard.activities.JsonFormActivity.onRequestPermissionsResult(JsonFormActivity.java:101)
at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:8476)
at android.app.Activity.dispatchActivityResult(Activity.java:8298)
at android.app.ActivityThread.deliverResults(ActivityThread.java:5317)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:5365)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2261)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8107)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant