summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yuichiro Hanada <yhanada@google.com> 2024-12-06 16:41:34 +0900
committer Yuichiro Hanada <yhanada@google.com> 2024-12-06 07:50:57 +0000
commitcc0ce276cc2d6ef79909dbe91a4fe717f1929c0f (patch)
treefb3070d9eaa7d0c05a55f09c6efd5152e99435a6
parenta618626771934e0dc2be19a7b034b7f83ae97ff2 (diff)
Modify the signature of logTileBackgroundColorUpdateIfInternetTile
There is no guarantee that the spec string is non-null. It can cause the crash. Flag: EXEMPT small bug fix Bug: 382615531 Test: manual Change-Id: I3186fe2f2957522a5d934c9b7d14f90f17d54805
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/logging/QSLogger.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/logging/QSLogger.kt b/packages/SystemUI/src/com/android/systemui/qs/logging/QSLogger.kt
index ead38f3f9b52..ef45ae76c20c 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/logging/QSLogger.kt
+++ b/packages/SystemUI/src/com/android/systemui/qs/logging/QSLogger.kt
@@ -209,7 +209,7 @@ constructor(
// TODO(b/250618218): Remove this method once we know the root cause of b/250618218.
fun logTileBackgroundColorUpdateIfInternetTile(
- tileSpec: String,
+ tileSpec: String?,
state: Int,
disabledByPolicy: Boolean,
color: Int,