Commit Graph

128 Commits

Author SHA1 Message Date
Julian Winkler
4a4b4a4722 api-impl: misc stubs and fixes for several apps including F-Droid and AuroraStore 2025-03-25 23:34:56 +01:00
Julian Winkler
7b0341123b startActivityForResult(): add initial support for android.intent.action.INSTALL_PACKAGE
For now this just calls 'android-translation-layer --install' on the given
APK file. Which would then show the dynamic launcher portal.
2025-03-25 23:17:09 +01:00
Julian Winkler
4648dd3249 createMainActivity: prioritize Activities with category DEFAULT 2025-03-25 23:17:09 +01:00
Mis012
23feff7bbc Activity: remove old debug prints 2025-02-26 15:40:14 +01:00
Julian Winkler
b911d73eb3 Activity: HACK: catch errors in onCreateOptionsMenu()
This method throws some non critical errors in the Open Sudoku app.
Catch them for now until we fixed the root cause.
2025-02-24 18:47:56 +01:00
Mis012
453224cf31 api-impl: misc stubs and trivial impls 2025-02-15 21:42:21 +01:00
Julian Winkler
123de5f819 Dialog: some fixes for CTS
Most Dialog test still fail, because we don't handle KeyEvents
2025-02-13 07:01:17 +01:00
Julian Winkler
edffed5233 Service: extend ContextWrapper 2025-02-10 21:55:14 +01:00
Julian Winkler
c17af62a19 Activity: catch exceptions while setting window background 2025-02-10 21:55:14 +01:00
Julian Winkler
cd9f6f5b05 NotificationManager: fix crash when clicking update notification in NewPipe 2025-02-09 16:48:45 +01:00
Mis012
ab5b600bf1 run whitespace_format.py --add-new-line-marker-at-end-of-file --remove-trailing-whitespace --remove-trailing-empty-lines --new-line-marker=linux --normalize-non-standard-whitespace=remove on src/ 2025-02-05 16:27:17 +01:00
Julian Winkler
9c454accca make LayoutInflater instances persistent per Context
Also implement LayoutInfater.cloneInContext() and support mutipe View
factories at once.

This is needed, so that androidx can repace all normal Views with
appcompat Views, which is needed for proper tint color support.
2025-01-28 06:54:31 +01:00
Julian Winkler
98e7989ccb api-impl: fixes for apps using old support library 2025-01-13 14:17:40 +01:00
Julian Winkler
64c5ebe5b6 api-impl: misc stubs for K-9 Mail
This makes the non composeUI parts of K-9 Mail mostly functional.
2025-01-12 14:37:24 +01:00
Julian Winkler
57dd86fc98 api-impl: misc stubs for WhatsApp 2025-01-11 22:42:25 +01:00
Julian Winkler
1aba1c901d LayoutInflater: use onCreateView() method from Activity if provided 2025-01-11 22:42:25 +01:00
Julian Winkler
6be60574aa Activity.startActivityForResult(): use internalCreateActivity helper method 2025-01-11 22:42:25 +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
Julian Winkler
cd2c69cf73 reimplement Bitmap and Path using GdkTexture and GskPath
This allows us to use GskCanvas for Bitmap rendering

This increases the required GTK version to >= 4.14.
2024-12-22 12:30:29 +01:00
Julian Winkler
e8a08f3d28 implement HtcAlertDialog for Teeter 2024-12-22 10:24:55 +01:00
Julian Winkler
bf610d3504 implement Activity.isInMultiWindowMode() 2024-12-22 10:24:54 +01:00
Julian Winkler
0e078894ce make K-9 Mail launch 2024-12-16 17:54:15 +01:00
Julian Winkler
b087b82616 implement WallpaperManager.setBitmap() using XDG Portal 2024-12-13 22:32:04 +01:00
Julian Winkler
1398125eb5 api-impl: stubs and fixes for Compose Stopwatch and LibreSudoku 2024-12-13 22:32:02 +01:00