On Attach fix

This commit is contained in:
Mieszko Wrzeszczyński 2019-01-11 00:34:04 +01:00
parent 311cd7868b
commit 2f25f06d18
2 changed files with 4 additions and 1 deletions

View File

@ -6,6 +6,7 @@ import android.content.SharedPreferences;
import android.content.res.Configuration;
import com.uam.wmi.findmytutor.utils.Const;
import com.uam.wmi.findmytutor.utils.LocaleHelper;
import static org.acra.ReportField.*;
import org.acra.ACRA;
@ -27,7 +28,7 @@ import java.util.Map;
public class FindMyTutor extends Application {
@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
super.attachBaseContext(LocaleHelper.onAttach(base));
// ACRA core
CoreConfigurationBuilder builder = new CoreConfigurationBuilder(this)

View File

@ -21,6 +21,8 @@ public class StartupActivity extends AppCompatActivity {
private static final int AUTHENTICATION_REQUEST_CODE = 666;
String currentLang;
@Override
protected void onCreate(Bundle savedInstanceState) {