Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70526c3e authored by tonyzhu's avatar tonyzhu Committed by Tony Zhu
Browse files

[Call Screening]Default call screening app setting storage.

Add new string in Settings. To indicate which app is default
call screening, similar to default dialer application setting,
store this in the system settings provider.

Bug: 118416082
Test: atest SettingsBackupTest pass.
Change-Id: I39f81b31a68ee2dbb056ff935f8dea0f51720017
parent 03c76607
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -7298,6 +7298,14 @@ public final class Settings {
        @UnsupportedAppUsage
        public static final String DIALER_DEFAULT_APPLICATION = "dialer_default_application";
        /**
         * Specifies the component name currently configured to be the default call screening
         * application
         * @hide
         */
        public static final String CALL_SCREENING_DEFAULT_COMPONENT =
                "call_screening_default_component";
        /**
         * Specifies the package name currently configured to be the default application to perform
         * the user-defined call redirection service with Telecom.
+1 −0
Original line number Diff line number Diff line
@@ -530,6 +530,7 @@ public class SettingsBackupTest {
                 Settings.Secure.BACKUP_PROVISIONED,
                 Settings.Secure.BACKUP_TRANSPORT,
                 Settings.Secure.CALL_REDIRECTION_DEFAULT_APPLICATION,
                 Settings.Secure.CALL_SCREENING_DEFAULT_COMPONENT,
                 Settings.Secure.CAMERA_LIFT_TRIGGER_ENABLED, // Candidate for backup?
                 Settings.Secure.CARRIER_APPS_HANDLED,
                 Settings.Secure.CMAS_ADDITIONAL_BROADCAST_PKG,