java.lang.SecurityException: Neither user 10081 nor current process has android.permission.ACCESS_THEME_MANAGER.

JIRA | RoadXY | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Themes crashing when opening themes See also attached zip 06-19 15:46:55.082: I/ActivityManager(2294): Start proc org.cyanogenmod.themes.provider for content provider org.cyanogenmod.themes.provider/.ThemesProvider: pid=5540 uid=10081 gids={50081, 3003} 06-19 15:46:55.107: D/libEGL(2833): loaded /system/lib/egl/libEGL_mali.so 06-19 15:46:55.112: D/libEGL(2833): loaded /system/lib/egl/libGLESv1_CM_mali.so 06-19 15:46:55.112: D/libEGL(2833): loaded /system/lib/egl/libGLESv2_mali.so 06-19 15:46:55.117: D/ActivityThread(5540): handleBindApplication:org.cyanogenmod.themes.provider 06-19 15:46:55.117: D/ActivityThread(5540): setTargetHeapUtilization:0.75 06-19 15:46:55.117: D/ActivityThread(5540): setTargetHeapMinFree:2097152 06-19 15:46:55.117: E/(2833): Device driver API match 06-19 15:46:55.117: E/(2833): Device driver API version: 23 06-19 15:46:55.117: E/(2833): User space API version: 23 06-19 15:46:55.117: E/(2833): mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct 9 21:05:57 KST 2013 06-19 15:46:55.182: D/OpenGLRenderer(2833): Enabling debug mode 0 06-19 15:46:55.227: W/dalvikvm(5540): threadid=11: thread exiting with uncaught exception (group=0x4194cce0) 06-19 15:46:55.227: E/AndroidRuntime(5540): FATAL EXCEPTION: Thread-294 06-19 15:46:55.227: E/AndroidRuntime(5540): Process: org.cyanogenmod.themes.provider, PID: 5540 06-19 15:46:55.227: E/AndroidRuntime(5540): java.lang.SecurityException: Neither user 10081 nor current process has android.permission.ACCESS_THEME_MANAGER. 06-19 15:46:55.227: E/AndroidRuntime(5540): at android.os.Parcel.readException(Parcel.java:1465) 06-19 15:46:55.227: E/AndroidRuntime(5540): at android.os.Parcel.readException(Parcel.java:1419) 06-19 15:46:55.227: E/AndroidRuntime(5540): at android.content.res.IThemeService$Stub$Proxy.requestThemeChange(IThemeService.java:176) 06-19 15:46:55.227: E/AndroidRuntime(5540): at android.content.res.ThemeManager.requestThemeChange(ThemeManager.java:120) 06-19 15:46:55.227: E/AndroidRuntime(5540): at org.cyanogenmod.themes.provider.ThemesProvider$VerifyInstalledThemesThread.verifyPackages(ThemesProvider.java:377) 06-19 15:46:55.227: E/AndroidRuntime(5540): at org.cyanogenmod.themes.provider.ThemesProvider$VerifyInstalledThemesThread.run(ThemesProvider.java:288) 06-19 15:46:55.347: I/ActivityManager(2294): Displayed org.cyanogenmod.theme.chooser/.ChooserActivity: +389ms 06-19 15:46:55.407: I/Timeline(2833): Timeline: Activity_idle id: android.os.BinderProxy@41c1cbb8 time:160429 06-19 15:46:55.672: I/Timeline(2294): Timeline: Activity_windows_visible id: ActivityRecord{41c36d48 u0 org.cyanogenmod.theme.chooser/.ChooserActivity t1} time:160690 06-19 15:46:56.557: I/dalvikvm(2294): Jit: resizing JitTable from 8192 to 16384

    JIRA | 3 years ago | RoadXY
    java.lang.SecurityException: Neither user 10081 nor current process has android.permission.ACCESS_THEME_MANAGER.
  2. 0

    Themes crashing when opening themes See also attached zip 06-19 15:46:55.082: I/ActivityManager(2294): Start proc org.cyanogenmod.themes.provider for content provider org.cyanogenmod.themes.provider/.ThemesProvider: pid=5540 uid=10081 gids={50081, 3003} 06-19 15:46:55.107: D/libEGL(2833): loaded /system/lib/egl/libEGL_mali.so 06-19 15:46:55.112: D/libEGL(2833): loaded /system/lib/egl/libGLESv1_CM_mali.so 06-19 15:46:55.112: D/libEGL(2833): loaded /system/lib/egl/libGLESv2_mali.so 06-19 15:46:55.117: D/ActivityThread(5540): handleBindApplication:org.cyanogenmod.themes.provider 06-19 15:46:55.117: D/ActivityThread(5540): setTargetHeapUtilization:0.75 06-19 15:46:55.117: D/ActivityThread(5540): setTargetHeapMinFree:2097152 06-19 15:46:55.117: E/(2833): Device driver API match 06-19 15:46:55.117: E/(2833): Device driver API version: 23 06-19 15:46:55.117: E/(2833): User space API version: 23 06-19 15:46:55.117: E/(2833): mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct 9 21:05:57 KST 2013 06-19 15:46:55.182: D/OpenGLRenderer(2833): Enabling debug mode 0 06-19 15:46:55.227: W/dalvikvm(5540): threadid=11: thread exiting with uncaught exception (group=0x4194cce0) 06-19 15:46:55.227: E/AndroidRuntime(5540): FATAL EXCEPTION: Thread-294 06-19 15:46:55.227: E/AndroidRuntime(5540): Process: org.cyanogenmod.themes.provider, PID: 5540 06-19 15:46:55.227: E/AndroidRuntime(5540): java.lang.SecurityException: Neither user 10081 nor current process has android.permission.ACCESS_THEME_MANAGER. 06-19 15:46:55.227: E/AndroidRuntime(5540): at android.os.Parcel.readException(Parcel.java:1465) 06-19 15:46:55.227: E/AndroidRuntime(5540): at android.os.Parcel.readException(Parcel.java:1419) 06-19 15:46:55.227: E/AndroidRuntime(5540): at android.content.res.IThemeService$Stub$Proxy.requestThemeChange(IThemeService.java:176) 06-19 15:46:55.227: E/AndroidRuntime(5540): at android.content.res.ThemeManager.requestThemeChange(ThemeManager.java:120) 06-19 15:46:55.227: E/AndroidRuntime(5540): at org.cyanogenmod.themes.provider.ThemesProvider$VerifyInstalledThemesThread.verifyPackages(ThemesProvider.java:377) 06-19 15:46:55.227: E/AndroidRuntime(5540): at org.cyanogenmod.themes.provider.ThemesProvider$VerifyInstalledThemesThread.run(ThemesProvider.java:288) 06-19 15:46:55.347: I/ActivityManager(2294): Displayed org.cyanogenmod.theme.chooser/.ChooserActivity: +389ms 06-19 15:46:55.407: I/Timeline(2833): Timeline: Activity_idle id: android.os.BinderProxy@41c1cbb8 time:160429 06-19 15:46:55.672: I/Timeline(2294): Timeline: Activity_windows_visible id: ActivityRecord{41c36d48 u0 org.cyanogenmod.theme.chooser/.ChooserActivity t1} time:160690 06-19 15:46:56.557: I/dalvikvm(2294): Jit: resizing JitTable from 8192 to 16384

    JIRA | 3 years ago | RoadXY
    java.lang.SecurityException: Neither user 10081 nor current process has android.permission.ACCESS_THEME_MANAGER.

    Root Cause Analysis

    1. java.lang.SecurityException

      Neither user 10081 nor current process has android.permission.ACCESS_THEME_MANAGER.

      at android.os.Parcel.readException()
    2. Android Platform
      ThemeManager.requestThemeChange
      1. android.os.Parcel.readException(Parcel.java:1465)
      2. android.os.Parcel.readException(Parcel.java:1419)
      3. android.content.res.IThemeService$Stub$Proxy.requestThemeChange(IThemeService.java:176)
      4. android.content.res.ThemeManager.requestThemeChange(ThemeManager.java:120)
      4 frames
    3. org.cyanogenmod.themes
      ThemesProvider$VerifyInstalledThemesThread.run
      1. org.cyanogenmod.themes.provider.ThemesProvider$VerifyInstalledThemesThread.verifyPackages(ThemesProvider.java:377)
      2. org.cyanogenmod.themes.provider.ThemesProvider$VerifyInstalledThemesThread.run(ThemesProvider.java:288)
      2 frames