|
|
@ -357,24 +357,27 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
|
|
|
|
}.setExecutor(executor);
|
|
|
|
}.setExecutor(executor);
|
|
|
|
|
|
|
|
|
|
|
|
if (Helper.shouldAuthenticate(this, false))
|
|
|
|
if (Helper.shouldAuthenticate(this, false))
|
|
|
|
Helper.authenticate(ActivityMain.this, ActivityMain.this, null,
|
|
|
|
getMainHandler().post(new RunnableEx("authenticate") {
|
|
|
|
new RunnableEx("auth:succeeded") {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void delegate() {
|
|
|
|
public void delegate() {
|
|
|
|
Helper.authenticate(ActivityMain.this, ActivityMain.this, null,
|
|
|
|
Intent intent = getIntent();
|
|
|
|
new RunnableEx("auth:succeeded") {
|
|
|
|
Bundle args = new Bundle();
|
|
|
|
@Override
|
|
|
|
if (intent.hasExtra("intent"))
|
|
|
|
public void delegate() {
|
|
|
|
args.putParcelable("intent", intent.getParcelableExtra("intent"));
|
|
|
|
Intent intent = getIntent();
|
|
|
|
boot.execute(ActivityMain.this, args, "main:accounts");
|
|
|
|
Bundle args = new Bundle();
|
|
|
|
}
|
|
|
|
if (intent.hasExtra("intent"))
|
|
|
|
},
|
|
|
|
args.putParcelable("intent", intent.getParcelableExtra("intent"));
|
|
|
|
new RunnableEx("auth:cancelled") {
|
|
|
|
boot.execute(ActivityMain.this, args, "main:accounts");
|
|
|
|
@Override
|
|
|
|
}
|
|
|
|
public void delegate() {
|
|
|
|
},
|
|
|
|
try {
|
|
|
|
new RunnableEx("auth:cancelled") {
|
|
|
|
finish();
|
|
|
|
@Override
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
public void delegate() {
|
|
|
|
Log.w(ex);
|
|
|
|
try {
|
|
|
|
|
|
|
|
finish();
|
|
|
|
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
|
|
|
|
Log.w(ex);
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
java.lang.NullPointerException: Attempt to invoke virtual method 'int com.android.server.fingerprint.ClientMonitor.stop(boolean)' on a null object reference
|
|
|
|
java.lang.NullPointerException: Attempt to invoke virtual method 'int com.android.server.fingerprint.ClientMonitor.stop(boolean)' on a null object reference
|
|
|
|
at android.os.Parcel.createException(Parcel.java:1956)
|
|
|
|
at android.os.Parcel.createException(Parcel.java:1956)
|
|
|
@ -399,9 +402,11 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
|
|
|
|
at com.android.server.am.TaskChangeNotificationController.forAllLocalListeners(TaskChangeNotificationController.java:263)
|
|
|
|
at com.android.server.am.TaskChangeNotificationController.forAllLocalListeners(TaskChangeNotificationController.java:263)
|
|
|
|
at com.android.server.am.TaskChangeNotificationController.notifyTaskStackChanged(TaskChangeNotificationController.java:276)
|
|
|
|
at com.android.server.am.TaskChangeNotificationController.notifyTaskStackChanged(TaskChangeNotificationController.java:276)
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
else
|
|
|
|
else
|
|
|
|
boot.execute(this, new Bundle(), "main:accounts");
|
|
|
|
boot.execute(this, new Bundle(), "main:accounts");
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|