Loading services/java/com/android/server/SystemServer.java +9 −0 Original line number Diff line number Diff line Loading @@ -366,6 +366,8 @@ public final class SystemServer implements Dumpable { "com.android.clockwork.time.WearTimeService"; private static final String WEAR_SETTINGS_SERVICE_CLASS = "com.android.clockwork.settings.WearSettingsService"; private static final String WEAR_GESTURE_SERVICE_CLASS = "com.android.clockwork.gesture.WearGestureService"; private static final String WRIST_ORIENTATION_SERVICE_CLASS = "com.android.clockwork.wristorientation.WristOrientationService"; private static final String IOT_SERVICE_CLASS = Loading Loading @@ -2844,6 +2846,13 @@ public final class SystemServer implements Dumpable { mSystemServiceManager.startService(WRIST_ORIENTATION_SERVICE_CLASS); t.traceEnd(); } if (android.server.Flags.wearGestureApi() && SystemProperties.getBoolean("config.enable_gesture_api", false)) { t.traceBegin("StartWearGestureService"); mSystemServiceManager.startService(WEAR_GESTURE_SERVICE_CLASS); t.traceEnd(); } } if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_SLICES_DISABLED)) { Loading services/java/com/android/server/flags.aconfig +8 −0 Original line number Diff line number Diff line Loading @@ -66,3 +66,11 @@ flag { description: "Remove AppIntegrityManagerService" bug: "364200023" } flag { name: "wear_gesture_api" namespace: "wear_frameworks" description: "Whether the Wear Gesture API is available." bug: "396154116" is_exported: true } No newline at end of file Loading
services/java/com/android/server/SystemServer.java +9 −0 Original line number Diff line number Diff line Loading @@ -366,6 +366,8 @@ public final class SystemServer implements Dumpable { "com.android.clockwork.time.WearTimeService"; private static final String WEAR_SETTINGS_SERVICE_CLASS = "com.android.clockwork.settings.WearSettingsService"; private static final String WEAR_GESTURE_SERVICE_CLASS = "com.android.clockwork.gesture.WearGestureService"; private static final String WRIST_ORIENTATION_SERVICE_CLASS = "com.android.clockwork.wristorientation.WristOrientationService"; private static final String IOT_SERVICE_CLASS = Loading Loading @@ -2844,6 +2846,13 @@ public final class SystemServer implements Dumpable { mSystemServiceManager.startService(WRIST_ORIENTATION_SERVICE_CLASS); t.traceEnd(); } if (android.server.Flags.wearGestureApi() && SystemProperties.getBoolean("config.enable_gesture_api", false)) { t.traceBegin("StartWearGestureService"); mSystemServiceManager.startService(WEAR_GESTURE_SERVICE_CLASS); t.traceEnd(); } } if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_SLICES_DISABLED)) { Loading
services/java/com/android/server/flags.aconfig +8 −0 Original line number Diff line number Diff line Loading @@ -66,3 +66,11 @@ flag { description: "Remove AppIntegrityManagerService" bug: "364200023" } flag { name: "wear_gesture_api" namespace: "wear_frameworks" description: "Whether the Wear Gesture API is available." bug: "396154116" is_exported: true } No newline at end of file