X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2FAppCompatPreferenceActivity.java;h=359bbad69a3d8005724bb411278a3dbd40f15277;hp=5dc341a46c0630b01b0d0ff2e2c87416dcb277d8;hb=8b2a83f10265f8c8e8044b8dd990337283834afd;hpb=74b1f5d262a15f9a5a394aca1c4d2438dc54c14a diff --git a/app/src/main/java/net/ktnx/mobileledger/AppCompatPreferenceActivity.java b/app/src/main/java/net/ktnx/mobileledger/AppCompatPreferenceActivity.java index 5dc341a4..359bbad6 100644 --- a/app/src/main/java/net/ktnx/mobileledger/AppCompatPreferenceActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/AppCompatPreferenceActivity.java @@ -1,9 +1,27 @@ +/* + * Copyright © 2018 Damyan Ivanov. + * This file is part of Mobile-Ledger. + * Mobile-Ledger is free software: you can distribute it and/or modify it + * under the term of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your opinion), any later version. + * + * Mobile-Ledger is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License terms for details. + * + * You should have received a copy of the GNU General Public License + * along with Mobile-Ledger. If not, see . + */ + package net.ktnx.mobileledger; import android.content.res.Configuration; import android.os.Bundle; import android.preference.PreferenceActivity; import android.support.annotation.LayoutRes; +import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatDelegate; @@ -41,6 +59,7 @@ public abstract class AppCompatPreferenceActivity extends PreferenceActivity { getDelegate().setSupportActionBar(toolbar); } + @NonNull @Override public MenuInflater getMenuInflater() { return getDelegate().getMenuInflater();