diff options
author | 2020-01-24 10:03:45 -0800 | |
---|---|---|
committer | 2020-01-24 20:20:18 +0000 | |
commit | b23f936e90322170118fa2040c8b1af5a45d2925 (patch) | |
tree | 883295d1506e925c1cf1ccbd60fb9f4cd233c5cb /apex | |
parent | 58a45f6a2785a28a326fdd333f3480090d659de9 (diff) |
wifi: Remove libwifijni & use logcat binary instead
The only method used in the jni library is a call to fetch kernel logs
when a disconnect occurs. We should be able to run the logcat binary
with appropriate command line flags to get that info instead.
Changes in the CL
a) Remove libwifijni library & its dependencies.
b) Remove WifiNative.readKernelLog() & instead to use the existing logcat
runner with "-b kernel".
Bug: 145196311
Test: Device boots up and connects to wifi networks.
Test: Verified that the kernel logs are present in the bugreport on
every disconnect in the wifi diagnostics section
(modified the code to trigger a WifiDiagnostics report on every disconnect)
Change-Id: Ia2d5c8f6fc509015dd0dbb174069a2c24fa0117e
Diffstat (limited to 'apex')
-rw-r--r-- | apex/Android.bp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apex/Android.bp b/apex/Android.bp index 1278b3040c..a758067a23 100644 --- a/apex/Android.bp +++ b/apex/Android.bp @@ -17,7 +17,6 @@ apex_defaults { name: "com.android.wifi-defaults", androidManifest: ":com.android.wifi-androidManifest", - native_shared_libs: ["libwifi-jni"], java_libs: [ "wifi-service", "framework-wifi", |