diff options
author | Jay Wang <jaywang@codeaurora.org> | 2016-04-14 17:33:30 -0700 |
---|---|---|
committer | Jay Wang <jaywang@codeaurora.org> | 2016-04-15 16:20:49 -0700 |
commit | 61253a495b5f5d57d57570e29c510d545762d8b3 (patch) | |
tree | d158a17feb803e8c553066246585179a331f10a5 /res/layout | |
parent | 4b33265c83966f70d4ef5cbe5c182d7dc670e5ee (diff) | |
download | android_packages_apps_Snap-61253a495b5f5d57d57570e29c510d545762d8b3.tar.gz android_packages_apps_Snap-61253a495b5f5d57d57570e29c510d545762d8b3.tar.bz2 android_packages_apps_Snap-61253a495b5f5d57d57570e29c510d545762d8b3.zip |
SnapdragonCamera: Fix viewfinder flashing issue in camcorder mode
The preview cover is removed before the preview frame is
generated and causes the homescreen shows up for a short
duration. To resolve the issue, show the preview cover by
default until the first preview frame is generated by
camera framework.
Change-Id: I1e193b64689b8b51eaa0e3891974405536869efd
CRs-Fixed: 1003977
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/video_module.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/res/layout/video_module.xml b/res/layout/video_module.xml index 1c1db4444..d61b179d9 100644 --- a/res/layout/video_module.xml +++ b/res/layout/video_module.xml @@ -43,8 +43,7 @@ android:id="@+id/preview_cover" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@android:color/black" - android:visibility="gone" /> + android:background="@android:color/black" /> <View android:id="@+id/flash_overlay" android:layout_width="match_parent" |