Commit Graph

937 Commits

Author SHA1 Message Date
Julian Winkler
c60f8e3850 implement AlarmManager and JobScheduler
This is needed for the bootstrap job when setting up WhatsApp in
companion device mode.

The implementation is based on `Handler.postDelayed()`, so jobs and
alarms are not persistent for now.
2025-10-04 13:05:00 +02:00
Julian Winkler
a09aa53ecf api-impl: stubs and fixes for Breezy Weather 2025-10-01 22:59:22 +02:00
Julian Winkler
ffbd63cb75 Build.md: recommend users to build WolfSSL with --enable-sessioncerts needed for cert pinning
Also recommend latest WolfSSL release
2025-10-01 10:43:58 +00:00
Julian Winkler
2269a400ad Try to start all external Services over DBus
No need to hardcode this only for Cloud Messaging
2025-10-01 12:07:42 +02:00
Julian Winkler
f7a29d8731 implement Google Cloud Messaging using DBus activatable GActions
This needs https://gitlab.com/android_translation_layer/gcm_service running in the
background.
For D-Bus activation, a D-Bus service file needs to be manually
installed under ~/.local/share/dbus-1/services.

Tested with FCM-Toolbox app.
2025-10-01 12:07:42 +02:00
Jan Tojnar
9de9158699 build: Get bootclasspath from pkg-config
Now that we require art-standalone to be found using pkg-config,
we can use it to get its libdir path.
2025-09-14 12:22:07 +02:00
Julian Winkler
cf93a172b9 Service.stopForeground(): actually cancel the notification 2025-09-03 19:25:59 +02:00
Julian Winkler
996c52394c DateUtils.formatElapsedTime(): fixup previous change
The function actually gets seconds, not milliseconds. So the
implementation was already correct before the recent change.
Just the argument naming was wrong.
2025-09-03 19:25:40 +02:00
Jonas Heinrich
a24ab435a8 meson: use pkg-config from art-standalone instead of manual library search
Replace manual cc.find_library() calls for libart, libnativebridge, and
libandroidfw with a single pkg-config dependency on art-standalone.

This simplifies the build, removes hardcoded library paths, and allows
android-translation-layer to automatically pick up the correct ART
libraries provided by the art-standalone package.
2025-09-03 13:07:58 +02:00
Julian Winkler
e7318f0757 fixes for NewPipe version 0.28.0 2025-09-01 23:43:00 +02:00
Mis012
d52985a6df AssetManager: convert missed Java_android_content_res_AssetManager_list to use libandroidfw
It was broken since the conversion because we no longer extract assets.
2025-08-06 21:09:26 +02:00
Mis012
ebd16f01dc main-executable: extract native libs before instantiating the Application class 2025-08-03 18:53:23 +02:00
Julian Winkler
53def20d4d main.c: run update-desktop-database on --install
Running update-desktop-database is required to update ~/.local/share/applications/mimeinfo.cache.
2025-07-28 23:27:47 +02:00
Julian Winkler
942299fbd5 add Editable.insert() 2025-07-28 22:27:50 +02:00
Julian Winkler
2ca1106399 make AppWidgetProvider not abstract 2025-07-28 22:27:50 +02:00
Julian Winkler
a9f68c976b startActivity(): implement Intent.FLAG_ACTIVITY_CLEAR_TOP 2025-07-28 22:27:50 +02:00
Julian Winkler
9e27cccc0d View.c: remove some uneccesary allocations which confuse composeUI apps 2025-07-28 22:27:50 +02:00
Julian Winkler
7366475172 main.c: support URI opening over DBus 2025-07-28 22:27:50 +02:00
Julian Winkler
e5a6ef7251 AndroidLayout: ignore mesaure and allocate calls during drawing phase 2025-07-28 22:27:50 +02:00
Julian Winkler
710fc5b04e mock existence of a web browser application 2025-07-28 22:27:45 +02:00
Julian Winkler
828f779c4f AndroidKeyStore: replace System.out.println() with Slog.i() 2025-07-14 16:32:28 +02:00
Julian Winkler
6e6e9a3be8 api-impl: misc fixes and additions to make Telegram launch 2025-07-14 16:32:28 +02:00
Julian Winkler
3484c344c3 Activity.createMainActivity(): handle <activity-alias> tags properly 2025-07-14 16:32:28 +02:00
Julian Winkler
bf5eb099bd api-impl: misc additions for different apps 2025-07-14 16:32:28 +02:00
Julian Winkler
d898966e04 add KeyGenerator for AndroidKeyStore 2025-07-14 12:38:13 +00:00