Integrate SDK system feature cache behind a flag
Add the SDK system feature cache to the hasSystemFeature query lookup. This involves populating the initial cache array in system server, and handing this as a compact int array (<1KB) to each process via ApplicationSharedMemory. Currently, the compact array is copied into Java heap for easy and fast access. Follow-up work will explore reusing the mapped buffer and relying on JNI and/or MappedByteBuffer for zero-copy access. Flag: android.content.pm.cache_sdk_system_features Bug: 326623529 Test: presubmit Change-Id: I905e82eb7ae3a6714cb3751280b927f8bb379358
Loading
Please register or sign in to comment