Don't start DPC with the FLAG_ACTIVITY_NEW_TASK flag
The flag prevents the DPC screen from showing with the in-app transition. Fixes: 198422800 Test: manual Change-Id: Ie6debb55396eb5ce48a21b1ef52c89612b1c7ffd
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
package com.android.settings.enterprise;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public interface EnterprisePrivacyFeatureProvider {
|
||||
@@ -131,7 +133,7 @@ public interface EnterprisePrivacyFeatureProvider {
|
||||
* Launches the Device Owner or Profile Owner's activity that displays the "Your work policy
|
||||
* info" page. Returns {@code true} if the activity has indeed been launched.
|
||||
*/
|
||||
boolean showWorkPolicyInfo();
|
||||
boolean showWorkPolicyInfo(Context activityContext);
|
||||
|
||||
/**
|
||||
* Launches the parental controls settings page. Returns {@code true} if the activity has
|
||||
|
||||
Reference in New Issue
Block a user