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

Commit 0602ba64 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Start WearGestureService" into main

parents b4efdcbe 1d377794
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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 =
@@ -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)) {
+8 −0
Original line number Diff line number Diff line
@@ -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