Commit a237af59 authored by Peter Kotwicz's avatar Peter Kotwicz Committed by Commit Bot

[Android FRE Refactor] Do not launch Chrome when user aborts FRE 1/4

This CL is part 1/4 of changing the first run experience not to launch
Chrome when the user aborts the first run experience.
This gets rid of UI flicker https://crbug.com/788153
This CL is also preparation for changing the intent which is launched
when the first run experience is completed for new-style WebAPKs.

BUG=901954

Change-Id: I13da4a52a6745f0e2f87e5b23c445f758a48defb
Reviewed-on: https://chromium-review.googlesource.com/c/1359919Reviewed-by: default avatarYusuf Ozuysal <yusufo@chromium.org>
Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#614843}
parent 7e92f45b
......@@ -1081,12 +1081,19 @@ public class CustomTabsConnection {
void showSignInToastIfNecessary(CustomTabsSessionToken session, Intent intent) { }
/**
* Sends a callback using {@link CustomTabsCallback} about the first run result if necessary.
* Sends a callback using {@link CustomTabsCallback} with the first run result if necessary.
* @param intent The initial VIEW intent that initiated first run.
* @param resultOK Whether first run was successful.
*/
public void sendFirstRunCallbackIfNecessary(Intent intent, boolean resultOK) { }
/**
* Sends a callback using {@link CustomTabsCallback} with the first run result if necessary.
* @param intentExtras The extras for the initial VIEW intent that initiated first run.
* @param resultOK Whether first run was successful.
*/
public void sendFirstRunCallbackIfNecessary(Bundle intentExtras, boolean resultOK) {}
/**
* Sends the navigation info that was captured to the client callback.
* @param session The session to use for getting client callback.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment