mirror of
https://github.com/revanced/revanced-patches
synced 2024-10-31 08:43:20 +01:00
perf(YouTube - GmsCore support): Improve performance by using hashsets
This commit is contained in:
parent
ece86f217b
commit
2c5d390fb1
@ -249,7 +249,7 @@ abstract class BaseGmsCoreSupportPatch(
|
|||||||
/**
|
/**
|
||||||
* A list of all permissions.
|
* A list of all permissions.
|
||||||
*/
|
*/
|
||||||
val PERMISSIONS = listOf(
|
val PERMISSIONS = setOf(
|
||||||
// C2DM / GCM
|
// C2DM / GCM
|
||||||
"com.google.android.c2dm.permission.RECEIVE",
|
"com.google.android.c2dm.permission.RECEIVE",
|
||||||
"com.google.android.c2dm.permission.SEND",
|
"com.google.android.c2dm.permission.SEND",
|
||||||
@ -266,7 +266,7 @@ abstract class BaseGmsCoreSupportPatch(
|
|||||||
/**
|
/**
|
||||||
* All intent actions.
|
* All intent actions.
|
||||||
*/
|
*/
|
||||||
val ACTIONS = listOf(
|
val ACTIONS = setOf(
|
||||||
// location
|
// location
|
||||||
"com.google.android.gms.location.places.ui.PICK_PLACE",
|
"com.google.android.gms.location.places.ui.PICK_PLACE",
|
||||||
"com.google.android.gms.location.places.GeoDataApi",
|
"com.google.android.gms.location.places.GeoDataApi",
|
||||||
@ -345,7 +345,7 @@ abstract class BaseGmsCoreSupportPatch(
|
|||||||
/**
|
/**
|
||||||
* All content provider authorities.
|
* All content provider authorities.
|
||||||
*/
|
*/
|
||||||
val AUTHORITIES = listOf(
|
val AUTHORITIES = setOf(
|
||||||
// gsf
|
// gsf
|
||||||
"com.google.android.gsf.gservices",
|
"com.google.android.gsf.gservices",
|
||||||
"com.google.settings",
|
"com.google.settings",
|
||||||
|
Loading…
Reference in New Issue
Block a user