Hide API in Android for API that is discouraged as of ICU 57.

This is introduced as public API in Android N, together with the
preferred API introduced by ICU 55, so there is no need to include
it in Android N at all.


These methods, introduced in ICU 55, are promoted to stable in ICU 57,
while the methods they replace are demoted to discouraged.

Android does this ahead of time, already in ICU 56, to avoid introducing
an API in Android N that only is to be used for one release.


Bug: 22023363

(cherry picked from commit 38be28a3012fe8d288b4576b98cb1207cc31e2fc)

Change-Id: I4029d99915f8accfd462e4679261a9114ebe70f0
3 files changed