diff options
author | Roshan Pius <rpius@google.com> | 2019-08-21 10:38:24 -0700 |
---|---|---|
committer | Daniel Norman <danielnorman@google.com> | 2019-09-27 23:15:38 +0000 |
commit | b0253ef520862ab47e18965be7d297a4ebb6eeba (patch) | |
tree | 11381c5bed0f506af0593588de45b9df806000d0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 550ea34084c746c5029c298b876f6fb40fc8a9ea (diff) |
WifiManager: Return dummy values when wifi service is not up
Many system/vendor modules assume that wifi service is up by the time
they run. This is no longer the case since wifi stack now starts a
little later in the bootup sequence (to support pluggable wifi stack
module for mainline). If any of these modules invoke a WifiManager
call,
a) Return an appropriate dummy value if the API returns a value
b) Raise a RemoteException if the API returns nothing (void).
Bug: 139492857
Bug: 137650946
Test: Verified that SUW & CNE receiver no longer crashes with the stack
traces in the linked bugs.
Also, verified that SUW still can connect to wifi networks & detect when
wifi auto-connects after SUW comes up.
Test: Verified wifi/softap toggle from Settings/Sysui.
Change-Id: Ia100a4612fc903ae470a0c89523d4fda27eb3fbc
(cherry picked from commit dfb747ef8dc8ddced934ffa1d5e4b2897ad6bc20)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions