Test: manual; enable navigation and ensure direction is correct and
that keys no longer navigate in launcher.
Fixes: 35758627
Change-Id: I0df5a060aacaed75db84d21c9378f6ed3e180c1b
HAL wifi creates a LOWI client for accessing the LOWI server to share
wifi gscan results for location purposes.
Denials:
03-04 04:20:09.956 4796 4796 I android.hardwar: type=1400
audit(0.0:97): avc: denied { search } for name="location" dev="sda35"
ino=3850313 scontext=u:r:hal_wifi_default:s0
tcontext=u:object_r:location_data_file:s0 tclass=dir permissive=1
03-04 04:20:09.956 4796 4796 I android.hardwar: type=1400
audit(0.0:98): avc: denied { write } for name="location-mq-s"
dev="sda35" ino=3850337 scontext=u:r:hal_wifi_default:s0
tcontext=u:object_r:location_data_file:s0 tclass=sock_file permissive=1
03-04 04:20:09.956 4796 4796 I android.hardwar: type=1400
audit(0.0:99): avc: denied { connectto } for
path="/data/misc/location/mq/location-mq-s"
scontext=u:r:hal_wifi_default:s0 tcontext=u:r:location:s0
tclass=unix_stream_socket permissive=1
Bug: 35959128
Test: Device boots up and able to connect to wifi network.
Denials no longer seen. Previously some wifi HAL calls would take
a long time to complete because it tries to create a LOWI client for
every request and fail.
Change-Id: Ic882901098820a56ae171432b2d56e9604d2388a