Commit Graph

650 Commits

Author SHA1 Message Date
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
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
Julian Winkler
e7318f0757 fixes for NewPipe version 0.28.0 2025-09-01 23:43:00 +02:00
Mis012
ebd16f01dc main-executable: extract native libs before instantiating the Application class 2025-08-03 18:53:23 +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
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
Julian Winkler
a57da8fcb5 android.animation: prevent NullPointerExceptions 2025-07-14 12:38:13 +00:00
Julian Winkler
b7843665ef handle drag-and-drop events as ACTION_SEND Intents 2025-07-14 12:25:04 +02:00
Julian Winkler
4ec150c802 separate Intent serialization and action handling out of the NotificationManager
This way, the mechanism can in the future also be used to send Intents
from one app to another.
2025-07-08 23:07:42 +02:00
Julian Winkler
3708cc990e NotificationManager: use GIO instead of libportal
GIO's notification implementation makes the code more readable and has
the advantage of supporting multiple notification specifications.

By default we will now use freedesktop notifications when running
without `.desktop` file and XDG-portal notifications when running
with `.desktop` file.

To prevent dynamic notification updates from arriving in wrong order at
the desktop environment, we need to manually queue them up and make sure
that there is at least 200ms delay between updates.
2025-07-07 22:38:10 +02:00
Mis012
2a0c6cd455 main-executable: handle drawable-based app icons by rendering them into SVG 2025-06-21 01:23:09 +02:00
Mis012
1c83948b15 VectorDrawable: add an override to avoid intermediate rasterization
This matters for statically converting drawables into SVG,
which is necessary for drawable-based app icons.
2025-06-21 01:15:51 +02:00
Mis012
c90d685e6f PackageManager: hasSystemFeature: report that we support full multitouch 2025-06-10 00:59:37 +02:00
Mis012
55f57ebb2b GridLayout: borrow from AOSP master (commit: 1cdfff555f4a21f71ccc978290e2e212e2f8b168) 2025-06-10 00:59:37 +02:00
Mis012
65a7e34871 Path: add arcTo and addArc, minor cleanup 2025-06-10 00:48:41 +02:00
Mis012
6f627f7332 GLSurfaceView: add a hack to make OsmAnd work 2025-06-08 13:52:52 +02:00