summaryrefslogtreecommitdiff
path: root/tools/aidl/generate_java.cpp
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2011-06-14 11:07:24 -0700
committerDoug Zongker <dougz@android.com>2011-06-14 11:51:59 -0700
commitad2171acf423224d925d1b7cefa7184882e100bf (patch)
treea3962b549dc8c13512ad1b4c6c4c5d268e22a47c /tools/aidl/generate_java.cpp
parent26cfe80fe168f8cecea6a9eab697c80f1efeccce (diff)
deprecate RADIO constant, add getRadioVersion method
On many devices the radio version system property is only available when the radio is on, which is frequently not the case when the static initializers for the Build class are run (eg, if the system has just booted). This means RADIO is forever "unknown" on these devices. Deprecate it and add a method to return the radio version instead. Apps will still have to deal with getting a null back if the radio version is currently unavailable. Change-Id: I63528eae93e1b9d0f7cec5a382724d0391ba1104
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions