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

Commit 17df8b75 authored by Matías Hernández's avatar Matías Hernández Committed by Markus S
Browse files

Delete updateNotificationChannelGroupFromPrivilegedListener

This is an unpublished (AIDL only) method and was never used from NLS (or anywhere else).

Bug: 426205822
Test: build
Flag: EXEMPT Code deletion
(cherry picked from commit 6077349a)
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:2beec978b8d1f63843fd07e478170925e1bd9f3a
Merged-In: I65438b1af637f3ba9b75a85f780bdb7867cc4ba8
Change-Id: I65438b1af637f3ba9b75a85f780bdb7867cc4ba8
parent 55d8ed1e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -121,7 +121,6 @@ interface INotificationManager
    void setOnNotificationPostedTrimFromListener(in INotificationListener token, int trim);
    void setInterruptionFilter(String pkg, int interruptionFilter);

    void updateNotificationChannelGroupFromPrivilegedListener(in INotificationListener token, String pkg, in UserHandle user, in NotificationChannelGroup group);
    void updateNotificationChannelFromPrivilegedListener(in INotificationListener token, String pkg, in UserHandle user, in NotificationChannel channel);
    ParceledListSlice getNotificationChannelsFromPrivilegedListener(in INotificationListener token, String pkg, in UserHandle user);
    ParceledListSlice getNotificationChannelGroupsFromPrivilegedListener(in INotificationListener token, String pkg, in UserHandle user);
+0 −11
Original line number Diff line number Diff line
@@ -3650,17 +3650,6 @@ public class NotificationManagerService extends SystemService {
            }
        }

        @Override
        public void updateNotificationChannelGroupFromPrivilegedListener(
                INotificationListener token, String pkg, UserHandle user,
                NotificationChannelGroup group) throws RemoteException {
            Preconditions.checkNotNull(user);
            verifyPrivilegedListener(token, user);
            createNotificationChannelGroup(
                    pkg, getUidForPackageAndUser(pkg, user), group, false, true);
            savePolicyFile();
        }

        @Override
        public void updateNotificationChannelFromPrivilegedListener(INotificationListener token,
                String pkg, UserHandle user, NotificationChannel channel) throws RemoteException {