mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-23 18:37:14 +02:00
perf(YouTube/GmsCore support): improve performance by using hashsets
This commit is contained in:
parent
194ca27cb3
commit
cae2f6cab6
@ -344,7 +344,7 @@ abstract class BaseGmsCoreSupportPatch(
|
||||
/**
|
||||
* A list of all permissions.
|
||||
*/
|
||||
val PERMISSIONS = listOf(
|
||||
val PERMISSIONS = setOf(
|
||||
// C2DM / GCM
|
||||
"com.google.android.c2dm.permission.RECEIVE",
|
||||
"com.google.android.c2dm.permission.SEND",
|
||||
@ -366,7 +366,7 @@ abstract class BaseGmsCoreSupportPatch(
|
||||
/**
|
||||
* All intent actions.
|
||||
*/
|
||||
val ACTIONS = listOf(
|
||||
val ACTIONS = setOf(
|
||||
// location
|
||||
"com.google.android.gms.location.places.ui.PICK_PLACE",
|
||||
"com.google.android.gms.location.places.GeoDataApi",
|
||||
@ -463,7 +463,7 @@ abstract class BaseGmsCoreSupportPatch(
|
||||
/**
|
||||
* All content provider authorities.
|
||||
*/
|
||||
val AUTHORITIES = listOf(
|
||||
val AUTHORITIES = setOf(
|
||||
// gsf
|
||||
"com.google.android.gsf.gservices",
|
||||
"com.google.settings",
|
||||
|
Loading…
x
Reference in New Issue
Block a user