Commit Graph

29 Commits (f68c56a7602baf0eacd97650d9a65f0dacea7b99)

Author SHA1 Message Date
Michael Comella f19c9920f9 For #13959: move resetAfter into StrictModeManager.
In a followup PR, we need to add state to strictModeManager (the
number of suppressions). This is much simpler to do when this is defined
as a class rather than an object. However, when this is defined as a
class, `resetAfter` needs access to the strictModeManager. Instead of
passing it in as an argument, it made sense to move this function onto
the strictModeManager instead.

Since folks are used to calling:
```
StrictMode.ThreadPolicy.allowThreadDiskReads().resetAfter
```

We're going to have to add a lint check to prevent them from doing that.
4 years ago
Tiger Oakes ed3a80a756
For #12095: Remove TWA feature flag (#12096) 4 years ago
Sachin 36b1c710e7
for #11617 added a resetPoliciesAfter ext function for StrictMode, and replaced all existing calls to "resetAfter" with "resetPoliciesAfter" (#11619) 4 years ago
Sachin 74948cb3f1
for #7225, Changed strictMode thread penalty to dialog on startup and back to logs after startup is done. (#10831)
for #7225, refactored and cleanup the branch.

for #7225, change strict mode policy only on main process.

for #7225, setting thread policy inside a seperate thread to keep it from getting overridden in activities.

for #7225 removed Handler().postAtFrontOfQueue as a solution due to unknown side effects. moved the enableStrictMode function to be static so we can reuse it.

for #7225 lint check

for #7225 created strict mode manager and moved enabledStrictMode function inside it.

for #7225 removed penalty death on network

for #7225 added allow disk access on thread for already existing violation


strict mode running in main process to see if it passes the gitlab check, will revert it if it doesnt

allowed diskread for super.onCreate for home activity

added comments for disk violation oncreate homeactivity

added fragment manager inside strictmode manager

allowed disk read for onboarding

allowed disk read for cachedTopSites
4 years ago
ekager 28a6b1f9d5 For #10691 - Turn on LeakCanary by default for debug builds 4 years ago
Sebastian Kaspari 2a42c30c57 Issue #8277: Move foreground drawable from drawable-v26/ to drawable/ 4 years ago
Sebastian Kaspari 371db0777d Optimize PNGs. 4 years ago
Denys M 6290c0c826 Closes #2441. Update LeakCanary to `2.0-beta-3` version. 5 years ago
Tiger Oakes 6ec0d46f6b Closes #394 - Trusted Web Activities (#5391) 5 years ago
Yeon Taek Jeong 59e2c124cb No issue: Update long-press shortcut strings (#5284)
* No issue: Update long-press shortcut strings

* Updates identifiers
5 years ago
Sawyer Blatz 13146c2b2a Reverts #1151: Removes unused Flipper library 5 years ago
Yeon Taek Jeong b6f2e8da35 For #5296: Fix long-press shortcuts to work across build variants 5 years ago
Yeon Taek Jeong 2e2bac4ccd
For #419: Create launch icon for private browsing (#4948) 5 years ago
Tiger Oakes 8698ade699 Minify the fenix 5 years ago
Tiger Oakes ef8d9604ae No issue: Normalize license header comment (#3909) 5 years ago
Colin Lee 2feddc9bd6
No issue: Enable Strict Mode in Debug Builds (#4014) 5 years ago
kglazko 166218f74a Adding l10n screenshot tests for Fenix (#3562)
* Adding l10n screenshot tests for Fenix

* fixing comments

* fix klint and detekt error and adding all tests

* better test name and doc added explaining tests
5 years ago
ekager 033eac00e3 No issue: Adds mischievous Fenix debug launcher 5 years ago
Tiger Oakes 2e0a0ab65a Fix round icon (#3353) 5 years ago
Tiger Oakes 64229f6f34 Minify launcher icon (#3309) 5 years ago
Sawyer Blatz 91338bd204
For #1970: Fixes Firefox Preview icon for older devices (#2005) 5 years ago
Sawyer Blatz 334a3dc672
For #1714: Updates product to Firefox Preview (#1907) 5 years ago
Colin Lee 0acf8698ef Closes #1151: As a developer, Flipper integration might help me with debugging 5 years ago
Jeff Boek 3f86764a3a Fixes #1041 - Disables telemetry when the toggle is off 5 years ago
Colin Lee b9aee25edd Fixes #675: Integrate Adjust SDK (for Greenfield flavor) 5 years ago
Colin Lee 2979c61868 Default to LeakCanary being off 5 years ago
Colin Lee ff96362551 Fixes #488: LeakCanary crash 5 years ago
Colin Lee 2bc769190e Fixes #401: Resolve known leak and install LeakCanary 5 years ago
Sebastian Kaspari 171da63eb2 Add color-shifted debug icon. 5 years ago