1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2025-01-30 08:25:01 +01:00

updated version code

This commit is contained in:
Mariotaku Lee 2015-04-04 05:20:07 +08:00
parent 8d6c2629a1
commit 4b32455fa2
2 changed files with 1 additions and 17 deletions

View File

@ -10,7 +10,7 @@ android {
applicationId "org.mariotaku.twidere"
minSdkVersion 14
targetSdkVersion 22
versionCode 104
versionCode 105
versionName "0.3.0"
multiDexEnabled true
}

View File

@ -422,14 +422,6 @@ public class ThemeUtils implements Constants {
}
}
@Deprecated
public static Drawable getActionBarBackground(final Context context, final boolean applyAlpha) {
final TypedArray a = context.obtainStyledAttributes(null, new int[]{android.R.attr.background},
android.R.attr.actionBarStyle, 0);
final Drawable d = a.getDrawable(0);
a.recycle();
return applyActionBarDrawable(context, d, applyAlpha);
}
public static Drawable getActionBarBackground(final Context context, final int themeRes) {
final TypedArray a1 = context.obtainStyledAttributes(null, new int[]{android.R.attr.background},
@ -494,14 +486,6 @@ public class ThemeUtils implements Constants {
return new ContextThemeWrapper(context, resId);
}
@Deprecated
public static Drawable getActionBarSplitBackground(final Context context, final boolean applyAlpha) {
final TypedArray a = context.obtainStyledAttributes(null, new int[]{android.R.attr.backgroundSplit},
android.R.attr.actionBarStyle, 0);
final Drawable d = a.getDrawable(0);
a.recycle();
return applyActionBarDrawable(context, d, applyAlpha);
}
public static Drawable getActionBarSplitBackground(final Context context, final int themeRes) {
final TypedArray a = context.obtainStyledAttributes(null, new int[]{android.R.attr.backgroundSplit},