-
public class CustomTabsHelperHelper class for Custom Tabs.
-
-
Method Summary
Modifier and Type Method Description static voidaddKeepAliveExtra(Context context, Intent intent)static StringgetPackageNameToUse(Context context)Goes through all apps that handle VIEW intents and have a warmup service. static Array<String>getPackages()-
-
Method Detail
-
addKeepAliveExtra
static void addKeepAliveExtra(Context context, Intent intent)
-
getPackageNameToUse
static String getPackageNameToUse(Context context)
Goes through all apps that handle VIEW intents and have a warmup service. Picksthe one chosen by the user if there is one, otherwise makes a best effort to return avalid package name.This is not threadsafe.
- Parameters:
context- Context to use for accessing PackageManager.
-
getPackages
static Array<String> getPackages()
-
-
-
-