summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAhmed ElArabawy <arabawy@google.com>2017-11-28 13:55:36 -0800
committerAhmed ElArabawy <arabawy@google.com>2018-08-09 13:59:39 -0700
commit3793c020b475fa0728a3035d3790884f128b1ebe (patch)
treefcd38f373fd8512a53d244b07461fb587551e01c /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdeee39507f594db017f0e1beab5c973d178387a4 (diff)
Wifi: Pass the multicast wakelock TAG in release
In current implementation, when the same UID allocates, and acquires multiple wiFi multicast wakelocks, the tag associated with the lock is passed in the acquire method, and stored in the multicasters list. However, when the UID tries to release the lock, the tag is not included in the method call, and all the wakelocks found in the list of multicasters for this UID are released. This behavior does not reflect the expected behavior of the App using the API This commit contributes to the fix of this situation by passing the wakelock tag in the release method, to enable the release of the proper wakelock. Bug: 70691435 Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I4e4efd2ce75e77cde54ba92217364b83f2c7c401
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions