Commit Graph

155 Commits

Author SHA1 Message Date
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
Daniel Panero
0efbee538a api-impl: Add DumpHeapProvider.java 2024-10-29 19:26:25 +00:00
Markuss Broks
24fab49a1c api-impl: misc stubs 2024-10-14 19:59:38 +03:00
Julian Winkler
a8ef5a533a implement passing a URI to open inside the application
Supported URI schemes will also be added to the .desktop file for --install

The URI is passed as named parameter --uri. This allows us to use unnamed parameters
for split APK apps in the future
2024-10-07 11:54:23 +02:00
Julian Winkler
f3092fd4bd implement file sharing by file descriptor
Using custom gdbus code, as libportal doesn't expose the raw
org.freedesktop.portal.OpenURI.OpenFile method.
2024-10-03 15:57:44 +02:00
Julian Winkler
c492e1f03f add Java APIs needed for WhatsApp MainActivity and ConversationActivity 2024-10-03 15:57:44 +02:00
Julian Winkler
e2e1f137bb implement ContentResolver
ContentUris.java and UriMatcher.java are copied from AOSP
2024-08-05 23:00:50 +02:00
Julian Winkler
9084dddf03 HACK: set loglevel for Whatsapps custom log implementation 2024-08-01 22:06:27 +02: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
50e8bcda22 copy Uri.java from AOSP 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
71bb6d96bd implement Context.stopService() 2024-07-31 18:21:14 +02:00