LibreOffice Module android (master) 1
LibreOfficeApplication.java
Go to the documentation of this file.
1/*
2 *
3 * * This file is part of the LibreOffice project.
4 * *
5 * * This Source Code Form is subject to the terms of the Mozilla Public
6 * * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 */
10
11package org.libreoffice;
12
13import android.content.Context;
14import android.os.Handler;
15import androidx.multidex.MultiDexApplication;
16
17public class LibreOfficeApplication extends MultiDexApplication {
18
19 private static Handler mainHandler;
20
22 mainHandler = new Handler();
23 }
24
25 public static Handler getMainHandler() {
26 return mainHandler;
27 }
28
29 @Override
30 protected void attachBaseContext(Context base) {
31 super.attachBaseContext(LocaleHelper.onAttach(base));
32 }
33}
static Context onAttach(Context context)
void const * base