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

Commit 6f55275c authored by Kweku Adams's avatar Kweku Adams
Browse files

Removing allow_while_idle_min_duration_ms.

The value was removed from AlarmManagerService in http://ag/3486273.
The CTS test is already broken. I will update it outside of this topic.

Test: flash device and check incident.proto output
Change-Id: Ic3781a14bf14a70d5f7b2c615d7e762278e875b7
parent a83e22f9
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -104,11 +104,6 @@ message AlarmManagerServiceProto {

  repeated InFlightProto outstanding_deliveries = 34;

  // Minimum time between ALLOW_WHILE_IDLE alarms when system is idling. It
  // should be either CosntantsProto.allow_while_idle_short_duration_ms or
  // ConstantsProto.allow_while_idle_long_duration_ms.
  optional int64 allow_while_idle_min_duration_ms = 35;

  message LastAllowWhileIdleDispatch {
    option (.android.msg_privacy).dest = DEST_AUTOMATIC;

@@ -121,7 +116,7 @@ message AlarmManagerServiceProto {
  }

  // Whether the short or long while-idle timeout should be used for each UID.
  repeated int32 use_allow_while_idle_short_time = 42;
  repeated int32 use_allow_while_idle_short_time = 35;

  // For each uid, this is the last time we dispatched an "allow while idle"
  // alarm, used to determine the earliest we can dispatch the next such alarm.