Merge "Fix NullPointer when factory debug flag enabled" into tm-d1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
fa4480921a
@@ -971,6 +971,10 @@ public class ScreenDecorations extends CoreStartable implements Tunable , Dumpab
|
|||||||
public void dump(@NonNull PrintWriter pw, @NonNull String[] args) {
|
public void dump(@NonNull PrintWriter pw, @NonNull String[] args) {
|
||||||
pw.println("ScreenDecorations state:");
|
pw.println("ScreenDecorations state:");
|
||||||
pw.println(" DEBUG_DISABLE_SCREEN_DECORATIONS:" + DEBUG_DISABLE_SCREEN_DECORATIONS);
|
pw.println(" DEBUG_DISABLE_SCREEN_DECORATIONS:" + DEBUG_DISABLE_SCREEN_DECORATIONS);
|
||||||
|
if (DEBUG_DISABLE_SCREEN_DECORATIONS) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
pw.println(" mIsPrivacyDotEnabled:" + isPrivacyDotEnabled());
|
pw.println(" mIsPrivacyDotEnabled:" + isPrivacyDotEnabled());
|
||||||
pw.println(" isOnlyPrivacyDotInSwLayer:" + isOnlyPrivacyDotInSwLayer());
|
pw.println(" isOnlyPrivacyDotInSwLayer:" + isOnlyPrivacyDotInSwLayer());
|
||||||
pw.println(" mPendingConfigChange:" + mPendingConfigChange);
|
pw.println(" mPendingConfigChange:" + mPendingConfigChange);
|
||||||
|
|||||||
Reference in New Issue
Block a user