summaryrefslogtreecommitdiff
path: root/libs/androidfw/PathUtils.cpp
diff options
context:
space:
mode:
author yutingfang <yutingfang@google.com> 2025-02-11 11:09:12 -0800
committer yutingfang <yutingfang@google.com> 2025-02-11 11:23:50 -0800
commit111afd054ef5a6242a211479fa0e684c903f8203 (patch)
treec8d2c2cea498a22787449cd52a4bdf388ee65203 /libs/androidfw/PathUtils.cpp
parent6828cd90006d9c48b52bed0e3ea202484540da2c (diff)
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
Diffstat (limited to 'libs/androidfw/PathUtils.cpp')
0 files changed, 0 insertions, 0 deletions