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

Issue 723223004: Using FLAG_ACTIVITY_NEW_TASK flag for sharing in Chrome Shell. (Closed)

Created:
6 years, 1 month ago by deepak.db
Modified:
6 years ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Using FLAG_ACTIVITY_NEW_TASK flag for sharing in Chrome Shell. FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET flag is depricated in API 21. Using this flag will have same effect as FLAG_ACTIVITY_NEW_DOCUMENT flag for Lollipop and higher versions of Android ie separate entries for both the applications in Task Manager. FLAG_ACTIVITY_NEW_TASK flag will ensure that when new application is opened via Share option, entries of both application is shown in Task Manager. So there will be same behaviour for Share option for all versions of Android. Bug=None Committed: https://crrev.com/578e90b7fe494eb8dded65247a31ba320ad06ded Cr-Commit-Position: refs/heads/master@{#305253}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (4 generated)
deepak.db
PTAL
6 years, 1 month ago (2014-11-19 07:08:37 UTC) #2
wajahat
+ cjhopman & nyquist for review Pl. comment thanks!
6 years, 1 month ago (2014-11-19 07:24:14 UTC) #4
nyquist
aurimas: care to take a look at this?
6 years, 1 month ago (2014-11-19 22:29:01 UTC) #6
aurimas (slooooooooow)
https://codereview.chromium.org/723223004/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java (right): https://codereview.chromium.org/723223004/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java#newcode357 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java:357: this, activeTab.getTitle(), activeTab.getUrl(), null, Undo "this" wrapping to the ...
6 years, 1 month ago (2014-11-19 22:43:17 UTC) #7
deepak.db
Thanks for the review. PTAL https://codereview.chromium.org/723223004/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java (right): https://codereview.chromium.org/723223004/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java#newcode358 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java:358: Intent.FLAG_ACTIVITY_NEW_TASK); On 2014/11/19 22:43:17, ...
6 years, 1 month ago (2014-11-20 07:29:05 UTC) #8
aurimas (slooooooooow)
https://codereview.chromium.org/723223004/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java (right): https://codereview.chromium.org/723223004/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java#newcode358 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java:358: Intent.FLAG_ACTIVITY_NEW_TASK); On 2014/11/20 07:29:05, deepak.db wrote: > On 2014/11/19 ...
6 years, 1 month ago (2014-11-20 17:24:04 UTC) #9
deepak.db
https://codereview.chromium.org/723223004/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java (right): https://codereview.chromium.org/723223004/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java#newcode357 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java:357: this, activeTab.getTitle(), activeTab.getUrl(), null, On 2014/11/19 22:43:17, aurimas wrote: ...
6 years ago (2014-11-21 10:14:45 UTC) #10
aurimas (slooooooooow)
lgtm
6 years ago (2014-11-21 16:59:37 UTC) #11
nyquist
now that aurimas is happy, lgtm
6 years ago (2014-11-21 18:08:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/723223004/40001
6 years ago (2014-11-21 18:13:21 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-11-21 18:56:45 UTC) #15
commit-bot: I haz the power
6 years ago (2014-11-21 18:58:13 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/578e90b7fe494eb8dded65247a31ba320ad06ded
Cr-Commit-Position: refs/heads/master@{#305253}

Powered by Google App Engine
This is Rietveld 408576698