Add logging to private space settings
Bug: 317625931 Test: Manual Change-Id: I01200b54c436d2a60ac07c9facbb5cf35a44d920
This commit is contained in:
@@ -111,12 +111,14 @@ public class PrivateSpaceAuthenticationActivity extends FragmentActivity {
|
||||
}
|
||||
|
||||
private void promptToSetDeviceLock() {
|
||||
Log.d(TAG, "Show prompt to set device lock before using private space feature");
|
||||
new AlertDialog.Builder(this)
|
||||
.setTitle(R.string.no_device_lock_title)
|
||||
.setMessage(R.string.no_device_lock_summary)
|
||||
.setPositiveButton(
|
||||
R.string.no_device_lock_action_label,
|
||||
(DialogInterface dialog, int which) -> {
|
||||
Log.d(TAG, "Start activity to set new device lock");
|
||||
mSetDeviceLock.launch(new Intent(ACTION_SET_NEW_PASSWORD));
|
||||
})
|
||||
.setNegativeButton(
|
||||
@@ -176,6 +178,7 @@ public class PrivateSpaceAuthenticationActivity extends FragmentActivity {
|
||||
options.toBundle())
|
||||
.getIntentSender());
|
||||
} else {
|
||||
Log.i(TAG, "Launch private space settings");
|
||||
privateSpaceSettings.launch();
|
||||
}
|
||||
finish();
|
||||
|
Reference in New Issue
Block a user