Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Issue 1636573004: Dont cache activity for external navigation handling (Closed)

Created:
4 years, 11 months ago by Yusuf
Modified:
4 years, 11 months ago
Reviewers:
gone
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Dont cache activity for external navigation handling This removes the cached activity copies from InterceptNavigationHandler and ExternalNavigationHandler. - Uses application context when it doesn't make any difference(For package manager related calls.) - Tries to get the activity through the tab and if not fail gracefully either by early return or using application context for launching new activity. BUG=546736 Committed: https://crrev.com/d02c46df9dfd465461d14586f08745f7213c67f1 Cr-Commit-Position: refs/heads/master@{#371853}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Comments #

Patch Set 3 : Findbugs fix, get context through CVC #

Patch Set 4 : Fix custom tabs self reference #

Total comments: 2

Patch Set 5 : Nit #

Messages

Total messages: 26 (11 generated)
Yusuf
4 years, 11 months ago (2016-01-25 22:16:11 UTC) #2
gone
https://codereview.chromium.org/1636573004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java File chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java (right): https://codereview.chromium.org/1636573004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java#newcode62 chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java:62: // At the point of creation the tab should ...
4 years, 11 months ago (2016-01-25 23:42:43 UTC) #3
Yusuf
https://codereview.chromium.org/1636573004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java File chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java (right): https://codereview.chromium.org/1636573004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java#newcode62 chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java:62: // At the point of creation the tab should ...
4 years, 11 months ago (2016-01-25 23:55:59 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1636573004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1636573004/1
4 years, 11 months ago (2016-01-26 00:01:26 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1636573004/10010 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1636573004/10010
4 years, 11 months ago (2016-01-26 00:33:28 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/12737)
4 years, 11 months ago (2016-01-26 01:12:44 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1636573004/30001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1636573004/30001
4 years, 11 months ago (2016-01-26 01:17:30 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/13349)
4 years, 11 months ago (2016-01-26 03:25:00 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1636573004/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1636573004/50001
4 years, 11 months ago (2016-01-26 19:46:17 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-26 20:35:53 UTC) #18
gone
lgtm https://chromiumcodereview.appspot.com/1636573004/diff/50001/chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java File chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java (right): https://chromiumcodereview.appspot.com/1636573004/diff/50001/chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java#newcode58 chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java:58: protected final Context mApplicationContext; protected final above private ...
4 years, 11 months ago (2016-01-26 23:36:04 UTC) #19
Yusuf
https://codereview.chromium.org/1636573004/diff/50001/chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java File chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java (right): https://codereview.chromium.org/1636573004/diff/50001/chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java#newcode58 chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java:58: protected final Context mApplicationContext; On 2016/01/26 23:36:04, dfalcantara wrote: ...
4 years, 11 months ago (2016-01-27 18:42:15 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1636573004/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1636573004/70001
4 years, 11 months ago (2016-01-27 18:48:23 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:70001)
4 years, 11 months ago (2016-01-27 20:16:00 UTC) #24
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 20:17:09 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d02c46df9dfd465461d14586f08745f7213c67f1
Cr-Commit-Position: refs/heads/master@{#371853}

Powered by Google App Engine
This is Rietveld 408576698