summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2015-05-11 17:54:13 -0700
committerRobert Greenwalt <rgreenwalt@google.com>2015-05-12 15:41:09 -0700
commita8fc387e20818e902b1140d4e17fb3b40ae4e5a6 (patch)
treeea203897cfb6866a82fb489b57d0bfc995176fee /tools/aapt2/java/JavaClassGenerator.cpp
parent93bbf2774d934e08919f9996cf9daf402ddb9407 (diff)
Add support for static RadioCapabilities.
Some RILs don't support RIL_REQUEST_GET_RADIO_CAPABILITY. Add code to RIL.java to notice a REQUEST_NOT_SUPPORTED response and check config.xml (config_radio_access_family) for a static answer. Also catching GENERIC_FAILURE responses because Hammerhead modem returns that. B 21079604 created for this. If neither Modem nor config.xml provide data, uses RAF_UNKNOWN so we don't lie about capabilities and also so we fail fast (setPreferredNetwork won't work). bug:20561357 Change-Id: I9607e8e99242c6f7a6e330741d4afe8bbd08b1e7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions