Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cdf533b8 authored by Matt Casey's avatar Matt Casey Committed by Automerger Merge Worker
Browse files

Merge "Allow WindowManager.TYPE_SCREENSHOT to be focusable" into rvc-dev am: d8aa60aa

Change-Id: I6ed40dcec54942b982e312e5c975ec94fbb951ce
parents 9693f835 d8aa60aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1162,7 +1162,7 @@ public interface WindowManager extends ViewManager {

        /**
         * Window type: shows directly above the keyguard. The layer is
         * reserved for screenshot region selection. These windows must not take input focus.
         * reserved for screenshot animation, region selection and UI.
         * In multiuser systems shows only on the owning user's window.
         * @hide
         */
+0 −4
Original line number Diff line number Diff line
@@ -874,10 +874,6 @@ public class DisplayPolicy {
                }
                break;

            case TYPE_SCREENSHOT:
                attrs.flags |= WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE;
                break;

            case TYPE_TOAST:
                // While apps should use the dedicated toast APIs to add such windows
                // it possible legacy apps to add the window directly. Therefore, we