Merge "Post finishing after transition in onBackPressed" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-06-04 19:11:52 +00:00
committed by Android (Google) Code Review

View File

@@ -3681,7 +3681,7 @@ public class Activity extends ContextThemeWrapper
ActivityTaskManager.getService().onBackPressedOnTaskRoot(mToken,
new IRequestFinishCallback.Stub() {
public void requestFinish() {
finishAfterTransition();
mHandler.post(() -> finishAfterTransition());
}
});
} catch (RemoteException e) {