Commit Graph

67 Commits

Author SHA1 Message Date
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
Pierre-Hugues Husson
c81442321e api-impl: stubs and fixes for latest WhatsApp version 2025-01-01 11:33:16 +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
b9272aa150 Window: fix some regressions caused by decorView
The window background is now set on the decorView and also
window.set_widget_as_root() must now be called manually.
2024-12-13 21:23:50 +00:00
Julian Winkler
c4d20b828e Window: directly attach the decorView 2024-12-02 22:03:26 +01:00
Julian Winkler
cb7805bb45 Window: implement getDecorView() properly
This is needed to fix the "ViewTreeLifecycleOwner not found" error in
composeUI.
2024-12-01 14:15:00 +00: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
Daniel Panero
5f6943fd81 Add backbutton 2024-11-17 23:37:10 +00:00
Kilian "CaféHaine" Guillaume
e5a6ee2b55 api-impl: add misc stubs for Open Sudoku 2024-11-14 19:50:26 +00:00
Julian Winkler
fc0091a989 use Activity title as window title 2024-11-03 08:26:11 +01:00
Daniel Panero
e541d87fc2 api-impl: misc stubs and fixes for Spotify 2024-11-02 17:03:53 +00:00
Julian Winkler
ade5e1f1ca Activity: set windowBackground on start
This overwrites the GTK window backgrounds and therefore makes theming
more consistent when GTK theme and Android theme doesn't match.
2024-10-23 16:35:58 +02:00
Markuss Broks
24fab49a1c api-impl: misc stubs 2024-10-14 19:59:38 +03: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