diff --git a/play-services-base-core/src/main/res/drawable/ic_foreground_notification.xml b/play-services-base-core/src/main/res/drawable/ic_foreground_notification.xml index ec4310fd..efa909af 100644 --- a/play-services-base-core/src/main/res/drawable/ic_foreground_notification.xml +++ b/play-services-base-core/src/main/res/drawable/ic_foreground_notification.xml @@ -1,13 +1,12 @@ - - - - - - + + + + + diff --git a/play-services-base-core/src/main/res/drawable/ic_microg.xml b/play-services-base-core/src/main/res/drawable/ic_microg.xml deleted file mode 100644 index dd607418..00000000 --- a/play-services-base-core/src/main/res/drawable/ic_microg.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/play-services-core/src/main/java/org/microg/gms/gcm/McsService.java b/play-services-core/src/main/java/org/microg/gms/gcm/McsService.java index 77973ba5..9e0da3ea 100644 --- a/play-services-core/src/main/java/org/microg/gms/gcm/McsService.java +++ b/play-services-core/src/main/java/org/microg/gms/gcm/McsService.java @@ -319,24 +319,10 @@ public class McsService extends Service implements Handler.Callback { return START_REDELIVER_INTENT; } - @RequiresApi(api = Build.VERSION_CODES.O) - private Notification buildForegroundNotification() { - NotificationChannel channel = new NotificationChannel("foreground-service", "Foreground Service", NotificationManager.IMPORTANCE_MIN); - channel.setLockscreenVisibility(Notification.VISIBILITY_SECRET); - channel.setShowBadge(false); - getSystemService(NotificationManager.class).createNotificationChannel(channel); - return new Notification.Builder(this, channel.getId()) - .setOngoing(true) - .setContentTitle("Running in background") - .setSmallIcon(R.drawable.ic_microg) - .build(); - } - private void handleSendMessage(Intent intent) { String messageId = intent.getStringExtra(EXTRA_MESSAGE_ID); String collapseKey = intent.getStringExtra(EXTRA_COLLAPSE_KEY); - Messenger messenger = intent.getParcelableExtra(EXTRA_MESSENGER); intent.removeExtra(EXTRA_MESSENGER); Parcelable app = intent.getParcelableExtra(EXTRA_APP); diff --git a/play-services-core/src/main/res/mipmap-hdpi/ic_launcher.png b/play-services-core/src/main/res/mipmap-hdpi/ic_launcher.png index 25d30bea..31758af3 100644 Binary files a/play-services-core/src/main/res/mipmap-hdpi/ic_launcher.png and b/play-services-core/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/play-services-core/src/main/res/mipmap-mdpi/ic_launcher.png b/play-services-core/src/main/res/mipmap-mdpi/ic_launcher.png index 16aa4cec..d1d0e6f2 100644 Binary files a/play-services-core/src/main/res/mipmap-mdpi/ic_launcher.png and b/play-services-core/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/play-services-core/src/main/res/mipmap-xhdpi/ic_launcher.png b/play-services-core/src/main/res/mipmap-xhdpi/ic_launcher.png index d364d9bc..6aec4d5a 100644 Binary files a/play-services-core/src/main/res/mipmap-xhdpi/ic_launcher.png and b/play-services-core/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/play-services-core/src/main/res/mipmap-xxhdpi/ic_launcher.png b/play-services-core/src/main/res/mipmap-xxhdpi/ic_launcher.png index 0e767f01..f8dedac2 100644 Binary files a/play-services-core/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/play-services-core/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/play-services-core/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/play-services-core/src/main/res/mipmap-xxxhdpi/ic_launcher.png index b686543e..efbb9ac4 100644 Binary files a/play-services-core/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/play-services-core/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ