diff options
author | junjiez <junjiez@codeaurora.org> | 2018-06-22 13:58:24 +0800 |
---|---|---|
committer | junjiez <junjiez@codeaurora.org> | 2018-06-22 13:58:24 +0800 |
commit | 5c6f94ef09cea25b002934154f11f811022e8be1 (patch) | |
tree | 254baf2b90cf5c0487581e4deabc823dae2953f2 /res/layout/one_ui_layout.xml | |
parent | 3948e62eeb92ae12a06526c8669b74ac46dea272 (diff) | |
download | android_packages_apps_Snap-5c6f94ef09cea25b002934154f11f811022e8be1.tar.gz android_packages_apps_Snap-5c6f94ef09cea25b002934154f11f811022e8be1.tar.bz2 android_packages_apps_Snap-5c6f94ef09cea25b002934154f11f811022e8be1.zip |
SnapdragonCamera:Fix CTS issue
When DPAD_CENTER is pressed, capture
a image to pass CTS test and set the
default focused view to avoid DPAD_CENTER
key event lost.
Change-Id: I75601cf0576251492140e8da30eac0b3d149b5c8
CRs-Fixed: 2226102
Diffstat (limited to 'res/layout/one_ui_layout.xml')
-rwxr-xr-x[-rw-r--r--] | res/layout/one_ui_layout.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/res/layout/one_ui_layout.xml b/res/layout/one_ui_layout.xml index 61c55cd3a..a10d56549 100644..100755 --- a/res/layout/one_ui_layout.xml +++ b/res/layout/one_ui_layout.xml @@ -19,7 +19,9 @@ <com.android.camera.ui.OneUICameraControls xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/camera_controls" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="match_parent" + android:focusable="true" + android:focusableInTouchMode="true"> <com.android.camera.ui.ProMode android:id="@+id/promode_slider" |