AsyncTask and getInstalledPackages() fail

前端 未结 3 875
抹茶落季
抹茶落季 2020-12-20 06:37

I don\'t really understand what is happening and maybe you can give me an idea. I use getInstalledPackages() in order to get a list of all user installed applications and th

3条回答
  •  离开以前
    2020-12-20 07:23

    I'm proposing a different explanation:

    The IPC buffer runs full and on earlier Android versions (sub API15) just an empty list is returned while on newer Android versions a TransactionTooLargeException is thrown.

    Also see: PackageManager.getInstalledPackages() returns empty list

提交回复
热议问题