AppLocalesMetadataHolderService

A placeholder service to avoid adding application-level metadata. The service is only used to expose metadata defined in the library's manifest. It is never invoked.

This metadata boolean collected from the key "autoStoreLocales" is used as an opt-in from the developers to automatically store locales provided by them through the API setApplicationLocales.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@NonNull
open fun getServiceInfo(@NonNull context: @NonNull Context): @NonNull ServiceInfo
Returns the ServiceInfo for the declared AppLocalesMetadataHolderService.
Link copied to clipboard
@NonNull
open fun onBind(@NonNull intent: @NonNull Intent): @NonNull IBinder