Use Context/PermissionManager for NM.areNotificationsEnabled()
Instead of calling into NMS to perform the same query. The advantage is that PermissionManager caches results client-side. Bug: 379323264 Test: CTS Flag: android.app.nm_binder_perf_permission_check Change-Id: I93b8491924f570cb69ef5b0972243241e66c72c1
Loading
Please register or sign in to comment