commit | e6c11957b873370615b20851dbc918e77cd09de5 | [log] [tgz] |
---|---|---|
author | alexylli <alexylli@google.com> | Fri May 21 11:44:57 2021 +0800 |
committer | Alex Li <alexylli@google.com> | Fri May 21 03:53:15 2021 +0000 |
tree | 1b9981339027ec394e68e31138c8de4f554383d9 | |
parent | c24caeb4f86b25b57b8f862e672327d4f513aa0d [diff] |
[Settings] Adjusts the result code to cancel when complete redaction interstitial setting This change can make redaction interstitial can be setup repeatedly in anything else page. Test: manual Bug: 185430009 Change-Id: I7ed459ca3017286ab01bc8274704dd01fc50391d
diff --git a/src/com/android/settings/notification/RedactionInterstitial.java b/src/com/android/settings/notification/RedactionInterstitial.java index c8d5ffd..d6cf0c6 100644 --- a/src/com/android/settings/notification/RedactionInterstitial.java +++ b/src/com/android/settings/notification/RedactionInterstitial.java
@@ -153,7 +153,7 @@ } final RedactionInterstitial activity = (RedactionInterstitial) getActivity(); if (activity != null) { - activity.setResult(RESULT_OK, null); + activity.setResult(RESULT_CANCELED, null); finish(); } }