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 16:14:15 +0000 (09:14 -0700)
commit90672aa08379e598426c12b529a86afd4b61011e
tree21aa262bfcb3058c5874e5936a9c0041fa69828f
parent19597371a18921bb03337e4fa24c28dd2d8f06ed
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
src/com/android/camera/settings/AppUpgrader.java
src/com/android/camera/settings/SettingsManager.java