History log of /packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/LensPickerUtils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b05b6c6076eaa0d140c95e6594f7e9998f14416a 26-Apr-2017 Rakesh Iyer <rni@google.com> Don't cache package resolutions in the lens picker.

We were caching package resolutions in the lens picker to make up
for slowness in package manager and watching for the package change
broadcast to invalidate that cache.

The problem with this approach is that if a package gets updated as
part of the update of the system image, the lens picker will never
get the broadcast and the cache is now invalid, which canlead to
strange situations. Realistically, the only way to avoid this is
to not cache the resolution results.

Test: Switched around apps, media and otherwise.
Change-Id: I21b717f5f48ce66e71fcdd1a962b574294fdb2b2
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/LensPickerUtils.java
2465f273eb12ef26ae921ac82058534b71974178 20-Oct-2016 Rakesh Iyer <rni@google.com> Move car lens picker.

Original sha1: 813ad197e0a8704606d9e80dc919922930580289

Credits:
ajchen@
rni@
victorchan@

Bug: 32118797
Test: Manual.
Change-Id: I90ee1b48905c42c4549e2d5a5a4fce514a5d9f57
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/LensPickerUtils.java