android / user-interface-samples

Multiple samples showing the best practices in the user interface on Android.
Apache License 2.0
4.37k stars 1.64k forks source link

Confused: Does Android O already have Noto font? #85

Open brianchu opened 7 years ago

brianchu commented 7 years ago

"You need the beta version of Google Play Services to use this feature. Join Google Play Services Public Beta Program and make sure you have v11 installed on your device running Android O Developer Preview 2."

I tried without the bundle font version and it seems to work although the logcat said:

08-02 19:11:23.117 5297-5368/? I/FontsContentProvider: Received query Noto Color Emoji Compat, URI content://com.google.android.gms.fonts 08-02 19:11:23.120 5297-5368/? I/FontsContentProvider: Query [Noto Color Emoji Compat] resolved to {Noto Color Emoji Compat, wdth 100.0, wght 400, ital 0.0, bestEffort false} 08-02 19:11:23.134 5297-5368/? I/FontsContentProvider: Fetch {Noto Color Emoji Compat, wdth 100.0, wght 400, ital 0.0, bestEffort false} end status Status{statusCode=SUCCESS, resolution=null} 08-02 19:11:23.144 5297-5308/? I/FontsContentProvider: Pulling font file for id = 3, cache size = 2

Does it mean the Android O already have the font installed, it is not downloading the font? If so, how can I test the download flow?

dannyroa commented 7 years ago

There is a bug/limitation with early versions of Play Services v11 that it cannot download the font.

You need to join the Beta: https://developers.google.com/android/guides/beta-program

I'm on 11.5.05 and the Noto Emoji font works.

otopba commented 3 years ago

@codingjeremy Is this feature already in release? It seems to me that it is no longer necessary to participate in the beta program