Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7e851d7 authored by Marco Loaiza's avatar Marco Loaiza Committed by Android (Google) Code Review
Browse files

Merge "Update deviceId when starting a service"

parents b3528d73 921e8fd4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4556,6 +4556,9 @@ public final class ActivityThread extends ClientTransactionHandler
            context.setOuterContext(service);
            service.attach(context, this, data.info.name, data.token, app,
                    ActivityManager.getService());
            if (!service.isUiContext()) { // WindowProviderService is a UI Context.
                service.updateDeviceId(mLastReportedDeviceId);
            }
            service.onCreate();
            mServicesData.put(data.token, data);
            mServices.put(data.token, service);