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

Commit 01720b82 authored by Ben Murdoch's avatar Ben Murdoch
Browse files

Fix some AppCompacted proto nits post google3 review.

Clarify some comments and tweak the names of some fields. Binary
structure of the proto remains intact.

Bug: 119988524
Bug: 120600464

Test: verified that statsd_testdrive still works with this atom
Change-Id: I90d8eb522fc23b2ff604bc1e69e4068dc2c4b73a
parent 8c38fd7d
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -3670,7 +3670,7 @@ message AppCompacted {
    SOME = 1;
    FULL = 2;
  }
  optional Action action = 3 [default = UNKNOWN];
  optional Action action = 3;

  // Total RSS in kilobytes consumed by the process prior to compaction.
  optional int64 before_rss_total_kilobytes = 4;
@@ -3702,12 +3702,12 @@ message AppCompacted {
  // The last compaction action performed for this app.
  optional Action last_action = 13;

  // The last time that compaction was attempted on this process in seconds
  // since boot.
  optional int64 last_compact_timestamp = 14;
  // The last time that compaction was attempted on this process in milliseconds
  // since boot, not including sleep (see SystemClock.uptimeMillis()).
  optional int64 last_compact_timestamp_ms_since_boot = 14;

  // The oom_adj at the time of compaction.
  optional int32 oom_adj = 15;
  // The oom_score_adj at the time of compaction.
  optional int32 oom_score_adj = 15;

  // The process state at the time of compaction.
  optional android.app.ProcessStateEnum process_state = 16 [default = PROCESS_STATE_UNKNOWN];