Add missing settings strings.
Also re-enable and fix tests. Test: manual Fixes: 226183482 Fixes: 218799125 Fixes: 219375624 Change-Id: I9605f1f4e2e834baf63e015e96639567c5481b5f
This commit is contained in:
@@ -52,7 +52,8 @@ public abstract class AdminActionPreferenceControllerBase extends
|
||||
}
|
||||
|
||||
private String getEnterprisePrivacyNone() {
|
||||
return mContext.getSystemService(DevicePolicyManager.class).getResources()
|
||||
return ((DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE))
|
||||
.getResources()
|
||||
.getString(ADMIN_ACTION_NONE,
|
||||
() -> mContext.getString(R.string.enterprise_privacy_none));
|
||||
}
|
||||
|
Reference in New Issue
Block a user