Force the device Id associated with
AttributionSource.myAttributionSource() to be the default device Id This fix is mainly for b/343121936 where bluetooth caches attributionSource returned from AttributionSource.myAttributionSource() which could lead to a stale device Id in the attributionSource. The fix now forces a default device Id associated with AttributionSource.myAttributionSource() on the basis that AttributionSource.myAttributionSource() returns a generic attributionSource which is agnostic of which virtual device it's associated with, callers are strongly encouraged to use Context.getAttributionSource() if they need a more specific attributionSource. Bug: 343121936 Test: presubmit Flag: android.permission.flags.enforce_default_device_id_in_my_attribution_source Change-Id: I1ce7bd3110a60040bb8321d3bb7b95ca3e8b4d0b
Loading
Please register or sign in to comment