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

Commit bc258d4c authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Revert "Update ServiceRecord's appInfo on overlay changes"" into main

parents 7ba3fca9 c1b71329
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -5246,14 +5246,6 @@ public final class ProcessList {
                                PlatformCompatCache.getInstance()
                                        .onApplicationInfoChanged(ai);
                            }
                            // Service fields rarely matter, but if we're restarting an app's
                            // service when it has no running activities, we're using these cached
                            // ones, and they have to be up to date.
                            for (int j = app.mServices.numberOfRunningServices() - 1; j >= 0; j--) {
                                final ServiceRecord sr = app.mServices.getRunningServiceAt(j);
                                sr.appInfo = ai;
                                sr.serviceInfo.applicationInfo = ai;
                            }
                            app.getThread().scheduleApplicationInfoChanged(ai);
                            targetProcesses.add(app.getWindowProcessController());
                        }