Possible fix for https://code.google.com/p/android/issues/detail?id=152085

There is a bug identified in Android NetworkInfo API (http://developer.android.com/reference/android/net/NetworkInfo.html) since Android Lollipop 5.0.0 release. On Android 4.4 and prior, the NetworkInfo API was correctly reporting disconnection reason. In Android 5.0+, this NetworkInfo API does not correctly report the reason of disconnection.

The submitted framework modification appears to fix this issue and report the reason.

Change-Id: I4d2d1a03cee7faf89c08298a83de67028714eac7
Signed-off-by: Vipin Sapra <vipin.sapra@gmail.com>
1 file changed
tree: 6fc819e113089dbdd5c85554519386c1b6c5c5f2
  1. src/
  2. tests/
  3. tools/
  4. Android.mk
  5. CleanSpec.mk
  6. README.txt