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

Commit c2bc753d authored by Achim Thesmann's avatar Achim Thesmann
Browse files

Fix NPE in new metric code

Test: atest BackgroundActivityStartController
Bug: 339245692
Flag: com.android.window.flags.bal_improved_metrics
Change-Id: Ifbd5a6ed6957540c3d184faa724f754c50766b0c
parent 441a51dd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1695,6 +1695,7 @@ public class BackgroundActivityStartController {
            return false;
        }
        if (state.mBalAllowedByPiSender.allowsBackgroundActivityStarts()
                && state.mResultForRealCaller != null
                && state.mResultForRealCaller.getRawCode() == BAL_ALLOW_VISIBLE_WINDOW) {
            return false;
        }