Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f36c0f3c authored by Vipin Sapra's avatar Vipin Sapra Committed by Robert Greenwalt
Browse files

Set reason code when disconnecting

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: I5c37f17f7cd3df687863259409567fb95e794d0b
parent b064f1e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment