Commit Graph

113 Commits

Author SHA1 Message Date
Mis012
b1d4a69c6b Activity: implement getTitle/setTitle
also set the title from AndroidManifest.xml
this is used by some androidx AppCompat widgets
2024-04-07 21:42:42 +02:00
Markuss Broks
1b1f026e76 implement android.app.ApplicationErrorReport 2024-04-01 19:41:06 +00:00
Markuss Broks
ad4de8edc4 ActivityManager: add a stub for MemoryInfo 2024-04-01 19:41:06 +00:00
Julian Winkler
50fa760c63 NoitficationManager: implement cancel 2024-03-18 23:12:04 +01:00
Julian Winkler
cdcc3411aa NotificationManager: delete ongoing and MediaStyle notifications on exit
The XDG Portal API doesn't have a concept of ongoing notifications.

MediaStyle notifications could be changed to MPRIS in the future.
2024-03-18 15:41:44 +01:00
Julian Winkler
acb00a8beb NotificationManager: add support for icons 2024-03-18 14:37:56 +01:00
Julian Winkler
45de09a191 notification support using libportal 2024-03-18 07:26:25 +01:00
Julian Winkler
6513195b9e implement file chooser using GtkFileChooserNative 2024-03-17 22:39:13 +01:00
Julian Winkler
276b5ca7ef add more APIs needed for NewPipe 2024-03-17 20:02:50 +01:00
Mis012
7207587b2f add some stubs, borrow ListActivity and SimpleAdapter from AOSP 2024-03-07 15:47:10 +01:00
Mis012
ecaf968da1 treat application/activity names in AndroidManifest.xml as dot-prefixed when they don't contain any dots 2024-03-07 15:44:21 +01:00
Mis012
6d587a19e5 misc stuff to make glmark2 run 2024-03-05 17:07:21 +01:00
Mis012
da0971e88f Activity: implement Activity.recreate 2024-02-19 16:29:09 +01:00
Julian Winkler
5dfadc9c59 Add some more methods needed by NewPipe. Mostly stubs 2024-02-18 10:08:43 +01:00
Julian Winkler
a2eaaeb7d7 add Activity.getParentActivityIntent() method
This makes the back button in androidx apps working
2024-02-16 20:48:10 +01:00
Julian Winkler
bc8443e542 Dialog: add dismiss(), hide() and onCreate() methods 2024-02-16 15:28:04 +01:00
Julian Winkler
d253bfd24f findViewById(): only search among child views
also set default content view in Window
2024-02-16 15:28:04 +01:00
Julian Winkler
d2f28a5b21 add some methods needed for androidx dialogs 2024-02-16 15:28:04 +01:00
Mis012
056b911637 handle 'SEND' intent by copying to clipboard, make Activity subclass ContextWrapper, code style fixes 2024-02-10 20:58:38 +01:00
Julian Winkler
aa56f3fb81 Add some methods needed for androidx preferences 2024-02-10 10:28:48 +01:00
Mis012
0b0cfed345 misc: fix stuff up to make SDL example work again
it still behaves weirdly, should probably find some
other example since I don't trust my own code.
2023-10-29 22:48:02 +01:00
Julian Winkler
b88707592a add more stubs to make exoplayer not crash 2023-10-14 18:29:33 +02:00
Julian Winkler
2013024971 Context: implement startService() and bindService() 2023-10-14 18:29:33 +02:00
Julian Winkler
299a474aa0 move startActivity function to Context class
This way it can also be called on Application Context
2023-10-14 18:29:33 +02:00
Julian Winkler
f5fc993484 add APIs needed for non legacy NewPipe version 2023-10-14 18:29:33 +02:00