Skip to content

Commit 847c626

Browse files
Yuri LinOhMyVenyx
authored andcommitted
[DO NOT MERGE] 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 7533d04) Merged-In: Iae423d93b777df8946ecf1c3baf640fcf74990ec
1 parent e9300a8 commit 847c626

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/java/android/app/AutomaticZenRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public AutomaticZenRule(Parcel source) {
125125
name = getTrimmedString(source.readString());
126126
}
127127
interruptionFilter = source.readInt();
128-
conditionId = source.readParcelable(null);
128+
conditionId = getTrimmedUri(source.readParcelable(null));
129129
owner = getTrimmedComponentName(source.readParcelable(null));
130130
configurationActivity = getTrimmedComponentName(source.readParcelable(null));
131131
creationTime = source.readLong();

0 commit comments

Comments
 (0)