Skip to content

Commit

Permalink
fix a crash, update readme, and bump the version number for 2.3.0 rel…
Browse files Browse the repository at this point in the history
…ease.
  • Loading branch information
ahmedre committed Mar 31, 2013
1 parent c3d3618 commit 69b60c0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ Open Source Projects Used

Changelog
---------
**version 2.3.0 (in development)**
**version 2.3.0** (released 3/31/2013)
- sheikh Sudais gapless (thanks br Redouane Chaar)
- tag improvements (batch tag operations, etc) [\#235](https://github.com/ahmedre/quran_android/issues/235)
- anti-alias overlay text (thanks @boussouira)
- bookmark and highlighting code improvements and bugfixes
Expand All @@ -80,6 +81,7 @@ Changelog
- numbers are now localized properly
- [quranapp.com](http://quranapp.com) sharing support
- translation text highlights when audio is playing [\#254](https://github.com/ahmedre/quran_android/issues/254)
- assorted bugfixes

**version 2.2.1** (released 12/31/2012)

Expand Down
4 changes: 2 additions & 2 deletions app/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.quran.labs.androidquran" android:versionCode="221"
android:versionName="2.2.1"
package="com.quran.labs.androidquran" android:versionCode="230"
android:versionName="2.3.0"
android:installLocation="auto">

<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="14" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,12 @@ public void onCreate(Bundle savedInstanceState){

// initialize ayah info database
String filename = QuranFileUtils.getAyaPositionFileName();
mAyahInfoAdapter = new AyahInfoDatabaseHandler(filename);
try {
mAyahInfoAdapter = new AyahInfoDatabaseHandler(filename);
}
catch (Exception e){
// no ayah info database available
}

int page = -1;

Expand Down Expand Up @@ -485,7 +490,9 @@ protected void onDestroy() {
}

mBookmarksAdapter.close();
mAyahInfoAdapter.closeDatabase();
if (mAyahInfoAdapter != null){
mAyahInfoAdapter.closeDatabase();
}
super.onDestroy();
}

Expand Down

0 comments on commit 69b60c0

Please sign in to comment.