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

Commit b54c79ad authored by Jing Ji's avatar Jing Ji
Browse files

Unfreeze target process before installing provider

Bug: 351090866
Test: See b/351090866#comment22
Flag: EXEMPT bugfix
Change-Id: Ic9c281b173b72764c48cd35c5a7e25ea7d5687b4
parent eed6e7d8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -538,6 +538,8 @@ public class ContentProviderHelper {
                            if (!pr.hasProvider(cpi.name)) {
                                checkTime(startTime, "getContentProviderImpl: scheduling install");
                                pr.installProvider(cpi.name, cpr);
                                mService.mOomAdjuster.unfreezeTemporarily(proc,
                                        CachedAppOptimizer.UNFREEZE_REASON_GET_PROVIDER);
                                try {
                                    thread.scheduleInstallProvider(cpi);
                                } catch (RemoteException e) {