update version codes and application id throughout the codebase

This commit is contained in:
dkanada 2021-04-24 18:45:59 +09:00
commit 2b7d7308d3
11 changed files with 30 additions and 43 deletions

View file

@ -22,7 +22,6 @@ import androidx.annotation.Nullable;
import com.dkanada.gramophone.R;
public class Util {
public static int getActionBarSize(@NonNull Context context) {
TypedValue typedValue = new TypedValue();
int[] textSizeAttr = new int[]{R.attr.actionBarSize};
@ -76,12 +75,4 @@ public class Util {
a.recycle();
return dimensionPixelSize;
}
@TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1)
public static boolean isRTL(@NonNull Context context) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
Configuration config = context.getResources().getConfiguration();
return config.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;
} else return false;
}
}