diff --git a/play-services-core/src/main/java/org/microg/gms/common/StatusNotification.java b/play-services-core/src/main/java/org/microg/gms/common/StatusNotification.java index 3dfa0a06..c0d916c4 100644 --- a/play-services-core/src/main/java/org/microg/gms/common/StatusNotification.java +++ b/play-services-core/src/main/java/org/microg/gms/common/StatusNotification.java @@ -1,5 +1,6 @@ package org.microg.gms.common; +import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; @@ -74,9 +75,9 @@ public class StatusNotification { .setOngoing(true) .setContentIntent(pendingIntent) .setSmallIcon(R.drawable.ic_foreground_notification) - .setSubText(context.getResources().getString(R.string.notification_service_title)) - .setContentTitle(context.getResources().getString(R.string.notification_service_content)) - .setContentText(context.getResources().getString(R.string.notification_service_subcontent)); + .setStyle(new NotificationCompat.BigTextStyle() + .setBigContentTitle(context.getResources().getString(R.string.notification_service_title)) + .bigText(context.getResources().getString(R.string.notification_service_content))); NotificationManager manager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); manager.notify(notificationID, notification.build()); diff --git a/play-services-core/src/main/res/values-in/strings.xml b/play-services-core/src/main/res/values-in/strings.xml index 1700413c..480f3735 100644 --- a/play-services-core/src/main/res/values-in/strings.xml +++ b/play-services-core/src/main/res/values-in/strings.xml @@ -6,8 +6,7 @@ Pengecualian Menghemat Baterai Kecualikan microG dari menghemat baterai - Untuk menghapus notifikasi ini tutup Vanced - aplikasi dari pengelola tugas lalu buka ulang + Untuk menghapus notifikasi ini tutup Vanced aplikasi dari pengelola tugas lalu buka ulang Tunggu sebentar… Dengan melanjutkan, anda mengizinkan aplikasi ini dan Google untuk menggunakan informasi anda sesuai dengan persyaratan layanan masing-masing dan kebijakan privasi. diff --git a/play-services-core/src/main/res/values-it/strings.xml b/play-services-core/src/main/res/values-it/strings.xml index 56047c51..76d24bda 100755 --- a/play-services-core/src/main/res/values-it/strings.xml +++ b/play-services-core/src/main/res/values-it/strings.xml @@ -6,8 +6,7 @@ Esclusione Risparmio Energetico Escludi i microg dal risparmio energetico - Per rimuovere questa notifica chiudi l\'app Vanced - dalla lista delle app in secondo piano e riaprila + Per rimuovere questa notifica chiudi l\'app Vanced dalla lista delle app in secondo piano e riaprila Solo un secondo… Continuando, consentirai a quest\'app e a Google di utilizzare le tue informazioni in conformità con i rispettivi termini di servizio e politiche sulla riservatezza. diff --git a/play-services-core/src/main/res/values/strings.xml b/play-services-core/src/main/res/values/strings.xml index 18067b6b..3682a888 100755 --- a/play-services-core/src/main/res/values/strings.xml +++ b/play-services-core/src/main/res/values/strings.xml @@ -20,8 +20,7 @@ Battery Saving Exclusion Exclude microG from battery saving - To remove this notification close Vanced - app from task manager and reopen it + To remove this notification close Vanced app from task manager and reopen it Just a sec… By continuing, you allow this app and Google to use your information in accordance with their respective terms of service and privacy policies.