Ошибка #258
Updated by Victor K. over 5 years ago
Crashlytics detected a new issue.
*CANService.java line 408* in @@
This issue is affecting at least 1 user who has crashed at least 1 time.
More information: https://fabric.io/droidoncar/android/apps/com.roher.carservice/issues/04c02f78c13103c035f691ea011596f3?utm_medium=service_hooks-redmine&utm_source=issue_impact
Stacktrace:
<pre>
Fatal Exception: java.lang.RuntimeException: Unable to stop service com.roher.carservice.CANService@d95977d: java.lang.SecurityException: com.roher.carservice was not granted this permission: android.permission.WRITE_SETTINGS.
at android.app.ActivityThread.handleStopService + 3059(ActivityThread.java:3059)
at android.app.ActivityThread.-wrap21(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage + 1447(ActivityThread.java:1447)
at android.os.Handler.dispatchMessage + 102(Handler.java:102)
at android.os.Looper.loop + 148(Looper.java:148)
at android.app.ActivityThread.main + 5417(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run + 726(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main + 616(ZygoteInit.java:616)
Caused by java.lang.SecurityException: com.roher.carservice was not granted this permission: android.permission.WRITE_SETTINGS.
at android.os.Parcel.readException + 1620(Parcel.java:1620)
at android.database.DatabaseUtils.readExceptionFromParcel + 183(DatabaseUtils.java:183)
at android.database.DatabaseUtils.readExceptionFromParcel + 135(DatabaseUtils.java:135)
at android.content.ContentProviderProxy.call + 646(ContentProviderProxy.java:646)
at android.provider.Settings$NameValueCache.putStringForUser + 1322(Settings.java:1322)
at android.provider.Settings$System.putStringForUser + 1652(Settings.java:1652)
at android.provider.Settings$System.putIntForUser + 1757(Settings.java:1757)
at android.provider.Settings$System.putInt + 1751(Settings.java:1751)
at com.roher.carservice.CANService.setSystemBrightness + 408(CANService.java:408)
at com.roher.carservice.CANService.onDestroy + 181(CANService.java:181)
at android.app.ActivityThread.handleStopService + 3040(ActivityThread.java:3040)
at android.app.ActivityThread.-wrap21(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage + 1447(ActivityThread.java:1447)
at android.os.Handler.dispatchMessage + 102(Handler.java:102)
at android.os.Looper.loop + 148(Looper.java:148)
at android.app.ActivityThread.main + 5417(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run + 726(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main + 616(ZygoteInit.java:616)
</pre>