Set attribution tag.
Set an attribution tag on the context so that location knows what the location request is for. Bug: 193044528 Test: atest DeviceIdleTest Test: atest FrameworksMockingServicesTests:DeviceIdleControllerTest Change-Id: Idc9d839ea2bf2d098748e324868764fa6febb78c
This commit is contained in:
@@ -2150,7 +2150,7 @@ public class DeviceIdleController extends SystemService
|
||||
private LocationManager mLocationManager;
|
||||
|
||||
Injector(Context ctx) {
|
||||
mContext = ctx;
|
||||
mContext = ctx.createAttributionContext(TAG);
|
||||
}
|
||||
|
||||
AlarmManager getAlarmManager() {
|
||||
|
||||
Reference in New Issue
Block a user