Commit Graph

116 Commits

Author SHA1 Message Date
Markuss Broks
24fab49a1c api-impl: misc stubs 2024-10-14 19:59:38 +03:00
Julian Winkler
d06b14933d delay Dialog.dismiss() by 10ms to work around NewPipe race condition 2024-10-07 11:55:33 +02:00
Julian Winkler
0d5150083a remove spacial handling for Activity.recreateActivity()
This prevents the onStart() method being called twice for the toplevel
Activity.
2024-10-07 11:55:33 +02: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
1b46d728e3 implement Activity.onPostCreate() and onPostResume()
These are used by androidx to handle the Fragment lifecycle
2024-10-05 22:45:17 +02:00
Julian Winkler
0627ae7e54 misc stubs for OctoDroid version 4.6.12 2024-10-04 23:51:30 +02:00
Julian Winkler
3d38ec9755 add Java APIs needed for WhatsApp settings 2024-10-03 15:57:44 +02:00
Julian Winkler
265ac895d3 call Activity.onActivityResult() directly
this method must be called before onResume()
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
e3c0931714 prevent reference cycles between Java and native objects 2024-08-02 17:02:53 +02: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
ef77bb287a NotificationManager: store Intents in HashMap
This is needed for Intents with extras, because Parcelable serialization is not yet implemented
2024-07-31 18:22:26 +02:00
Julian Winkler
71bb6d96bd implement Context.stopService() 2024-07-31 18:21:14 +02:00
Julian Winkler
7b11277287 AlertDialog: handle buttons 2024-07-31 11:10:45 +00:00
Julian Winkler
4ecd541c6c NotificationManager: implement cancel() for MPRIS notifications 2024-07-20 14:14:53 +02:00
Julian Winkler
9d27fc138b NotificationManager: handle non player part of MPRIS
This exposes the package name to MPRIS and allows to raise the
application to the front when clicking the MPRIS notification.
2024-07-17 22:43:16 +02:00
Julian Winkler
b54bed4784 implementing MediaSession using MPRIS
NotificationManager will now ignore MediaStyle notifications
2024-07-17 22:35:55 +02:00
Julian Winkler
bb50bbfa91 add lots of java APIs needed for Whatsapp 2024-06-16 08:45:31 +02:00
Mis012
81797c2667 api-impl: add misc stubs/impls 2024-06-13 21:00:06 +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
Nikita Travkin
e1f79dc3a9 android: Support Unity text input dialog 2024-05-19 14:20:00 +05:00
Mis012
30a9f66c4a api-impl: misc stubs for stupid ad stuff in SubwaySurfers 2024-04-26 18:11:29 +02:00
Mis012
341e39463a api-impl: copy GradientDrawable from AOSP, some stubs 2024-04-23 19:14:41 +02:00
Mis012
a1df6a43e5 api-impl: stubs to make OsmAnd allow OpenGL renderer
it doesn't render anything sadly
2024-04-14 21:48:19 +02:00