Chromium Code Reviews| Index: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
| diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
| index b5b15935dde7f79d334fa0c01ae43b2cbd46ed94..5b4e36592d9b1caef8eeeeef8957e1557cf12cf8 100644 |
| --- a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
| +++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
| @@ -353,9 +353,9 @@ public class ChromeShellActivity extends Activity implements AppMenuPropertiesDe |
| mTabManager.createNewTab(); |
| return true; |
| } else if (id == R.id.share_menu_id || id == R.id.direct_share_menu_id) { |
| - ShareHelper.share(item.getItemId() == R.id.direct_share_menu_id, this, |
| - activeTab.getTitle(), activeTab.getUrl(), null, |
| - Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); |
| + ShareHelper.share(item.getItemId() == R.id.direct_share_menu_id, |
| + this, activeTab.getTitle(), activeTab.getUrl(), null, |
|
aurimas (slooooooooow)
2014/11/19 22:43:17
Undo "this" wrapping to the new line as it has not
deepak.db
2014/11/21 10:14:45
Done.
|
| + Intent.FLAG_ACTIVITY_NEW_TASK); |
|
aurimas (slooooooooow)
2014/11/19 22:43:17
Use ChromeApiCompatibilityUtils.getActivityNewDocu
deepak.db
2014/11/20 07:29:05
Thanks for the reply!
FLAG_ACTIVITY_CLEAR_WHEN_TAS
aurimas (slooooooooow)
2014/11/20 17:24:04
FLAG_ACTIVITY_NEW_DOCUMENT and FLAG_ACTIVITY_NEW_T
deepak.db
2014/11/21 10:14:45
ChromeApiCompatibilityUtils.getActivityNewDocument
|
| return true; |
| } else { |
| return super.onOptionsItemSelected(item); |