According to the user Id to cache the ServiceInfo.
Currently it saves the ServiceInfo into the cache by using the ComponentName as the key, it will return the wrong ServiceInfo to other user. It needs to accord to the user Id to cache the ServiceInfo. Flag: android.content.pm.optimize_parsing_in_registered_services_cache Bug: 396226221 Test: atest RegisteredServicesCacheTest Change-Id: I8221e586273f78b561d7ba7ebc4e2375abc075ec
Loading
Please register or sign in to comment