Skip to content

Commit

Permalink
modified: AndroidManifest.xml
Browse files Browse the repository at this point in the history
	modified:   res/values/strings.xml
	modified:   src/org/liberty/android/fantastischmemo/cardscreen/MemoScreen.java

* Refresh the widget information when exiting from MemoScreen
  • Loading branch information
helloworld1 committed Jun 19, 2011
1 parent 014294c commit 20a99b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AndroidManifest.xml
Expand Up @@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.liberty.android.fantastischmemo"
android:installLocation="auto"
android:versionCode="128"
android:versionCode="129"
android:versionName="@string/app_version">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Expand Down
2 changes: 1 addition & 1 deletion res/values/strings.xml
Expand Up @@ -2,7 +2,7 @@
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<string name="app_name">AnyMemo</string>
<string name="app_full_name">AnyMemo Free</string>
<string name="app_version">8.0.1</string>
<string name="app_version">8.1.0</string>
<string name="up_one_level">..</string>
<string name="current_dir">.</string>
<string name="ok_text">OK</string>
Expand Down
Expand Up @@ -187,7 +187,10 @@ public void onDestroy(){
if(queueManager != null){
queueManager.close();
}
/* Busy wait for the IO thread complete */
/* Update the widget because MemoScreen can be accessed though widget*/
Intent myIntent = new Intent(this, AnyMemoService.class);
myIntent.putExtra("request_code", AnyMemoService.CANCEL_NOTIFICATION | AnyMemoService.UPDATE_WIDGET);
startService(myIntent);
super.onDestroy();
}

Expand Down

0 comments on commit 20a99b8

Please sign in to comment.