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

Commit 657becf1 authored by kholoud mohamed's avatar kholoud mohamed
Browse files

Fix enterprise resources ID typos

Bug: 236943522
Test: manual testing
Change-Id: I5705ac7586cb73b7bc2bd60bb792d0a0a951ed74
parent 37e033db
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package com.android.systemui.statusbar;

import static android.app.admin.DevicePolicyManager.DEVICE_OWNER_TYPE_FINANCED;
import static android.app.admin.DevicePolicyResources.Strings.SystemUi.KEYGUARD_MANAGEMENT_DISCLOSURE;
import static android.app.admin.DevicePolicyResources.Strings.SystemUi.KEYGUARD_NAMED_MANAGEMENT_DISCLOSURE;
import static android.view.View.GONE;
import static android.view.View.VISIBLE;

@@ -392,7 +393,7 @@ public class KeyguardIndicationController {
                    organizationName);
        } else {
            return mDevicePolicyManager.getResources().getString(
                    KEYGUARD_MANAGEMENT_DISCLOSURE,
                    KEYGUARD_NAMED_MANAGEMENT_DISCLOSURE,
                    () -> packageResources.getString(
                            R.string.do_disclosure_with_name, organizationName),
                    organizationName);
+1 −1
Original line number Diff line number Diff line
@@ -1346,7 +1346,7 @@ public class PackageInstallerService extends IPackageInstaller.Stub implements
        private String getDeviceOwnerDeletedPackageMsg() {
            DevicePolicyManager dpm = mContext.getSystemService(DevicePolicyManager.class);
            return dpm.getResources().getString(PACKAGE_DELETED_BY_DO,
                    () -> mContext.getString(R.string.package_updated_device_owner));
                    () -> mContext.getString(R.string.package_deleted_device_owner));
        }

        @Override