a1ce9637435f28b1de2b9e8e8a2175b53cc9e0f2 |
|
29-May-2018 |
Amith Yamasani <yamasani@google.com> |
Fix for missing location icon OpEntry.duration was being used to indicate that the operation was still running if -1 is returned. A recent change caused a regression. Adding a new mRunning field in OpEntry to explicitly hold the running state, even when partial duration is updated. Change-Id: Ib29f4c903f990aaa202e84f964959aedfc24abdb Fixes: 80242152 Test: atest FrameworksServicesTests:AppOpsActiveWatcherTest Test: Launch maps and verify the location icon is visible in the status bar
/frameworks/base/services/tests/servicestests/src/com/android/server/appops/AppOpsActiveWatcherTest.java
|