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
Mis012
df074bd2b4
api-impl: add misc stubs/impls
2024-06-22 14:22:37 +02:00
Mis012
92e2c06347
make sure the apk path is reliably set in the PackageInfo
2024-06-19 22:35:50 +02:00
Julian Winkler
bb50bbfa91
add lots of java APIs needed for Whatsapp
2024-06-16 08:45:31 +02:00
Julian Winkler
2a10196bc5
Context: cache SharedPreferences
...
OsmAnd renderer reads SharedPreferences for every frame. Use cached
objects instead of reading it from disk every time
2024-06-15 00:01:51 +02:00
Mis012
795c76f144
android/content/Context: misc cleanup
2024-06-13 20:54:21 +02:00
Mis012
4fd7e2cbb1
AssetManager: fix up AssetInputStream
2024-06-13 20:37:35 +02:00
Julian Winkler
2efa545e73
fix application_info.dataDir getting overwritten by PackageParser
2024-06-13 20:07:10 +02:00
Mis012
fee9302e17
api-impl: fix uses of dummy aux Drawable class
2024-06-13 12:15:50 +02:00
Julian Winkler
931497689c
add Intent.getParcelableArrayListExtra()
2024-06-12 23:04:54 +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
Mis012
92bb75d19f
AssetManager: fix open and openNonAsset not throwing exception on error
2024-05-27 14:01:43 +02:00
Julian Winkler
71717edc58
AssetManager: fix Asset XML file not found error on 32bit
...
The xmlBlock variable is now a pointer with the recent changes.
So, we shouldn't compare it with >= 0.
The error went unnoticed, because it was only tested on 64bit until now
2024-05-26 16:20:48 +02:00