fix: make extension hooks fail safe and tidy Midas Settings, AssetLogger and Markdown helpers #114
No reviewers
Labels
No labels
area/architecture
area/build-ci
area/bytecode
area/code-quality
area/docs
area/extension
area/fingerprint
area/security
area/tests
Bug report
Feature request
review
sev/low
sev/medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
midas/midas-patches!114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "review/extension-safety"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #105, fixes #91, #98, #99 and #101.
overviewComponentFilterPatch, its fingerprint and the empty filter array.catch (Throwable)that logs and returns the app's original value (incl.filterFeedTeasers,SettingsMenuPatch.handleClick, Crashlytics/FIAM/onboarding hooks, Force HD, the settings launcher); pattern documented in AGENTS.md; redundantdependsOn(sharedExtensionPatch)removed wheremidasSettingsPatchalready brings it.isAppliedcaches only a successful read; a missing asset is cached as empty, other failures retry at most every 2 s; the reflective Application lookup is cached; DayNight theme only on API 29+; restart kills the process 300 ms afterfinish().GregorianCalendarinArticleDates(th_TH test);~~and entity-starting&escaped; no links in image alt text; cached resource ids; icon resource names cross-checked by a test.Verified: unit tests (all green),
buildAndroid, Applied on de Volkskrant 7.53.1 (13), Tubantia 9.22.0 (15), Videoland 1.115.2 (Hide ads, Force HD, Log video assets). Not verified: settings screen on API 26 and the Kubus icon tint in dark mode (device needed).🤖 Generated with Claude Code
Pull request closed