config: common: Build CustomLocale for non-stable builds
Summary
This builds the CustomLocale package which allows changing locale from the command line. This is useful for testing translations. Therefore, building it for non-stable builds by default means test and dev builds that are targeted toward developers and advanced users.
Issue(s)
Usage
Example usage where $language
is the locale code for the said language (for e.g. en
for english):
adb shell am broadcast -a com.android.intent.action.SET_LOCALE --es com.android.intent.extra.LOCALE $language com.android.customlocale2