java.lang.SecurityException: Permission Denial: killBackgroundProcesses() from pid=10542, uid=10433 requires android.permission.KILL_BACKGROUND_PROCESSES

GitHub | wenmingvs | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    【CrashLog】 WeiSwift 2016-08-20 23:29:18:40

    GitHub | 7 months ago | wenmingvs
    java.lang.SecurityException: Permission Denial: killBackgroundProcesses() from pid=10542, uid=10433 requires android.permission.KILL_BACKGROUND_PROCESSES

    Root Cause Analysis

    1. java.lang.SecurityException

      Permission Denial: killBackgroundProcesses() from pid=10542, uid=10433 requires android.permission.KILL_BACKGROUND_PROCESSES

      at android.os.Parcel.readException()
    2. Android Platform
      ActivityManager.killBackgroundProcesses
      1. android.os.Parcel.readException(Parcel.java:1620)
      2. android.os.Parcel.readException(Parcel.java:1573)
      3. android.app.ActivityManagerProxy.killBackgroundProcesses(ActivityManagerNative.java:5523)
      4. android.app.ActivityManager.killBackgroundProcesses(ActivityManager.java:2766)
      4 frames
    3. com.wenming.weiswift
      SettingActivity$5.onCheckedChanged
      1. com.wenming.weiswift.ui.login.fragment.profile.setting.SettingActivity$5.onCheckedChanged(SettingActivity.java:118)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.widget.CompoundButton.setChecked(CompoundButton.java:165)
      2. android.widget.CompoundButton.toggle(CompoundButton.java:118)
      3. android.widget.CompoundButton.performClick(CompoundButton.java:123)
      4. android.view.View$PerformClick.run(View.java:22526)
      5. android.os.Handler.handleCallback(Handler.java:739)
      6. android.os.Handler.dispatchMessage(Handler.java:95)
      7. android.os.Looper.loop(Looper.java:158)
      8. android.app.ActivityThread.main(ActivityThread.java:7224)
      8 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
      2 frames
    7. XposedBridge
      XposedBridge.main
      1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
      1 frame