diff options
| author | 2024-08-02 12:43:31 +0000 | |
|---|---|---|
| committer | 2024-08-02 12:43:31 +0000 | |
| commit | 24eec3bae3142d6217ff5ed02cce1ad7e389531d (patch) | |
| tree | 3c73ded2c07ab23798788f58192c429d502fbd1f | |
| parent | fd593b79b5e1e564d862318e6bb536f36a2421a5 (diff) | |
| parent | acbc8f4050617078dc524ba996ec468edb098886 (diff) | |
Merge "Make ZenPolicy.peopleTypeToString available for tests" into main
| -rw-r--r-- | core/java/android/service/notification/ZenPolicy.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/java/android/service/notification/ZenPolicy.java b/core/java/android/service/notification/ZenPolicy.java index 910c4626ea96..2669391b4d45 100644 --- a/core/java/android/service/notification/ZenPolicy.java +++ b/core/java/android/service/notification/ZenPolicy.java @@ -1240,7 +1240,10 @@ public final class ZenPolicy implements Parcelable { return "invalidState{" + state + "}"; } - private String peopleTypeToString(@PeopleType int peopleType) { + /** + * @hide + */ + public static String peopleTypeToString(@PeopleType int peopleType) { switch (peopleType) { case PEOPLE_TYPE_ANYONE: return "anyone"; |