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

Commit 68ab059a authored by Pechetty Sravani (xWF)'s avatar Pechetty Sravani (xWF) Committed by Android (Google) Code Review
Browse files

Revert "Migrate WristOrientationService"

Revert submission 29447950-cherrypicker-L94600030006457400:N79600030103499368

Reason for revert: <DroidMonitor created a revert due to b/378787763.Will be verified through ABTD for standard investigation.>

Reverted changes: /q/submissionid:29447950-cherrypicker-L94600030006457400:N79600030103499368

Change-Id: I5acb28639f9c15bc18039a76dfeca676029db8a1
parent 770b1811
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -2737,9 +2737,8 @@ public final class SystemServer implements Dumpable {
            mSystemServiceManager.startService(WEAR_MODE_SERVICE_CLASS);
            t.traceEnd();

            boolean enableWristOrientationService =
                    !android.server.Flags.migrateWristOrientation()
                    && SystemProperties.getBoolean("config.enable_wristorientation", false);
            boolean enableWristOrientationService = SystemProperties.getBoolean(
                    "config.enable_wristorientation", false);
            if (enableWristOrientationService) {
                t.traceBegin("StartWristOrientationService");
                mSystemServiceManager.startService(WRIST_ORIENTATION_SERVICE_CLASS);
+0 −8
Original line number Diff line number Diff line
@@ -30,14 +30,6 @@ flag {
     bug: "340928692"
}

flag {
     name: "migrate_wrist_orientation"
     namespace: "wear_frameworks"
     description: "Migrate wrist orientation service functionality to wear settings service"
     bug: "352725980"
     is_fixed_read_only: true
}

flag {
    name: "allow_network_time_update_service"
    namespace: "wear_systems"