packages/apps/Settings
Revisión | d0957376c0ed3882e46f8d076b5614264c23e902 (tree) |
---|---|
Tiempo | 2021-04-06 18:00:52 |
Autor | TreeHugger Robot <treehugger-gerrit@goog...> |
Commiter | Automerger Merge Worker |
Merge "Hide non-system overlay window on ActivityPicker" into pi-dev am: 7a09c0613f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13835814
Change-Id: If51aba7cfb3495b42335d90a1600734da17d4d42
@@ -16,6 +16,8 @@ | ||
16 | 16 | |
17 | 17 | package com.android.settings; |
18 | 18 | |
19 | +import static android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS; | |
20 | + | |
19 | 21 | import android.app.Activity; |
20 | 22 | import android.content.Context; |
21 | 23 | import android.content.DialogInterface; |
@@ -71,6 +73,8 @@ public class ActivityPicker extends AlertActivity implements | ||
71 | 73 | @Override |
72 | 74 | protected void onCreate(Bundle savedInstanceState) { |
73 | 75 | super.onCreate(savedInstanceState); |
76 | + | |
77 | + getWindow().addPrivateFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); | |
74 | 78 | |
75 | 79 | final Intent intent = getIntent(); |
76 | 80 |