OSDN Git Service
(root)
/
android-x86
/
device-generic-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8f5acb2
)
Enable serial gps
android-x86-8.1-r5
author
hatharry
<hatharry@hotmail.com>
Thu, 7 May 2020 05:46:18 +0000
(17:46 +1200)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 7 May 2020 08:34:22 +0000
(16:34 +0800)
manifest.xml
patch
|
blob
|
history
treble.mk
patch
|
blob
|
history
diff --git
a/manifest.xml
b/manifest.xml
index
596ef18
..
04e4216
100644
(file)
--- a/
manifest.xml
+++ b/
manifest.xml
@@
-147,4
+147,13
@@
<instance>default</instance>
</interface>
</hal>
+ <hal format="hidl">
+ <name>android.hardware.gnss</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IGnss</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
</manifest>
diff --git
a/treble.mk
b/treble.mk
index
c7fc945
..
5cbc454
100644
(file)
--- a/
treble.mk
+++ b/
treble.mk
@@
-74,3
+74,8
@@
PRODUCT_PACKAGES += \
# Wifi HAL
PRODUCT_PACKAGES += \
android.hardware.wifi@1.0-service
+
+# GPS HAL
+PRODUCT_PACKAGES += \
+ android.hardware.gnss@1.0-impl \
+ android.hardware.gnss@1.0-service