title: DeadObjectException with stacktrace pointing to : android.app.ApplicationPackageManager.getPackageInstaller
body: <p>I'm seeing in crash being reported in crashlytics which has this stack trace which has no mention of my app code.</p>
  
  <p>I have seen <a href="https://stackoverflow.com/questions/26104089/deadobjectexception-with-com-google-android-gms">DeadObjectException with com.google.android.gms</a> and there, the crash was triggered when removing listeners.</p>
  
  <p>Also, everytime my app starts, I get the installer for logging purposes, i.e.</p>
  
  <pre><code>packageManager.getInstallerPackageName(my-package-name)
  </code></pre>
  
  <p>There is no callback associated with this call.</p>
  
  <p>Crash is observed mainly on Lollipop and Kitkat, though few Marshmallow and Nougat users have experienced it too.</p>
  
  <p>Has anyone experienced something similar?</p>
  
  <pre><code>Fatal Exception: java.lang.RuntimeException: android.os.DeadObjectException
         at android.app.ApplicationPackageManager.getPackageInstaller(ApplicationPackageManager.java:1632)
         at com.google.android.gms.common.zze.zzl(Unknown Source)
         at com.google.android.gms.common.GoogleApiAvailability.getInstance(Unknown Source:8000)
         at com.google.android.gms.internal.zzpy.zzc(Unknown Source:24000)
         at com.google.android.gms.internal.zzpv.begin(Unknown Source)
         at com.google.android.gms.internal.zzqa.zzc(Unknown Source)
         at com.google.android.gms.internal.zzpp.onConnectionSuspended(Unknown Source)
         at com.google.android.gms.common.internal.zzk$1.onConnectionSuspended(Unknown Source)
         at com.google.android.gms.common.internal.zzd$zzd.handleMessage(Unknown Source)
         at android.os.Handler.dispatchMessage(Handler.java:102)
         at android.os.Looper.loop(Looper.java:135)
         at android.app.ActivityThread.main(ActivityThread.java:5438)
         at java.lang.reflect.Method.invoke(Method.java)
         at java.lang.reflect.Method.invoke(Method.java:372)
         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
  Caused by android.os.DeadObjectException
         at android.os.BinderProxy.transactNative(Binder.java)
         at android.os.BinderProxy.transact(Binder.java:496)
         at android.content.pm.IPackageManager$Stub$Proxy.getPackageInstaller(IPackageManager.java:4229)
         at android.app.ApplicationPackageManager.getPackageInstaller(ApplicationPackageManager.java:1629)
         at com.google.android.gms.common.zze.zzl(Unknown Source)
         at com.google.android.gms.common.GoogleApiAvailability.getInstance(Unknown Source:8000)
         at com.google.android.gms.internal.zzpy.zzc(Unknown Source:24000)
         at com.google.android.gms.internal.zzpv.begin(Unknown Source)
         at com.google.android.gms.internal.zzqa.zzc(Unknown Source)
         at com.google.android.gms.internal.zzpp.onConnectionSuspended(Unknown Source)
         at com.google.android.gms.common.internal.zzk$1.onConnectionSuspended(Unknown Source)
         at com.google.android.gms.common.internal.zzd$zzd.handleMessage(Unknown Source)
         at android.os.Handler.dispatchMessage(Handler.java:102)
         at android.os.Looper.loop(Looper.java:135)
         at android.app.ActivityThread.main(ActivityThread.java:5438)
         at java.lang.reflect.Method.invoke(Method.java)
         at java.lang.reflect.Method.invoke(Method.java:372)
         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
  </code></pre>