summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2019-04-26 08:29:55 -0700
committerRoshan Pius <rpius@google.com>2019-04-26 08:38:34 -0700
commit96031c2d3095fe14578e4c07eadf5151c07ebddc (patch)
tree5d14bdc749e670d2e2899d19504d0f543e35743b /service
parent08135433b40efd21abab4e929d365b2cc0de1e86 (diff)
ScanRequestProxy: Log package name in worksource
Helps differentiate scan initiating apps better in bugreport. Bug: 123404912 Test: atest com.android.server.wifi Test: Manual scan log inspection in wifiscanner dumpsys Change-Id: I74a3bbea40c09346c795d0787407cd57b3af5786
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/ScanRequestProxy.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/ScanRequestProxy.java b/service/java/com/android/server/wifi/ScanRequestProxy.java
index f833533eb..efbb7b649 100644
--- a/service/java/com/android/server/wifi/ScanRequestProxy.java
+++ b/service/java/com/android/server/wifi/ScanRequestProxy.java
@@ -471,7 +471,7 @@ public class ScanRequestProxy {
return false;
}
// Create a worksource using the caller's UID.
- WorkSource workSource = new WorkSource(callingUid);
+ WorkSource workSource = new WorkSource(callingUid, packageName);
// Create the scan settings.
WifiScanner.ScanSettings settings = new WifiScanner.ScanSettings();