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

Commit 323f9acc authored by Aravind Asam's avatar Aravind Asam Committed by Steve Kondik
Browse files

Use absolute paths for WBC

For both wbc.jar and wbcservice.jar

Change-Id: I2c61a1361847e06e89b900d8a3795ab6aee959ab
parent 46a91038
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);