diff options
| author | Yifan Hong <elsk@google.com> | 2019-10-23 15:56:03 -0700 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2019-10-23 15:56:03 -0700 |
| commit | dc6d9b1c05cebef66df79b43b79f876f40d493b0 (patch) | |
| tree | 59f0d470c4209905fed702ff3caa410a67b8aa40 /dynamic_partition_control_interface.h | |
| parent | 40bf7c184e85332a4832abea3dc2923b51357103 (diff) | |
| parent | 6e0d0ef979d2d0dd99c586f83fd7edbf356c63c3 (diff) | |
Sanity check that no downgrade package on launch VAB device.
am: 6e0d0ef979
Change-Id: Icf916a3fffe4a3e8267f45345fbe92250ab3cd32
Diffstat (limited to 'dynamic_partition_control_interface.h')
| -rw-r--r-- | dynamic_partition_control_interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dynamic_partition_control_interface.h b/dynamic_partition_control_interface.h index 9c4c2e82..9c18973f 100644 --- a/dynamic_partition_control_interface.h +++ b/dynamic_partition_control_interface.h @@ -36,6 +36,7 @@ struct FeatureFlag { constexpr explicit FeatureFlag(Value value) : value_(value) {} constexpr bool IsEnabled() const { return value_ != Value::NONE; } constexpr bool IsRetrofit() const { return value_ == Value::RETROFIT; } + constexpr bool IsLaunch() const { return value_ == Value::LAUNCH; } private: Value value_; |
