Move ThermalObserver to frameworks/opt/wear

Change-Id: Ic681025a3210055b35d2af4af44418b7872fe743
This commit is contained in:
Wei Liu
2016-03-25 16:32:10 -07:00
parent 03ebf5086a
commit d699cf80f9
2 changed files with 3 additions and 147 deletions

View File

@@ -153,6 +153,8 @@ public final class SystemServer {
"com.android.server.MountService$Lifecycle";
private static final String SEARCH_MANAGER_SERVICE_CLASS =
"com.android.server.search.SearchManagerService$Lifecycle";
private static final String THERMAL_OBSERVER_CLASS =
"com.google.android.clockwork.ThermalObserver";
private static final String PERSISTENT_DATA_BLOCK_PROP = "ro.frp.pst";
@@ -959,7 +961,7 @@ public final class SystemServer {
if (context.getPackageManager().hasSystemFeature
(PackageManager.FEATURE_WATCH)) {
mSystemServiceManager.startService(ThermalObserver.class);
mSystemServiceManager.startService(THERMAL_OBSERVER_CLASS);
}
}