java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.PACKAGE_CHANGED dat=package:com.example.foo flg=0x8000010 (has extras) } in com.android.server.NotificationManagerService$2@429774b0

GitHub | ouchadam | 4 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

    Runtime restart when uninstalling

    GitHub | 4 years ago | ouchadam
    java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.PACKAGE_CHANGED dat=package:com.example.foo flg=0x8000010 (has extras) } in com.android.server.NotificationManagerService$2@429774b0

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unknown package: com.example.foo

      at com.android.server.pm.Settings.getApplicationEnabledSettingLPr()
    2. Android
      PackageManagerService.getApplicationEnabledSetting
      1. com.android.server.pm.Settings.getApplicationEnabledSettingLPr(Settings.java:2440)
      2. com.android.server.pm.PackageManagerService.getApplicationEnabledSetting(PackageManagerService.java:9026)
      2 frames
    3. Android Platform
      ApplicationPackageManager.getApplicationEnabledSetting
      1. android.app.ApplicationPackageManager.getApplicationEnabledSetting(ApplicationPackageManager.java:1279)
      1 frame
    4. Android
      NotificationManagerService$2.onReceive
      1. com.android.server.NotificationManagerService$2.onReceive(NotificationManagerService.java:539)
      1 frame
    5. Android Platform
      Looper.loop
      1. android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:758)
      2. android.os.Handler.handleCallback(Handler.java:725)
      3. android.os.Handler.dispatchMessage(Handler.java:92)
      4. android.os.Looper.loop(Looper.java:137)
      4 frames
    6. Android
      ServerThread.run
      1. com.android.server.ServerThread.run(SystemServer.java:1000)
      1 frame