diff options
author | Thomas Martitz <kugel@rockbox.org> | 2012-03-30 11:21:31 +0200 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2012-03-30 11:23:07 +0200 |
commit | 4e8893b87489849d8294e9787e070a62b6669373 (patch) | |
tree | 24c4fb9e8221a693f69e2ce813acc6633ccc90e1 | |
parent | 3414c952b9dea0d22c5cd0f2b3993f12f6114cf8 (diff) | |
download | rockbox-4e8893b87489849d8294e9787e070a62b6669373.tar.gz rockbox-4e8893b87489849d8294e9787e070a62b6669373.zip |
android: Fix crash on start up.
Change-Id: I0343de9347d100182c2ffd28058ac61f15097cc3
-rw-r--r-- | apps/hosted/android/notification.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/hosted/android/notification.c b/apps/hosted/android/notification.c index 2c814b06a6..4bb8d0a528 100644 --- a/apps/hosted/android/notification.c +++ b/apps/hosted/android/notification.c | |||
@@ -124,7 +124,7 @@ void notification_init(void) | |||
124 | { | 124 | { |
125 | JNIEnv e = *env_ptr; | 125 | JNIEnv e = *env_ptr; |
126 | jfieldID nNM = e->GetFieldID(env_ptr, RockboxService_class, | 126 | jfieldID nNM = e->GetFieldID(env_ptr, RockboxService_class, |
127 | "fg_runner", "Lorg/rockbox/Helper/RunForegroundManager;"); | 127 | "mFgRunner", "Lorg/rockbox/Helper/RunForegroundManager;"); |
128 | NotificationManager_instance = e->GetObjectField(env_ptr, | 128 | NotificationManager_instance = e->GetObjectField(env_ptr, |
129 | RockboxService_instance, nNM); | 129 | RockboxService_instance, nNM); |
130 | if (NotificationManager_instance == NULL) | 130 | if (NotificationManager_instance == NULL) |