summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot2018-02-07 07:29:37 -0600
committerandroid-build-team Robot2018-02-07 07:29:37 -0600
commit142b6b5d9fd11b71ddc5378a0d11ed284e980528 (patch)
treed1c9e51966c288783c9b6a88dd210205ad2b0158
parenta95c9083a5b8cd5bb7990dab57c3d318f003c647 (diff)
parent5fd07850e068ce71589f1a2811b12a4837c514cc (diff)
downloadplatform-system-libvintf-142b6b5d9fd11b71ddc5378a0d11ed284e980528.tar.gz
platform-system-libvintf-142b6b5d9fd11b71ddc5378a0d11ed284e980528.tar.xz
platform-system-libvintf-142b6b5d9fd11b71ddc5378a0d11ed284e980528.zip
Snap for 4590521 from 5fd07850e068ce71589f1a2811b12a4837c514cc to pi-release
Change-Id: Ia2c4af861c689a52dcc7f6a451659b83a71826a4
-rw-r--r--HalManifest.cpp4
-rw-r--r--include/vintf/HalManifest.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/HalManifest.cpp b/HalManifest.cpp
index 2bf5aef..e2ae616 100644
--- a/HalManifest.cpp
+++ b/HalManifest.cpp
@@ -415,6 +415,10 @@ SchemaType HalManifest::type() const {
415 return mType; 415 return mType;
416} 416}
417 417
418void HalManifest::setType(SchemaType type) {
419 mType = type;
420}
421
418Level HalManifest::level() const { 422Level HalManifest::level() const {
419 return mLevel; 423 return mLevel;
420} 424}
diff --git a/include/vintf/HalManifest.h b/include/vintf/HalManifest.h
index 76f1567..b0c4418 100644
--- a/include/vintf/HalManifest.h
+++ b/include/vintf/HalManifest.h
@@ -97,6 +97,7 @@ struct HalManifest : public HalGroup<ManifestHal>, public XmlFileGroup<ManifestX
97 97
98 // Type of the manifest. FRAMEWORK or DEVICE. 98 // Type of the manifest. FRAMEWORK or DEVICE.
99 SchemaType type() const; 99 SchemaType type() const;
100 void setType(SchemaType type);
100 101
101 // FCM version that it implements. 102 // FCM version that it implements.
102 Level level() const; 103 Level level() const;