From e6c11957b873370615b20851dbc918e77cd09de5 Mon Sep 17 00:00:00 2001 From: alexylli Date: Fri, 21 May 2021 11:44:57 +0800 Subject: [PATCH] [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 --- .../android/settings/notification/RedactionInterstitial.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/settings/notification/RedactionInterstitial.java b/src/com/android/settings/notification/RedactionInterstitial.java index c8d5ffd321c..d6cf0c60ecb 100644 --- a/src/com/android/settings/notification/RedactionInterstitial.java +++ b/src/com/android/settings/notification/RedactionInterstitial.java @@ -153,7 +153,7 @@ public class RedactionInterstitial extends SettingsActivity { } final RedactionInterstitial activity = (RedactionInterstitial) getActivity(); if (activity != null) { - activity.setResult(RESULT_OK, null); + activity.setResult(RESULT_CANCELED, null); finish(); } }