am 0dd7ddc4: Merge "Make MediaProjectionPermissionActivity secure with setFilterTouchesWhenObscured()" into mnc-dev
* commit '0dd7ddc414971732b962352c7ad4a8fb111272c4': Make MediaProjectionPermissionActivity secure with setFilterTouchesWhenObscured()
This commit is contained in:
@@ -96,6 +96,7 @@ public class MediaProjectionPermissionActivity extends Activity
|
|||||||
.create();
|
.create();
|
||||||
|
|
||||||
mDialog.create();
|
mDialog.create();
|
||||||
|
mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setFilterTouchesWhenObscured(true);
|
||||||
|
|
||||||
((CheckBox) mDialog.findViewById(R.id.remember)).setOnCheckedChangeListener(this);
|
((CheckBox) mDialog.findViewById(R.id.remember)).setOnCheckedChangeListener(this);
|
||||||
mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
|
mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
|
||||||
|
|||||||
Reference in New Issue
Block a user