Skip to content

Commit

Permalink
Fix NoSuchMethodError on Android 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
iSoron committed Oct 11, 2016
1 parent 4624acd commit 908fd1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<manifest
package="org.isoron.uhabits"
xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="24"
android:versionName="1.6.1">
android:versionCode="25"
android:versionName="1.6.2">

<uses-permission android:name="android.permission.VIBRATE"/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static SimpleDateFormat fromSkeleton(@NonNull String skeleton)
{
Locale locale = Locale.getDefault();

if (SDK_INT >= JELLY_BEAN)
if (SDK_INT >= JELLY_BEAN_MR2)
skeleton = getBestDateTimePattern(locale, skeleton);

return fromSkeleton(skeleton, locale);
Expand Down

0 comments on commit 908fd1d

Please sign in to comment.