diff options
author | mingwax <mingwax@codeaurora.org> | 2016-11-22 18:26:11 +0800 |
---|---|---|
committer | mingwax <mingwax@codeaurora.org> | 2016-11-22 20:35:19 +0800 |
commit | 1cc5cc1ff76b11c85ea33798b1af900fd686181f (patch) | |
tree | 1f1ab903e0f9c947f06f7b149dc453194bfc2330 /res/layout/one_ui_layout.xml | |
parent | c6fb74a0f63210f1991686e4303ed928b23e5b4b (diff) | |
download | android_packages_apps_Snap-1cc5cc1ff76b11c85ea33798b1af900fd686181f.tar.gz android_packages_apps_Snap-1cc5cc1ff76b11c85ea33798b1af900fd686181f.tar.bz2 android_packages_apps_Snap-1cc5cc1ff76b11c85ea33798b1af900fd686181f.zip |
SnapdragonCamera: Fix Camera2 FC AlertDialog occur WindowLeaked
The dialog occur WindowLeaked when attached the activity is
destroyed.
Add judgement whether the activity is finishing before show dialog,
if true return, false show dialog.
CRs-Fixed: 1082314
Change-Id: I28fab4c0253d2524a05e7e18a78d7651bdc9ce4a
Diffstat (limited to 'res/layout/one_ui_layout.xml')
0 files changed, 0 insertions, 0 deletions