Commit Graph

27 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
1cf48085ff api-impl: add misc APIs needed for AntennaPod 2025-02-10 21:55:27 +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
62c964e8bd implement PackageManager.getLaunchIntentForPackage()
fixes a crash after importing a NewPipe backup
2025-01-12 09:59:23 +01:00
Julian Winkler
0e078894ce make K-9 Mail launch 2024-12-16 17:54:15 +01:00
Julian Winkler
e9cf5e7002 API stubs and fixes for composeUI 2024-12-01 14:15:00 +00:00
Mattéo Axelle
f5674faa4a PackageManager: always grant com.google.android.c2dm.permission.SEND 2024-10-31 13:18:38 +00:00
Julian Winkler
a8ba2f797a PackageManager.GET_SIGNATURES use real apk signature instead of dummy
WhatsApp needs its own signature to generate a valid authentication token
2024-08-01 19:57:12 +00:00
Julian Winkler
3c5a21357d multiple additions and fixes for the Java APIs
Stuff needed for WhatsApp support
2024-08-01 19:57:12 +00:00
Julian Winkler
4ed3fbd385 implement PackageParser.getResourcesForApplication()
This method is needed for the FlowerFinder test APK
2024-07-31 18:21:14 +02:00
Julian Winkler
bb50bbfa91 add lots of java APIs needed for Whatsapp 2024-06-16 08:45:31 +02:00
Mis012
fee9302e17 api-impl: fix uses of dummy aux Drawable class 2024-06-13 12:15:50 +02:00
Julian Winkler
b15bf203a7 remove custom AndroidManifest.xml parsing and instead use PackageParser
This has the advantage, that AndroidManifest.xml is only parsed once.
2024-06-12 23:03:20 +02:00
Julian Winkler
778d19f268 remove remaining dependencies on ARSClib 2024-05-23 23:30:03 +02:00
Julian Winkler
2f4cd3917f implement some APIs needed for OctoDroid 2024-04-09 18:19:13 +02:00
Julian Winkler
e0b3975eb7 implement PackageManager.resolveContentProvider() 2024-03-22 21:02:22 +01:00
Mis012
4a0755c6e0 api-impl{-jni}: make view.onTouchEvent work, misc stuff to make input work for Unity games
onTouchEvent was previously incorrectly handled in GLSurfaceView; move it
to View so that it works properly with any of it's descendants.

This is done by reusing the existing setOnTouchListener implementation
and changing it to use GtkEventControllerLegacy which provides motion
events.

Technically some of the code is in WrapperWidget.c since every widget
calls wrapper_widget_set_jobject and we already have related code
there.
2023-10-17 21:33:59 +02:00
Julian Winkler
b88707592a add more stubs to make exoplayer not crash 2023-10-14 18:29:33 +02:00
Julian Winkler
55a1ff2cc5 create ContentProvider from AndroidManifest.xml
This is required for androidx startup library.
Only onCreate method is called for now.
2023-10-14 18:29:33 +02:00
Mis012
1b33acb658 api-impl/android/content: implement metadata bundle in PackageInfo 2023-10-08 22:33:14 +02:00
Julian Winkler
b35cbea099 implement URL opening using libportal 2023-09-01 16:05:26 +02:00
Julian Winkler
82744e9e5e add bunch of new java APIs: mostly stubs or copied from AOSP
Many of these classes are only needed to be subclassed by androidx
support library, which is used in many android apps
2023-08-22 15:53:09 +02:00
Mis012
0a9591c474 src/api-impl: fix up code style, mainly for code imported from AOSP
used the following (plus manual edits):
`clang-format --style="{BasedOnStyle: LLVM, IndentWidth: 8, UseTab: Always, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: true, ColumnLimit: 0}`
2023-06-22 11:45:46 +02:00
Julian Winkler
0454dcbfd5 stub some APIs for Flappy Bird, mostly webview related 2023-06-18 11:28:40 +02:00
Mis012
2e4590c4d8 src/api-impl: misc stubbing 2022-12-31 17:17:10 +01:00