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

Commit 9a983837 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Recycle leaked SomeArgs instances."

parents c5fc4576 239855b3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2365,6 +2365,7 @@ public abstract class NotificationListenerService extends Service {
                    UserHandle user= (UserHandle) args.arg2;
                    NotificationChannel channel = (NotificationChannel) args.arg3;
                    int modificationType = (int) args.arg4;
                    args.recycle();
                    onNotificationChannelModified(pkgName, user, channel, modificationType);
                } break;

@@ -2374,6 +2375,7 @@ public abstract class NotificationListenerService extends Service {
                    UserHandle user = (UserHandle) args.arg2;
                    NotificationChannelGroup group = (NotificationChannelGroup) args.arg3;
                    int modificationType = (int) args.arg4;
                    args.recycle();
                    onNotificationChannelGroupModified(pkgName, user, group, modificationType);
                } break;