Commit 65770ec6 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

ConcurrentHashMap: update API for keySet.

On Android M and earlier, keySet() returned a Set<K>. Changing the
return type to a type that doesn't exist on previous releases is an
incompatible change. We therefore revert it so that applications that
compile against the Android N SDK will continue to work on older
releases.

Note that there is no API update that accompanies this change. Due to
an asymmetry in doclava, this method is absent from the *api.txt files
but *does* exist in the stubs.

bug: 28099367

(cherry picked from commit 0ee1606f)

Change-Id: I912679f8606954640e1004c2ccf8afa0e31fa940
parent d3a338c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment