packages/apps/Settings
修訂 | ee82189f777f6a5118aa010b1bb94cfb0b47a357 (tree) |
---|---|
時間 | 2021-02-04 09:10:43 |
作者 | android-build-team Robot <android-build-team-robot@goog...> |
Commiter | android-build-team Robot |
Snap for 7122074 from 6dc9f825ec836963e6d6c17cd3c658f08f447259 to rvc-d2-release
Change-Id: If10de4209fac3d45e4f68fab198377aa78798d1c
@@ -25,6 +25,7 @@ import android.content.pm.PackageManager; | ||
25 | 25 | import android.net.wifi.WifiManager; |
26 | 26 | import android.os.Bundle; |
27 | 27 | import android.text.TextUtils; |
28 | +import android.view.WindowManager; | |
28 | 29 | |
29 | 30 | import androidx.appcompat.app.AlertDialog; |
30 | 31 | import androidx.fragment.app.DialogFragment; |
@@ -43,6 +44,8 @@ public class WifiScanModeActivity extends FragmentActivity { | ||
43 | 44 | @Override |
44 | 45 | protected void onCreate(Bundle savedInstanceState) { |
45 | 46 | super.onCreate(savedInstanceState); |
47 | + getWindow().addSystemFlags( | |
48 | + WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); | |
46 | 49 | Intent intent = getIntent(); |
47 | 50 | if (savedInstanceState == null) { |
48 | 51 | if (intent != null && WifiManager.ACTION_REQUEST_SCAN_ALWAYS_AVAILABLE |