feat: Add A13 per-app language preference compatibility with the existing language chooser

This commit is contained in:
Prathamesh More 2023-03-18 15:50:50 +05:30
parent 4e557fffae
commit e483038b6c
11 changed files with 113 additions and 45 deletions

View file

@ -8,8 +8,8 @@ import androidx.fragment.app.FragmentActivity
fun Context.setUpMediaRouteButton(menu: Menu) {}
fun FragmentActivity.installLanguageAndRecreate(code: String) {
recreate()
fun FragmentActivity.installLanguageAndRecreate(code: String, onInstallComplete: () -> Unit) {
onInstallComplete()
}
fun Context.goToProVersion() {}