RESTRICT AUTOMERGE am: 3c2fece4a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12931376 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Iec0d2821646244c13f5de537933abf9c5145b067
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
package com.android.companiondevicemanager;
|
||||
|
||||
import static android.companion.BluetoothDeviceFilterUtils.getDeviceMacAddress;
|
||||
import static android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS;
|
||||
|
||||
import static java.util.Objects.requireNonNull;
|
||||
|
||||
@@ -58,6 +59,8 @@ public class DeviceChooserActivity extends Activity {
|
||||
Log.e(LOG_TAG, "About to show UI, but no devices to show");
|
||||
}
|
||||
|
||||
getWindow().addSystemFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS);
|
||||
|
||||
if (getService().mRequest.isSingleDevice()) {
|
||||
setContentView(R.layout.device_confirmation);
|
||||
final DeviceFilterPair selectedDevice = getService().mDevicesFound.get(0);
|
||||
|
||||
Reference in New Issue
Block a user