am 37edbbc6: Merge "VpnDialogs: filter obscured touches"

# Via Gerrit Code Review (1) and Kenny Root (1)
* commit '37edbbc62fa031c75ce5a1298fdd07d981907e89':
  VpnDialogs: filter obscured touches
This commit is contained in:
Kenny Root
2013-02-13 17:09:22 -08:00
committed by Android Git Automerger
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();