Merge "Make MediaProjectionPermissionActivity secure with setFilterTouchesWhenObscured()" into mnc-dev

This commit is contained in:
Dongwon Kang
2015-06-08 22:58:55 +00:00
committed by Android (Google) Code Review

View File

@@ -96,6 +96,7 @@ public class MediaProjectionPermissionActivity extends Activity
.create();
mDialog.create();
mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setFilterTouchesWhenObscured(true);
((CheckBox) mDialog.findViewById(R.id.remember)).setOnCheckedChangeListener(this);
mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);