Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ce2ce16 authored by Garvit Narang's avatar Garvit Narang
Browse files

Annotate NotificationManagerInternal with @Keep

This prevents removal of the class upon build time for other system
services to use.

Bug: 283030212
Test: build
Flag: EXEMPT trivial
Change-Id: I272beb6791fe081ace857b9819d0237b7698ede1
parent 13186b0a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -22,8 +22,11 @@ import android.app.NotificationChannelGroup;
import android.app.backup.BackupRestoreEventLogger;
import android.service.notification.DeviceEffectsApplier;

import com.android.internal.annotations.Keep;

import java.util.Set;

@Keep
public interface NotificationManagerInternal {
    NotificationChannel getNotificationChannel(String pkg, int uid, String channelId);
    NotificationChannelGroup getNotificationChannelGroup(String pkg, int uid, String channelId);