Use auth token from intent extras
Bug: 124324349 Test: confirmation dialog doesn't show up when intent has auth token Change-Id: I9e071b06e1041b0d3c78932d8cb2c16c4c32bca5
This commit is contained in:
@@ -52,7 +52,7 @@ import java.util.List;
|
||||
public class FaceSettings extends DashboardFragment {
|
||||
|
||||
private static final String TAG = "FaceSettings";
|
||||
private static final String KEY_TOKEN = "key_token";
|
||||
private static final String KEY_TOKEN = "hw_auth_token";
|
||||
|
||||
private UserManager mUserManager;
|
||||
private FaceManager mFaceManager;
|
||||
@@ -98,6 +98,7 @@ public class FaceSettings extends DashboardFragment {
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
mToken = getIntent().getByteArrayExtra(KEY_TOKEN);
|
||||
mUserManager = getPrefContext().getSystemService(UserManager.class);
|
||||
mFaceManager = getPrefContext().getSystemService(FaceManager.class);
|
||||
mUserId = getActivity().getIntent().getIntExtra(
|
||||
|
Reference in New Issue
Block a user