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

Commit 841a8380 authored by Hiroki Sato's avatar Hiroki Sato
Browse files

Make ScreenPinningRequest#getWindowLayoutParams protected

This change gives the OEM system UI an ability to customize the window
layout params of pinning request confirmation dialog.

Bug: 177028289
Test: manual. Overriding layout works in ArcSystemUI.
Change-Id: I4b2bff193b9f628a54be27f5e81497bdd591687f
parent 1d30d73d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -130,7 +130,7 @@ public class ScreenPinningRequest implements View.OnClickListener,
        }
        }
    }
    }


    private WindowManager.LayoutParams getWindowLayoutParams() {
    protected WindowManager.LayoutParams getWindowLayoutParams() {
        final WindowManager.LayoutParams lp = new WindowManager.LayoutParams(
        final WindowManager.LayoutParams lp = new WindowManager.LayoutParams(
                ViewGroup.LayoutParams.MATCH_PARENT,
                ViewGroup.LayoutParams.MATCH_PARENT,
                ViewGroup.LayoutParams.MATCH_PARENT,
                ViewGroup.LayoutParams.MATCH_PARENT,