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

Commit 12af3c29 authored by Massimo Carli's avatar Massimo Carli Committed by Android (Google) Code Review
Browse files

Merge "[29/n] Encapsulate Letterbox state in Policy" into main

parents d473bd3a 0aa0c3dc
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -59,8 +59,7 @@ class AppCompatController {
                mTransparentPolicy, mAppCompatOverrides);
        mAppCompatReachabilityPolicy = new AppCompatReachabilityPolicy(mActivityRecord,
                wmService.mAppCompatConfiguration);
        mAppCompatLetterboxPolicy = new AppCompatLetterboxPolicy(mActivityRecord,
                mTransparentPolicy);
        mAppCompatLetterboxPolicy = new AppCompatLetterboxPolicy(mActivityRecord);
    }

    @NonNull
+241 −175

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -108,7 +108,7 @@ final class LetterboxUiController {
    }

    void layoutLetterboxIfNeeded(WindowState w) {
        mAppCompatLetterboxPolicy.layoutLetterboxIfNeeded(w);
        mAppCompatLetterboxPolicy.start(w);
    }

    boolean isLetterboxEducationEnabled() {