Merge "Fix NullPointer when factory debug flag enabled" into tm-d1-dev am: fa4480921a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18753297

Change-Id: I11e148bcba3e49eafca08b659b70b0d035779cde
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2022-06-07 16:38:56 +00:00
committed by Automerger Merge Worker

View File

@@ -971,6 +971,10 @@ public class ScreenDecorations extends CoreStartable implements Tunable , Dumpab
public void dump(@NonNull PrintWriter pw, @NonNull String[] args) {
pw.println("ScreenDecorations state:");
pw.println(" DEBUG_DISABLE_SCREEN_DECORATIONS:" + DEBUG_DISABLE_SCREEN_DECORATIONS);
if (DEBUG_DISABLE_SCREEN_DECORATIONS) {
return;
}
pw.println(" mIsPrivacyDotEnabled:" + isPrivacyDotEnabled());
pw.println(" isOnlyPrivacyDotInSwLayer:" + isOnlyPrivacyDotInSwLayer());
pw.println(" mPendingConfigChange:" + mPendingConfigChange);