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:
@@ -52,6 +52,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/accept"
|
||||
android:textSize="20sp"
|
||||
android:filterTouchesWhenObscured="true"
|
||||
android:checked="false"/>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user