Commit Graph

140 Commits (af233106794ff2b809f37f8deaf445e4cf1fb2d7)

Author SHA1 Message Date
Christian Sadilek e76445b299 Refactor WebAppSiteControlsBuilder to use browser store 3 years ago
Sebastian Kaspari 28c105dcb3 Remove SessionManager dependency from CustomTabsIntegration. 3 years ago
mcarare 278ed658b6 For #17635: Check if id corresponds to a custom tab before removing it. 3 years ago
Sebastian Kaspari 023ddcc131 Refactor ExternalAppBrowserActivity and ExternalAppBrowserFragment to not use Session(Manager). 3 years ago
MickeyMoz d945cdc4c8 Update Android Components version to 71.0.20210117143132. 3 years ago
Sebastian Kaspari 0035417616 Add unit tests for FennecWebAppIntentProcessor. 3 years ago
Arturo Mejia 00d971e9d3 For #16847: Allow autoplay to controlled via the toolbar. 3 years ago
mcarare d110464a91 For #17117: Use proper custom tab session for custom tab toolbar menu. 3 years ago
ekager d3e1045ab9 For #17165 - Use application context to get notification localized strings 3 years ago
Christian Sadilek faf765a57d Update IntentProcessors after breaking API change 4 years ago
Christian Sadilek d1345e8f93 Closes #11290: Refactor ToolbarMenu to use browser store 4 years ago
Sebastian Kaspari 2cada405d8 Update Android Components to 69.0.20201207103252. 4 years ago
Sebastian Kaspari 57ebc0cb99 ExternalAppBrowserActivity: Add additional test cases. 4 years ago
Sebastian Kaspari 776b64f959 Issue #16435: Finish ExternalAppBrowserActivity and remove task if linked tab doesn't exist anymore.
This doesn't fix the underlying issue of #16435, but a symptom we have seen quite often in different
situations: When the ExternalAppBrowserActivity is not linked to a tab anymore then it falls back
to displaying a (partially broken) browser UI. With multiple browser activities at the same time
sooner or later we crash with a "display already acquired" error because both activities try to
render the same tab.
4 years ago
Christian Sadilek 0fbc8410a4 Closes #16430: ExternalAppBrowserActivity should not handle incoming intents 4 years ago
Christian Sadilek 4abd399002 Closes #16327: Refactor MenuPresenter to use browser store 4 years ago
MarcLeclair 7b1af41b40
15278 detekt rule runblocking (#15942)
* For #15278: added CoroutineManager to count runBlocking calls

* For #15278: Added actual detekt rule for runblocking and its config to the yaml

* For #15278: Added unit test for RunblockingCounter

* For #15278: renamed StrictModeStartupSuppressionCountTest.kt to PerformanceStartupTest.kt and added runBlockingCount test

* Lint fix

* For #15278: made runblocking a Long to prevent overflow

* For #15278: fixed MozRunblocking name, description and moved RunBlockingCounter to perf package

* For #15278:Renamed MozillaRunblockingCheck to MozillaRunBlockingCheck

* For #15278: Added setup for unit test, since it failed without restting counter

* For #15278: Fixed naming for RunBlocking lint check

* For #15278: removed changes made to test to use runBlockingIncrement

* For #15728: added test exclusion for runBlocking check

* For #15278: changed null check and added Synchronized to count setter

* For #15278: fix for nits

* For #15278: added StartupExcessiveResourceUseTest to CODEOWNERS

* For #15278: fixed for nits

* For #15278: Moved increment function to extension function and fixed indentation

* For #15278: Added tests for Atomic Integer extension and nit fix
4 years ago
Sebastian Kaspari 0d97862824 FennecWebAppIntentProcessor: Catch JSONException. 4 years ago
ekager 4d348dd26a Fixes existing lint errors 4 years ago
ekager cbe293d3e4 For #12062 - Launch back to browser if we previoulsy had tabs 4 years ago
Michael Comella 4179ab05bb For #10069 - review: clarify init time for External...Activity. 4 years ago
sraturi 8f16f9cb37 for #10069 added AppLaunchTimeMeasurement.kt to handle logic of startup time for cold, warm, and hot startup types. 4 years ago
ekager e162aefbc6 For #15245 - Remove margin for toolbar on toolbar-less PWA 4 years ago
Sebastian Kaspari ee3384ac52 Issue #14225: Remove task when finishing ExternalAppBrowserActivity. 4 years ago
Tiger Oakes 9777b8fad6
FNX-14661 ⁃ Delete drawables (#13481)
* Delete unused drawabled

Mostly leftovers from quick action bar

* Remove duplicate drawables using tints
4 years ago
Sachin 316b70940f
for #12573, added startup type and hasSavedInstance keys to app_startup_type telemetry (#13494) 4 years ago
Tiger Oakes 0b333fe48a For #9056: Search from custom tab 4 years ago
Tiger Oakes a48c05a359 Fix breaking AC change to support monochrome icons 4 years ago
Tiger Oakes c7611b529c For #13357: Validate PWA manifest folder 4 years ago
Kainalu Hagiwara 09473b991d For #12926 - Add back button to menu. 4 years ago
Elise Richards 3e8cab19c0
For #10261: PWA Telemetry (#11859)
* Add PWA events to metrics.

Track events for add to homescreen and install.

Map PWA facts to events

* Map component facts to local metrics

Add events pings to fragments

Supress long method for events

Move install event to AC and collect facts

Retrieve fg and bg events from Facts. Do not track intent fg/bg events, only views

* Allow onPause in base fragment to send telemetry for PWA in the external app fragment. Track foreground and bg locally in fenix, and route install and home screen taps from AC facts

* Rebase
4 years ago
sraturi 537d95c04d for #11830 created class containing the logic for sending AllStartup telemetry logic
lint check

renamed the intentReceived telemetry to appOpenedAllSource

added comments

removed unused code

moved lifecycle process to AppAllSourceStartTelemetry

moved tracking event out of init function

lint fix

moved appAllStartTelemetry to components

added bit more info about the metrics

added the  onReceivedIntent metric back

minor fix

change discriptions based on the comments frm MR

wrote test cases for AppAllSourceStartTelemetry.kt

lint fix

test case to mock application going background

post rebase:

post rebase:

fixed nit from comments

fixed nit from comments

fixed nit from comments

lint fix

lint fix
4 years ago
Jeff Boek 46f010f247 For #2681 - Adds ability to bypass cache when reloading 4 years ago
Kainalu Hagiwara 921b16233b For #1048 - Add ability to view tab history by long-pressing the back or forward button. 4 years ago
Christian Sadilek 16b6776938 Update Android Components to 51.0.20200717190031 4 years ago
MickeyMoz da39a7e671 Update Android Components version to 49.0.20200705130154. 4 years ago
Tiger Oakes ed334788e8 For #11903: Enforce private theme in custom tabs 4 years ago
Sachin 4b9cc954fa
for #11830 added new metric for collecting startup method from all startup phases (#11940)
* for #11830 added new metric for collecting startup method

move all source startup telemetry into its own logic and added an UNKOWN state

* switched back to onNewIntent solution

* renamed the metric
4 years ago
Jonathan Almeida b7d989a588 Fix breaking API in WebNotificationFeature 4 years ago
Marc Leclair ff5d00362b Added A-C version 48.0.20200626213814 4 years ago
Tiger Oakes c958cc048a Update customtabs service 4 years ago
Tiger Oakes 183ba1bce0 For #11903: fix custom tab private gradient 4 years ago
ValentinTimisica e9bb11e22d Fixes #9205: Changes add-ons and 'Open links in apps' icons from menus 4 years ago
ekager df63c5a4bc For #11708 - Remove setMargins in CustomTabsIntegration 4 years ago
Tiger Oakes 704fc6f983 Use updated webapphidetoolbarfeature 4 years ago
Tiger Oakes 31edbc924c
Fixes #9056 - Start Fenix activity on search in external app (#10932) 4 years ago
Sawyer Blatz 27c7ef5ad4 For #8775: Removes feature flag for dynamic bottom toolbar 4 years ago
Roger Yang 538a7917e4
Closes #10906: Add Open in app option in custom tab (#10929) 4 years ago
Chenxia Liu 390c5a0189 Issue #7996: fix lint issues 4 years ago
Jovan Gerodetti 4a12f1b6aa For #7996: Private mode doesn't play nicely with sites added to home screen
Site Controls Notification should reflect the browsing mode of the
currernt web app session.
4 years ago