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

Commit 5ff6da5a authored by Aravind Asam's avatar Aravind Asam Committed by Linux Build Service Account
Browse files

Use absolute paths for WBC

For both wbc.jar and wbcservice.jar

Change-Id: I2c61a1361847e06e89b900d8a3795ab6aee959ab
parent 8ba66f78
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -957,7 +957,7 @@ public final class SystemServer {
                    Slog.i(TAG, "WipowerBatteryControl Service");

                    PathClassLoader wbcClassLoader =
                        new PathClassLoader("system/framework/com.quicinc.wbc.jar:system/framework/com.quicinc.wbcservice.jar",
                        new PathClassLoader("/system/framework/com.quicinc.wbc.jar:/system/framework/com.quicinc.wbcservice.jar",
                                            ClassLoader.getSystemClassLoader());
                    Class wbcClass = wbcClassLoader.loadClass("com.quicinc.wbcservice.WbcService");
                    Constructor<Class> ctor = wbcClass.getConstructor(Context.class);