diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2015-05-11 17:54:13 -0700 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2015-05-13 17:04:03 -0700 |
commit | 8c621ef54630e411d50e9ba1d8d8ed19ef93f9e1 (patch) | |
tree | 4096702d11b2766de4f7f212784cd85f127ff5d6 /tools/layoutlib/bridge/src | |
parent | 67b7ec28872dcb0ba09ef01bb87f7d558cbd19fc (diff) | |
download | frameworks_base-8c621ef54630e411d50e9ba1d8d8ed19ef93f9e1.zip frameworks_base-8c621ef54630e411d50e9ba1d8d8ed19ef93f9e1.tar.gz frameworks_base-8c621ef54630e411d50e9ba1d8d8ed19ef93f9e1.tar.bz2 |
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: I49e4527fe94919a7094bc7c1e100d20e8f833865
Diffstat (limited to 'tools/layoutlib/bridge/src')
0 files changed, 0 insertions, 0 deletions