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

Commit 03955ea7 authored by yunseon.park's avatar yunseon.park Committed by Gustav Sennton
Browse files

Set the WebViewLoader's targetSdk same with framework's.



1. WebViewLoader starts with targetSdk 0 at startIsolatedProcess api.

2. Killed by killAllBackgroundProcessesExcept when density changed.

Bug: 70655801
Change-Id: I8fcfdb0f958063b1fa81a20d9ba6b1c862656852
Signed-off-by: default avatarYunseon Park <yunseon.park@lge.com>
parent e4e52917
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3634,6 +3634,7 @@ public class ActivityManagerService extends IActivityManager.Stub
            info.className = entryPoint;
            info.packageName = "android";
            info.seInfoUser = SELinuxUtil.COMPLETE_STR;
            info.targetSdkVersion = Build.VERSION.SDK_INT;
            ProcessRecord proc = startProcessLocked(processName, info /* info */,
                    false /* knownToBeDead */, 0 /* intentFlags */, ""  /* hostingType */,
                    null /* hostingName */, true /* allowWhileBooting */, true /* isolated */,