Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Remove Android font lookup #239

Merged
merged 4 commits into from
Nov 29, 2021
Merged

Remove Android font lookup #239

merged 4 commits into from
Nov 29, 2021

Conversation

Redth
Copy link
Member

@Redth Redth commented Nov 29, 2021

tl;dr - we don't need to scan all the system available fonts on android and are moving away from that approach entirely in another PR, but for now this gives us a perf win and more importantly fixes a crash on Android API31+

Android 31 has different file permissions and we can no longer lookup fonts in system directories.  We don't need to do this in MAUI Graphics anyway, and there's a larger PR that refactors fonts to be more simple and opinionated, but this will stop crashing on android 31 for now.
@rmarinho
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Redth Redth merged commit e28b173 into main Nov 29, 2021
@Redth Redth deleted the remove-android-font-lookup branch November 29, 2021 21:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants