VpnDialogs: filter obscured touches

Change-Id: Ifcc919c36006c88e36363f5160f9334df0cf7e5b
This commit is contained in:
Kenny Root
2013-02-13 16:32:36 -08:00
parent b0f4b8a7d2
commit 56480ef53f
2 changed files with 2 additions and 0 deletions

View File

@@ -52,6 +52,7 @@
android:layout_height="wrap_content"
android:text="@string/accept"
android:textSize="20sp"
android:filterTouchesWhenObscured="true"
android:checked="false"/>
</LinearLayout>
</ScrollView>

View File

@@ -78,6 +78,7 @@ public class ConfirmDialog extends AlertActivity implements
getWindow().setCloseOnTouchOutside(false);
mButton = mAlert.getButton(DialogInterface.BUTTON_POSITIVE);
mButton.setEnabled(false);
mButton.setFilterTouchesWhenObscured(true);
} catch (Exception e) {
Log.e(TAG, "onResume", e);
finish();