diff options
author | Jay Wang <jaywang@codeaurora.org> | 2016-03-15 18:20:25 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-08-03 15:45:46 -0700 |
commit | 4180e3b9dd5c8ae712d9dd791f5f69205cefcbeb (patch) | |
tree | f4882dce0b5cc3a5b8d067ae35f36a627753c979 /src/com | |
parent | 5bb6fe377c000e4287432518080968344583357a (diff) | |
download | android_packages_apps_Snap-4180e3b9dd5c8ae712d9dd791f5f69205cefcbeb.tar.gz android_packages_apps_Snap-4180e3b9dd5c8ae712d9dd791f5f69205cefcbeb.tar.bz2 android_packages_apps_Snap-4180e3b9dd5c8ae712d9dd791f5f69205cefcbeb.zip |
SnapdragonCamera: Resolve camera control overlapping issue
Clicking beautification icon right after clicking
camera switching icon can cause overlapping of
camera controls and beautification controls.
To resolve issue, hide the UI controls during camera switching.
Change-Id: I5c4b96ce10c0d44e8c63c41207a4ec3d09312b51
CRs-Fixed: 977967
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/camera/PhotoMenu.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/camera/PhotoMenu.java b/src/com/android/camera/PhotoMenu.java index 879b3772b..0927fee25 100644 --- a/src/com/android/camera/PhotoMenu.java +++ b/src/com/android/camera/PhotoMenu.java @@ -694,6 +694,10 @@ public class PhotoMenu extends MenuController .findPreference(prefKey); if (pref == null) return; + // Hide the camera control while switching the camera. + // The camera control will be added back when + // onCameraPickerClicked is completed + mUI.hideUI(); int index = pref.findIndexOfValue(pref.getValue()); CharSequence[] values = pref.getEntryValues(); index = (index + 1) % values.length; |