• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

packages/apps/Settings


Commit MetaInfo

Revisiónd0957376c0ed3882e46f8d076b5614264c23e902 (tree)
Tiempo2021-04-06 18:00:52
AutorTreeHugger Robot <treehugger-gerrit@goog...>
CommiterAutomerger Merge Worker

Log Message

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

Cambiar Resumen

Diferencia incremental

--- a/src/com/android/settings/ActivityPicker.java
+++ b/src/com/android/settings/ActivityPicker.java
@@ -16,6 +16,8 @@
1616
1717 package com.android.settings;
1818
19+import static android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS;
20+
1921 import android.app.Activity;
2022 import android.content.Context;
2123 import android.content.DialogInterface;
@@ -71,6 +73,8 @@ public class ActivityPicker extends AlertActivity implements
7173 @Override
7274 protected void onCreate(Bundle savedInstanceState) {
7375 super.onCreate(savedInstanceState);
76+
77+ getWindow().addPrivateFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS);
7478
7579 final Intent intent = getIntent();
7680