[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
This commit is contained in:
alexylli
2021-05-21 11:44:57 +08:00
committed by Alex Li
parent c24caeb4f8
commit e6c11957b8

View File

@@ -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();
}
}