diff options
author | Michael Bestas <mikeioannina@gmail.com> | 2013-11-05 16:43:50 +0200 |
---|---|---|
committer | Chippa-a <vusal1372@gmail.com> | 2019-10-25 15:55:25 +0300 |
commit | e2067a840611cc16a0a15bde65671df93206f231 (patch) | |
tree | 057c647db2a4d4274b01970ae4d3d9adc109f8fc /Android.mk | |
parent | bfdc1037c805a57dc067a2084e6a20edacbf9e81 (diff) | |
download | android_packages_apps_Snap-e2067a840611cc16a0a15bde65671df93206f231.tar.gz android_packages_apps_Snap-e2067a840611cc16a0a15bde65671df93206f231.tar.bz2 android_packages_apps_Snap-e2067a840611cc16a0a15bde65671df93206f231.zip |
Camera: Cleanup hardware key handling
* Fix power shutter behaviour in camcorder mode
* Disable volume change while in panorama mode, volume buttons should only
handle camera operations while in the camera
* Add camera/power/volume key shutter handling in panorama mode
On devices with a hardware camera key:
* Disable power & volume shutter features
* Volume buttons control the zoom
On devices without a hardware camera key:
* When power shutter is disabled, volume buttons control the shutter (like AOSP)
* When power shutter is enabled, volume buttons control the zoom
Change-Id: I141946d5b6f5aec8b1e9a9f99270d30295596079
Diffstat (limited to 'Android.mk')
-rwxr-xr-x | Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk index 4acc5b820..a8cdcb99e 100755 --- a/Android.mk +++ b/Android.mk @@ -25,6 +25,8 @@ LOCAL_AAPT_FLAGS := \ --version-name "$(version_name_package)" \ --version-code $(version_code_package) \ +LOCAL_JAVA_LIBRARIES := org.lineageos.platform.internal + LOCAL_PACKAGE_NAME := Snap LOCAL_PRIVILEGED_MODULE := true LOCAL_PRIVATE_PLATFORM_APIS:=true |