Skip to content
Commit 6d051fc6 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

PackageManager: Avoid creating encoders for appIds being written /config/sdcardfs

We know they will be ASCII, so use String.getBytes(US-ASCII) which is
much faster than creating a new ICU based CharsetEncoder for UTF-8 every time
we write one of these files (there will be a lot of them).

Test: make + manual.
Change-Id: I8eb62862ea1083e194d3f23ac68bb40aaae5efd5
parent 6b18e8f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment