Merge "Sync proto from google3"

This commit is contained in:
TreeHugger Robot
2017-11-21 19:16:21 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 1 deletions

View File

@@ -88,7 +88,7 @@ message SimpleCondition {
UNKNOWN = 0;
FALSE = 1;
}
optional InitialValue initial_value = 5 [default = UNKNOWN];
optional InitialValue initial_value = 5 [default = FALSE];
repeated KeyMatcher dimension = 6;
}

View File

@@ -70,6 +70,7 @@ TEST(SimpleConditionTrackerTest, TestNonSlicedCondition) {
simpleCondition.set_start("SCREEN_TURNED_ON");
simpleCondition.set_stop("SCREEN_TURNED_OFF");
simpleCondition.set_count_nesting(false);
simpleCondition.set_initial_value(SimpleCondition_InitialValue_UNKNOWN);
unordered_map<string, int> trackerNameIndexMap;
trackerNameIndexMap["SCREEN_TURNED_ON"] = 0;