OSDN Git Service

Fix preference copy migration and incorrect HDR+ sticky bit
authorAlan Newberger <alann@google.com>
Mon, 6 Oct 2014 15:54:09 +0000 (08:54 -0700)
committerAlan Newberger <alann@google.com>
Mon, 6 Oct 2014 21:26:26 +0000 (21:26 +0000)
commit7ba23fed935fa796c9c76b16c9bae79bf3f8b969
tree910f9e022d41c4d55f3b3c3421589c68a7842082
parent0ac0b733d510fc17d072c61055c0e2ad446689ff
Fix preference copy migration and incorrect HDR+ sticky bit

A sticky bit upgrader particularly for HDR+ was looking in
globals but was actually a module setting. The copy migrator
was not properly handling booleans! Modified the copy migrator
to properly handle supported types and removed the custom
incorrect upgrader.

Bug: 17875895
Change-Id: Id36abc429d12a77c5462e5c49ef7786e3d092f2c
(cherry picked from commit 90672aa08379e598426c12b529a86afd4b61011e)
src/com/android/camera/settings/AppUpgrader.java
src/com/android/camera/settings/SettingsManager.java