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

Commit b812baa1 authored by Matías Hernández's avatar Matías Hernández Committed by Android Build Coastguard Worker
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:6d846a1a76fd2a45cf4cd9575673db2644b153fc
Merged-In: I65438b1af637f3ba9b75a85f780bdb7867cc4ba8
Change-Id: I65438b1af637f3ba9b75a85f780bdb7867cc4ba8
parent 78760f09
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -178,7 +178,6 @@ interface INotificationManager
    void setInterruptionFilter(String pkg, int interruptionFilter, boolean fromUser);

    NotificationChannel createConversationNotificationChannelForPackageFromPrivilegedListener(in INotificationListener token, String pkg, in UserHandle user, String parentChannelId, String conversationId);
    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
@@ -7091,17 +7091,6 @@ public class NotificationManagerService extends SystemService {
                    pkg, uid, parentId, conversationId, false, false).copy();
        }
        @Override
        public void updateNotificationChannelGroupFromPrivilegedListener(
                INotificationListener token, String pkg, UserHandle user,
                NotificationChannelGroup group) throws RemoteException {
            Objects.requireNonNull(user);
            verifyPrivilegedListener(token, user, false);
            createNotificationChannelGroup(
                    pkg, getUidForPackageAndUser(pkg, user), group, false, true);
            handleSavePolicyFile();
        }
        @Override
        public void updateNotificationChannelFromPrivilegedListener(INotificationListener token,
                String pkg, UserHandle user, NotificationChannel channel) throws RemoteException {