Disable PS entry point and Activity when PS is not allowed.
In this change we disable: 1. Security Center Entry point 2. PrivateSpaceAuthenticationActivity when private profile is not present and cannot be added. Additionally, the intent exposing PrivateSpaceAuthenticationActivity is also non-exported and changed to a better name. Bug: 328578044 Test: Manual build and flash Change-Id: I13d298316c6d719d0b06e4969989ea1da83dd4c6
This commit is contained in:
@@ -50,7 +50,7 @@ import com.google.android.setupdesign.util.ThemeHelper;
|
||||
* This class represents an activity responsible for user authentication before starting the private
|
||||
* space setup flow or accessing the private space settings page if already created. Also prompts
|
||||
* user to set a device lock if not set with an alert dialog. This can be launched using the intent
|
||||
* com.android.settings.action.PRIVATE_SPACE_SETUP_FLOW.
|
||||
* com.android.settings.action.OPEN_PRIVATE_SPACE_SETTINGS.
|
||||
*/
|
||||
public class PrivateSpaceAuthenticationActivity extends FragmentActivity {
|
||||
private static final String TAG = "PrivateSpaceAuthCheck";
|
||||
|
Reference in New Issue
Block a user