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

Commit 8aca02d4 authored by Alex Buynytskyy's avatar Alex Buynytskyy
Browse files

Possible fix for the restart problem.

Using background executor instead of FgThread.

Bug: 177371679
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I84be7be5d0ec32c54ebb5c4a8c2a87713c476ac8
parent 57114c8b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23767,7 +23767,7 @@ public class PackageManagerService extends IPackageManager.Stub
        // Clear cache on flags changes.
        DeviceConfig.addOnPropertiesChangedListener(
                NAMESPACE_PACKAGE_MANAGER_SERVICE, FgThread.getExecutor(),
                NAMESPACE_PACKAGE_MANAGER_SERVICE, mInjector.getBackgroundExecutor(),
                properties -> {
                    final Set<String> keyset = properties.getKeyset();
                    if (keyset.contains(PROPERTY_INCFS_DEFAULT_TIMEOUTS) || keyset.contains(