1
0
Fork 0
Commit Graph

58 Commits (69a9aeebae193107ba122bf60e5b60386666d85b)

Author SHA1 Message Date
Tiger Oakes d45af2a717
For #11903: Fix private custom tabs (#13327) 2020-08-05 16:24:47 -07:00
Michael Comella fcb84d940a No issue: correct position of StartupTimeline; add warning. 2020-07-20 14:27:41 -07:00
Marc Leclair ff5d00362b Added A-C version 48.0.20200626213814 2020-06-26 19:59:57 -04:00
Sachin 9269a53b21
for #11615 allowed strictMode disk read for violations made by the OS. (#11658) 2020-06-21 14:54:49 -07:00
Tiger Oakes f0295048fa Remove Mockito 2020-06-10 21:19:50 -04:00
Sebastian Kaspari 21bd379438 Issue #9815: Allow Intents to set HomeActivity.OPEN_TO_BROWSER. 2020-05-27 10:55:44 +02:00
Mugurell 2dfd833941 For #10844 - Fennec page shortcuts will open in normal tabs
This comes to resolve a small regression in which they were opened in new
custom tab.
2020-05-25 14:37:00 +03:00
Michael Comella 9ed43b60b6 For #7781: instrument visual completeness for top sites.
Eyeballing my output in *Debug builds on my P2, this adds approximately 115ms
or slightly less from first frame drawn to visually complete time.
2020-02-28 13:37:06 -08:00
Sebastian Kaspari a477f14042 IntentReceiverActivity: Simplify intent handling.
This patch removes the need to process() and then match() on every intent processor.
A successful process() means that we already matched. Doing this in two steps caused
issues when the process() failed but later the simple check in match() returned true.

After this patch lands I intent to remove the match() API from the IntentProcessor
interface in AC:
https://github.com/mozilla-mobile/android-components/issues/6097
2020-02-28 13:27:53 -08:00
ekager 511c36e191 Removes FragmentPreDrawManager changes in BrowserFragment 2020-02-25 13:38:47 -08:00
Roger Yang 0630e2482f
Closes #8544: Activity should be reused when opening intents from other apps (#8547) 2020-02-21 09:02:13 -05:00
mcarare 9d755a877a For #8354 Fix opening custom tabs and links directly in private mode 2020-02-18 09:34:36 -08:00
mcarare ae13f4b44f For #8354 Remove unsetting open links in private if not default browser 2020-02-18 09:34:36 -08:00
Jonathan Almeida b89afe7b7c For #7092: Add initial Migration UI 2020-01-15 21:41:01 -08:00
Mugurell 8454f208af For #4977: Migrate fennec shortcuts (#7251)
* For #4977 - Support opening Fennec pinned website shortcuts in Fenix

Fennec's pinned website shortcuts are set to open the BrowserApp activity.
So we need a new activity alias to actually catch such Intents. Otherwise they
would open "org.mozilla.firefox/.App" without any way to inform that this is
the result of the user clicking on a pinned shortcut.
For actually checking if the newly received Intent is of a Fennec pinned
shortcut we introduce a new FennecBookmarkShortcutsIntentProcessor which will
prepare the Intent to open the shortcut's URL in a new tab.

* For #4977 - Don't keep IntentReceiverActivity on the back stack

For successive Fennec pinned shortcuts to create a new IntentReceiverActivity
and be processed as normal we need to not keep this as our task root.

* For #4977 - Test the FennecBookmarkShortcutsIntentProcessor
2020-01-07 09:07:51 -08:00
Emma Malysz 13f73c2d2c
For issue 7192: move unsetOpenLinksInAPrivateTabIfNecessary off main thread. (#7246)
Move method to Settings. There are two instances when we want to call this method: either
processing an intent, or within DefaultBrowserPreference
2019-12-30 14:42:13 -08:00
Tiger Oakes 3f7205e3cb
Extract IntentProcessorType to its own file and add tests (#7012) 2019-12-10 00:02:23 -08:00
Severin Rudie 5f393bd5d4
For #5334: added private custom tab processor (#6845)
* For #5334: added private custom tab processor

* For #5334 - Fixes up IntentReceiverActivity for handling intents

* For 5334: update styling for private custom tabbs

* For 5334: update tests to account for new processors

Note that two are still failing. These appear to be true failures, and will be corrected in a later commit.

* For 5334: fixes bug introduced by changes to IntentReceiverActivity

RCA: intent className and extra were previously set based on which processors matched, not which successfully processed. This patch reintroduces that behavior.

* For 5334: add tests for custom tabs processing
2019-12-06 10:57:54 -08:00
Jeff Boek 5f7b3bd4d7
For #5972 - Fixes bugs when launching in private mode on Android 5 (#6702) 2019-11-26 14:53:03 -08:00
Sawyer Blatz 4359c215e6 For #5737: Adds telemetry for open links in a private tab (#5975) 2019-10-24 17:16:49 -07:00
Tiger Oakes e572562c7a Cleanup shortcut code 2019-10-18 10:57:51 -07:00
Tiger Oakes a598148b29 Fixes #5225 - Hide AuthCustomTabActivity 2019-10-18 10:56:06 -07:00
Sawyer Blatz 841b06b02f
No issue: fixes master (#5777) 2019-10-03 14:42:56 -07:00
Sawyer Blatz 371e2ac3d8
For #514 & #5742: Updates "launch links in private tab" functionality (#5721)
* For #514 & #5742: Updates "launch links in private tab" functionality

* Fixes comments
2019-10-03 12:43:33 -07:00
Sawyer Blatz 2896b36d14
No issue: Updates naming of launch links privately var (#5701)
The previous name was pretty confusing
2019-10-02 12:11:21 -07:00
Sawyer Blatz 69c42b6192 For #5681: Sets OPEN_TO_BROWSER false when using new tab shortcut 2019-09-30 14:56:16 -07:00
Tiger Oakes 88aa519210 Closes #4711 - Extract VoiceSearchActivity (#5502) 2019-09-27 07:54:29 -07:00
Christian Sadilek c866ae1a1e Closes #5444: IntentReceiverActivity: Add tests for intent processing 2019-09-20 19:44:05 -04:00
Tiger Oakes 699eacab39 For #778 - Rename CustomTabActivity 2019-09-20 12:35:12 -07:00
Sawyer Blatz 6f3d7b4ee8 For #5396: Adds "always launch in private mode" to settings 2019-09-20 08:33:07 -07:00
Sawyer Blatz 2db2d9ceae For #1744: Adds tests for clipboard 2019-09-19 08:24:27 -07:00
Sawyer Blatz e1b84a7a08 For #5396: Reverts broken activity alias 2019-09-17 18:35:31 -07:00
Grisha Kruglov c2fb99a73f FxA WebChannels integration
This patch includes:
- WebChannels support enabled by default, with ability to disable it via remote flag
- expanded FxA telemetry (closes #4971)

Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
2019-09-16 19:44:13 -07:00
Yeon Taek Jeong 2e2bac4ccd
For #419: Create launch icon for private browsing (#4948) 2019-09-11 10:52:33 -07:00
Tiger Oakes b77c4d2e2e Clean up SupportUtils 2019-09-10 10:16:04 -07:00
Mihai Adrian a31eb1f371 Code Health #4883: Refactored accessing settings by using Context extensions (#4973) 2019-09-10 10:11:58 -07:00
Yeon Taek Jeong f5ffe3734c
For #4457: Adds telemetry for search widget actions (#4714) 2019-08-14 11:39:54 -07:00
Yeon Taek Jeong ec4d62c895 Fix ktlint 2019-08-07 19:17:56 -04:00
Yeon Taek Jeong 00bd26abe3 Remove task flags 2019-08-07 19:17:56 -04:00
Yeon Taek Jeong f952234c57 Keep CLEAR_TASK 2019-08-07 19:17:56 -04:00
Yeon Taek Jeong a8526a0606 For #4438: Fix crash when opening any URL from URL bar w/ long press 2019-08-07 19:17:56 -04:00
Yeon Taek Jeong 83ceec6289 For #201: Search Widget 2019-08-02 11:26:48 -07:00
Emily Kager 0773069dad For #3829 - Ignore Intents Launched From History 2019-07-31 17:07:54 -04:00
Emily Kager ec0bd85f6d For #4198 - Include Intent.ACTION_SEND to open to browser 2019-07-31 01:11:39 -04:00
Tiger Oakes 3c99c8540f Switch to new intent processors 2019-07-23 12:33:02 -04:00
Tiger Oakes ef8d9604ae No issue: Normalize license header comment (#3909) 2019-07-12 11:38:15 -07:00
ekager c6c9818751 For #3240 - Create AuthCustomTabActivity to fix dead end on auth 2019-07-10 12:23:01 -04:00
Colin Lee 7481d52c4b
For #3505: Opening a sent tab crashes Fenix (#3507) 2019-06-27 10:47:54 -05:00
Emily Kager de45dfd98a For #3131 - Add new task and clear task flags when opening intent (#3363) 2019-06-11 16:33:38 -05:00
Emily Kager 1c7f48be5b For #2214 - Use Settings + SharedPreferences for Private Mode (#2215)
* For #2214 - Use Settings + SharedPreferences for Private Mode

* Update other values to use SharedPreferences
2019-05-02 10:59:13 -05:00