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

Commit 63841f1c authored by Raul Cristea's avatar Raul Cristea Committed by Kiara Patricia
Browse files

Deflag wear_credential_manager_enabled

Bug: 409611748
Test: atest FrameworksServicesTests
(cherry picked from https://partner-android-review.googlesource.com/q/commit:d1afa2013d423133aab2e742c7d3974aaa453cd7)
Flag: EXEMPT deflagging
Merged-In: I0f8c716641a423c56e703b695b99bc35dd98a4b1
Change-Id: I0f8c716641a423c56e703b695b99bc35dd98a4b1
parent bae9a5ba
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -53,13 +53,6 @@ flag {
    is_exported: true
}

flag {
    namespace: "wear_frameworks"
    name: "wear_credential_manager_enabled"
    description: "Enables Credential Manager on Wear Platform"
    bug: "301168341"
}

flag {
    namespace: "credential_manager"
    name: "new_framework_metrics"
+3 −7
Original line number Diff line number Diff line
@@ -3015,13 +3015,9 @@ public final class SystemServer implements Dumpable {
                    DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_CREDENTIAL,
                    CredentialManager.DEVICE_CONFIG_ENABLE_CREDENTIAL_MANAGER, true);
            if (credentialManagerEnabled) {
                if (isWatch && !android.credentials.flags.Flags.wearCredentialManagerEnabled()) {
                    Slog.d(TAG, "CredentialManager disabled on wear.");
                } else {
                t.traceBegin("StartCredentialManagerService");
                mSystemServiceManager.startService(CredentialManagerService.class);
                t.traceEnd();
                }
            } else {
                Slog.d(TAG, "CredentialManager disabled.");
            }