OSDN Git Service

remove compass from default wearable_core_hardware.xml
authorAndriy Naborskyy <andriyn@google.com>
Thu, 14 Apr 2016 02:54:14 +0000 (19:54 -0700)
committerAndriy Naborskyy <andriyn@google.com>
Thu, 14 Apr 2016 02:54:14 +0000 (19:54 -0700)
The compass is not a required Android Wear sensor.

BUG: 22854370
Change-Id: Ibe3cb1a80bab59cee294a34aa3331fb92a5ca0d6

data/etc/wearable_core_hardware.xml

index 346abad..7c9e8ef 100644 (file)
@@ -22,7 +22,8 @@
 -->
 <permissions>
     <feature name="android.hardware.location" />
-    <feature name="android.hardware.sensor.compass" />
+    <!-- devices supporting compass/magnitometer sensor must include
+        android.hardware.sensor.compass.xml -->
     <feature name="android.hardware.sensor.accelerometer" />
     <feature name="android.hardware.bluetooth" />
     <feature name="android.hardware.touchscreen" />