Commit Graph

167 Commits

Author SHA1 Message Date
Julian Winkler
99c1e1ee94 fix ContentResolver.openFileDescriptor() for file:// URIs
new File() needs to be called with a path not a URI
2025-01-12 09:57:56 +01:00
Julian Winkler
b22001adbf TypedArray: revert getColor hack 2025-01-11 23:23:53 +01:00
Julian Winkler
dfa1662033 Theme.obtainStyledAttributes() set theme of returned TypedArray
This is needed to infalte ColorStateLists properly
2025-01-11 23:23:53 +01:00
Julian Winkler
7700d8bf11 replace VectorDrawable with AOSP implementation from Android 6
This way, we can avoid librsvg which causes stack overflows on
Alpine/postmarketOS, because of musl's limited stack size.
2025-01-11 23:23:53 +01:00
Julian Winkler
57dd86fc98 api-impl: misc stubs for WhatsApp 2025-01-11 22:42:25 +01:00
Julian Winkler
54aaa42d86 ViewGroup: prevent NotFoundException caused by log message 2025-01-11 22:42:25 +01:00
Mis012
7aea3a6920 PackageParser: fix use-after-release 2025-01-02 22:40:26 +01:00
Mis012
279c95becb borrow relevant parts of AOSP commit dbee9bb342cdfaa5155b1918f90262c05e2464cb
Our SVG-based VectorDrawable implementation still relies on `getDefaultColor`
but exceptions are no longer thrown when parsing VectorDrawable xml files
which use gradients as colors.
2025-01-02 22:25:13 +01:00
Mis012
7d59407138 AssetManager: implement resolveAttrs 2025-01-02 22:18:45 +01:00
Pierre-Hugues Husson
c81442321e api-impl: stubs and fixes for latest WhatsApp version 2025-01-01 11:33:16 +01:00
Mis012
060ea72f94 AssetManager: use AndroidManifest.xml to identify apks
resources.arsc may be missing in rare cases
2024-12-20 00:12:01 +01:00
Julian Winkler
0e078894ce make K-9 Mail launch 2024-12-16 17:54:15 +01:00
Julian Winkler
1398125eb5 api-impl: stubs and fixes for Compose Stopwatch and LibreSudoku 2024-12-13 22:32:02 +01:00
Julian Winkler
e9cf5e7002 API stubs and fixes for composeUI 2024-12-01 14:15:00 +00:00
Mis012
d5bc4ea9a6 implement instrumentation 2024-11-30 18:57:03 +01:00
Mis012
0803848c6d api-impl: misc stubs/additions 2024-11-30 18:54:53 +01:00
Julian Winkler
f53ad02e6f api-impl: misc additions for Oeffi 2024-11-24 22:11:40 +00:00
Kilian "CaféHaine" Guillaume
44d922baea api-impl: stubs and fixes for Open Sudoku 2024-11-20 23:09:53 +01:00
Daniel Panero
f48fce5932 api-impl: misc stubs and fixes for Spotify II 2024-11-17 17:40:06 +00:00
Christian Stadelmann
c6be36f553 Context: Fix typo 2024-11-14 19:52:14 +00:00
Mis012
ab114245bd ContentProvider: wrap in try/catch
Errors thrown here shouldn't be fatal, the app will often work just fine
without any ContentProviders (especially a mostly-native app probably
only uses them for ads)
2024-11-09 16:30:29 +01:00
Daniel Panero
e541d87fc2 api-impl: misc stubs and fixes for Spotify 2024-11-02 17:03:53 +00:00
Julian Winkler
acdd3c88cc AssetManager: fix resource loading if APK path contains spaces
Spaces will get encoded to %20 by the ClassLoader. We need to decode
them again to get the original path.
2024-11-01 17:49:20 +01:00
Julian Winkler
b413f67932 implement ContentProvider.attachInfo() callback
This fixes a crash in NewPipes DownloadActivity
2024-10-31 16:41:46 +01:00
Mattéo Axelle
f5674faa4a PackageManager: always grant com.google.android.c2dm.permission.SEND 2024-10-31 13:18:38 +00:00