Merge "Make UDFPS overlay a trusted overlay"
This commit is contained in:
committed by
Android (Google) Code Review
commit
52ddb216c5
@@ -194,6 +194,7 @@ class UdfpsController implements DozeReceiver {
|
||||
mCoreLayoutParams.setFitInsetsTypes(0);
|
||||
mCoreLayoutParams.layoutInDisplayCutoutMode =
|
||||
WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
|
||||
mCoreLayoutParams.privateFlags = WindowManager.LayoutParams.PRIVATE_FLAG_TRUSTED_OVERLAY;
|
||||
|
||||
mView = (UdfpsView) inflater.inflate(R.layout.udfps_view, null, false);
|
||||
mView.setSensorProperties(mSensorProps);
|
||||
|
||||
Reference in New Issue
Block a user