Skip to content

Commit

Permalink
perf(YouTube/GmsCore support): improve performance by using hashsets
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 committed Oct 20, 2024
1 parent 194ca27 commit cae2f6c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit cae2f6c

Please sign in to comment.