mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-14 02:14:34 -05:00
efa31534a9
Signed-off-by: Tad <tad@spotco.us>
36 lines
1.4 KiB
Diff
36 lines
1.4 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Yuri Lin <yurilin@google.com>
|
|
Date: Wed, 12 Oct 2022 14:27:46 +0000
|
|
Subject: [PATCH] Fix conditionId string trimming in AutomaticZenRule
|
|
|
|
This change only applies to S branches and earlier.
|
|
|
|
Bug: 253085433
|
|
Bug: 242703460
|
|
Bug: 242703505
|
|
Bug: 242703780
|
|
Bug: 242704043
|
|
Bug: 243794204
|
|
Test: AutomaticZenRuleTest
|
|
Change-Id: Iae423d93b777df8946ecf1c3baf640fcf74990ec
|
|
Merged-In: Iae423d93b777df8946ecf1c3baf640fcf74990ec
|
|
(cherry picked from commit 303f6bde896877793370c1697fa8c8331b808e56)
|
|
Merged-In: Iae423d93b777df8946ecf1c3baf640fcf74990ec
|
|
---
|
|
core/java/android/app/AutomaticZenRule.java | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/core/java/android/app/AutomaticZenRule.java b/core/java/android/app/AutomaticZenRule.java
|
|
index c152b6b438ef..ba77d891553b 100644
|
|
--- a/core/java/android/app/AutomaticZenRule.java
|
|
+++ b/core/java/android/app/AutomaticZenRule.java
|
|
@@ -80,7 +80,7 @@ public final class AutomaticZenRule implements Parcelable {
|
|
name = getTrimmedString(source.readString());
|
|
}
|
|
interruptionFilter = source.readInt();
|
|
- conditionId = source.readParcelable(null);
|
|
+ conditionId = getTrimmedUri(source.readParcelable(null));
|
|
owner = getTrimmedComponentName(source.readParcelable(null));
|
|
creationTime = source.readLong();
|
|
}
|