diff options
| author | 2022-11-15 03:49:59 +0000 | |
|---|---|---|
| committer | 2022-12-01 02:45:46 +0000 | |
| commit | 576862f57914537a755b11b0235609d6f9698c73 (patch) | |
| tree | 1a3000d19baf19265d23a6581d685c85095fd703 /libs/androidfw/StringPool.cpp | |
| parent | e655f11ca5b16d05734cb0bd1b94504c181a483e (diff) | |
API Enhancement CountryDetector
-Replace CountryListener with a Consumer<Country>
-Add registerCountryDetectorCallback to take an Executor Vs addCountryListener taking Looper
-Add unregisterCountryDetectorCallback to remove Consumer<Country> callback interface
-Adding getSource to return an IntDef
-Expose Country constructor
-Adding alternative API with new naming for getCountryIso
-Refactoring addCountryListener() & removeCountryListener API's
Bug: 252989268, 258197470
CTS-Coverage-Bug: 255511190
Test: manual test && make update-api
Change-Id: I5a2f253a87d1037837bc161a80cb873a6471c229
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions