summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorZhao Sun <zhao.x.sun@sony.com>2018-05-04 20:53:07 +0800
committerJong Wook Kim <jongwook@google.com>2018-05-22 13:56:20 -0700
commit719b6ae422910df0c17ae36deba0acc08d9a8943 (patch)
treebb67c614987987e96b21229a90f904be98202161 /Android.bp
parent76b64fecb6dd8ef593582295f01e543eb41f46a7 (diff)
Add null check on getting p2p iface name
Cherry-picked from partners After tearing down client interface, p2p interface will be invalid and null is returned when getting p2p interface name. When Wifi on/off is quickly repeated, a crash happens due to NullPointerException because WifiP2pNative#setupInterface is called and trying to get p2p interface name at that time while p2p iface is marked as invalid (client mode is shutting down). This patch adds null check on getting p2p iface name to avoid crash. Bug: 80095183 Test: manual Change-Id: I8aee5e3ca4d77eae3ed94aa76f6666649424e690
Diffstat (limited to 'Android.bp')
0 files changed, 0 insertions, 0 deletions