1
0
Fork 0
fenix/app/src/test/java/org/mozilla/fenix/home/intent
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
..
CrashReporterIntentProcessorTest.kt Optimized imports. Closes #5876 2019-10-10 04:17:43 +05:30
DeepLinkIntentProcessorTest.kt Optimized imports. Closes #5876 2019-10-10 04:17:43 +05:30
FennecBookmarkShortcutsIntentProcessorTest.kt For #4977: Migrate fennec shortcuts (#7251) 2020-01-07 09:07:51 -08:00
OpenBrowserIntentProcessorTest.kt Consolidate duplicate mock initialization in intent processor tests. (#6374) 2019-12-19 12:33:59 -05:00
SpeechProcessingIntentProcessorTest.kt Consolidate duplicate mock initialization in intent processor tests. (#6374) 2019-12-19 12:33:59 -05:00
StartSearchIntentProcessorTest.kt Consolidate duplicate mock initialization in intent processor tests. (#6374) 2019-12-19 12:33:59 -05:00