mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
[WW logging] Log rankings for app launches
Bug: 158219113 Change-Id: Ib6db4e73e48ff27ca9d3a5348eea42e1f534dba1
This commit is contained in:
@@ -44,6 +44,13 @@ public class InstanceIdSequence {
|
||||
mInstanceIdMax = min(max(1, instanceIdMax), InstanceId.INSTANCE_ID_MAX);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a sequence with identifiers [1, InstanceId.INSTANCE_ID_MAX].
|
||||
*/
|
||||
public InstanceIdSequence() {
|
||||
this(InstanceId.INSTANCE_ID_MAX);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the next instance from the sequence. Safe for concurrent use.
|
||||
* @return new InstanceId
|
||||
|
||||
Reference in New Issue
Block a user