Localized services

This commit is contained in:
M66B 2022-12-14 16:43:33 +01:00
parent 5731e82b68
commit 4866510857
1 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,7 @@ package eu.faircode.email;
Copyright 2018-2022 by Marcel Bokhorst (M66B)
*/
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
@ -29,6 +30,11 @@ import java.util.HashMap;
import java.util.Map;
abstract class ServiceBase extends LifecycleService {
@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(ApplicationEx.getLocalizedContext(base));
}
@Override
public void onCreate() {
Map<String, String> crumb = new HashMap<>();