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>
Wed, 23 Mar 2016 17:51:02 +0000 (17:51 +0000)
commit370985d00a04c0d6977929cd8daf05c932443b0d
treeb46c754da6bf60d4417548c8f1b0db10e97a496c
parent10ae65d226ac9205d53fabc3b9c9e53e1c642076
[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
(cherry picked from commit 1795e14dab0367fdd77f2c1eee6b4fd39d1c5902)
api/current.txt
api/system-current.txt
api/test-current.txt
core/java/android/hardware/Sensor.java