fix a large amount of deprecated and ide warnings
This commit is contained in:
parent
d301b34453
commit
beca66459b
26 changed files with 111 additions and 122 deletions
|
|
@ -13,15 +13,15 @@ import com.dkanada.gramophone.views.shortcuts.AppShortcutLauncherActivity;
|
|||
@TargetApi(Build.VERSION_CODES.O)
|
||||
public abstract class BaseShortcutType {
|
||||
|
||||
static final String PREFIX = BuildConfig.APPLICATION_ID + ".views.shortcut";
|
||||
protected static final String PREFIX = BuildConfig.APPLICATION_ID + ".views.shortcut";
|
||||
|
||||
Context context;
|
||||
protected final Context context;
|
||||
|
||||
public BaseShortcutType(Context context) {
|
||||
this.context = context;
|
||||
}
|
||||
|
||||
static public String getId() {
|
||||
public static String getId() {
|
||||
return PREFIX + ".base";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue