OSDN Git Service

[Sensor] Add a constant to match native header
authorPeng Xu <pengxu@google.com>
Fri, 4 Mar 2016 19:09:24 +0000 (11:09 -0800)
committerPeng Xu <pengxu@google.com>
Fri, 4 Mar 2016 23:51:12 +0000 (15:51 -0800)
commit1795e14dab0367fdd77f2c1eee6b4fd39d1c5902
tree038e9e98befab450f3204564d0e83bd6c2fda63a
parent12aefc4104f2d8b4e1edf7cf99c648fb1de38b83
[Sensor] Add a constant to match native header

This CL add private sensor type base constant to java file to match
C header file.

It is defined that all vendor sensor types have to be >= 0x10000.
There is a constant in sensor.h for reference. However, there is
no such constant defined in Sensor.java before. This CL adds it.

Change-Id: Ia8f8c06583c62879e51779815051c346f1a9cd14
api/current.txt
api/system-current.txt
api/test-current.txt
core/java/android/hardware/Sensor.java