Makoto Onuki
2d80ca09fc
Squash same ApplicationInfo's in Parcel
...
ApplicationInfo now automatically tries to "squash" the same instances in a
Parcel.
NOTE: This CL still does *not* optimize the package manager APIs that return a
list. e.g. PM.queryContentProviders() still return duplicate AppInfo's.
We can optimize them by making ParcelableListSlice call "allowSquashing",
but that *could* have negative side effects, so I'm not doing it in this CL.
I think we can do that for S.
Bug: 148588589
Test: atest CtsContentTestCases # except for two preexsiting failures:
- android.content.pm.cts.PackageManagerTest#testGetIcon
- android.content.pm.cts.PackageManagerTest#testGetPreferredActivities
Test: Use the debugger and make sure bindApplication() is not receiving
duplicate AppInfo's in the provider list.
Change-Id: I3ba2c047a469169340c0f75c36bdfd394bc5d627
(cherry picked from commit 7d09275d70 )
2020-02-24 22:22:13 +00:00
..
2020-01-27 18:47:27 +00:00
2020-01-13 12:39:59 +00:00
2020-02-18 18:32:44 +08:00
2020-02-19 14:03:23 -08:00
2020-02-20 07:59:07 +00:00
2020-02-20 01:29:25 +00:00
2020-01-14 17:03:06 -08:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-02-14 13:43:53 -08:00
2019-11-05 09:13:07 -08:00
2020-01-13 12:39:59 +00:00
2019-08-29 17:15:44 -07:00
2020-01-13 12:39:59 +00:00
2020-01-29 00:51:25 +00:00
2020-02-04 22:58:57 +00:00
2020-02-04 22:58:57 +00:00
2020-01-13 12:39:59 +00:00
2019-12-03 00:17:48 +08:00
2020-02-06 10:50:43 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2019-10-17 23:42:06 +00:00
2020-02-19 16:25:25 -08:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-02-05 17:07:31 +08:00
2020-01-30 11:30:04 -08:00
2020-01-15 16:15:41 -08:00
2020-02-19 14:45:12 -08:00
2020-01-29 21:29:56 -08:00
2020-01-13 12:39:59 +00:00
2020-01-17 11:27:41 -08:00
2019-11-21 15:28:09 -08:00
2020-01-13 12:39:59 +00:00
2019-11-21 15:19:47 -08:00
2020-01-27 13:19:46 +00:00
2020-01-13 12:39:59 +00:00
2020-02-04 22:58:57 +00:00
2020-01-08 14:16:54 -08:00
2020-01-14 16:45:33 -08:00
2020-01-14 16:45:33 -08:00
2020-01-21 18:34:18 -08:00
2019-08-29 17:15:44 -07:00
2019-11-19 15:05:35 +00:00
2020-02-10 23:44:40 +00:00
2020-01-07 08:18:02 -08:00
2020-01-07 15:17:40 -08:00
2020-02-19 16:25:25 -08:00
2020-01-27 20:14:59 +00:00
2019-10-17 15:23:23 -07:00
2020-02-11 00:02:37 +00:00
2020-02-11 00:02:37 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-02-11 00:02:37 +00:00
2019-10-04 17:58:36 -07:00
2020-02-24 22:22:13 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2019-12-05 11:28:11 -08:00
2020-01-13 12:39:59 +00:00
2020-01-09 00:33:44 +00:00
2020-02-18 17:29:26 -08:00
2020-02-11 12:24:18 +01:00
2020-02-20 01:29:25 +00:00
2019-07-11 19:49:48 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2019-11-30 10:06:23 +00:00
2020-01-20 19:17:39 -08:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2019-08-29 17:15:44 -07:00
2020-02-07 12:27:07 -05:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-02-11 16:26:18 -08:00
2020-02-20 01:29:25 +00:00
2020-01-13 12:39:59 +00:00
2020-01-07 15:17:40 -08:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-02-11 00:02:37 +00:00
2020-01-27 16:11:05 +08:00
2020-02-19 16:25:25 -08:00
2020-02-04 21:21:34 +00:00
2020-02-12 17:35:15 +00:00
2019-09-26 16:45:43 -07:00
2020-01-13 12:39:59 +00:00
2020-01-29 17:44:49 -08:00
2020-01-03 13:08:46 -08:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-02-20 20:35:44 +00:00
2020-01-06 16:16:27 +00:00
2020-01-29 13:00:41 -08:00
2020-01-27 18:53:55 +00:00
2020-01-27 18:53:55 +00:00
2020-02-11 00:02:37 +00:00
2019-12-18 16:30:07 -08:00
2020-01-29 15:32:27 -08:00
2020-01-13 12:39:59 +00:00