Use AOSP intent for Work Policy Info
Bug: 134391103 Test: make, GTS, robotest Change-Id: I8870621538aa7d2d4a5313efdf41119fd36daee5
This commit is contained in:
@@ -422,8 +422,7 @@ public class EnterprisePrivacyFeatureProviderImplTest {
|
||||
|
||||
private Intent addWorkPolicyInfoIntent(
|
||||
String packageName, boolean deviceOwner, boolean profileOwner) {
|
||||
Intent intent =
|
||||
new Intent(mResources.getString(R.string.config_work_policy_info_intent_action));
|
||||
Intent intent = new Intent(Settings.ACTION_SHOW_WORK_POLICY_INFO);
|
||||
intent.setPackage(packageName);
|
||||
ResolveInfo resolveInfo = new ResolveInfo();
|
||||
resolveInfo.resolvePackageName = packageName;
|
||||
|
Reference in New Issue
Block a user