forked from len0rd/rockbox
android: Fix crash on start up.
Change-Id: I0343de9347d100182c2ffd28058ac61f15097cc3
This commit is contained in:
parent
3414c952b9
commit
4e8893b874
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ void notification_init(void)
|
||||||
{
|
{
|
||||||
JNIEnv e = *env_ptr;
|
JNIEnv e = *env_ptr;
|
||||||
jfieldID nNM = e->GetFieldID(env_ptr, RockboxService_class,
|
jfieldID nNM = e->GetFieldID(env_ptr, RockboxService_class,
|
||||||
"fg_runner", "Lorg/rockbox/Helper/RunForegroundManager;");
|
"mFgRunner", "Lorg/rockbox/Helper/RunForegroundManager;");
|
||||||
NotificationManager_instance = e->GetObjectField(env_ptr,
|
NotificationManager_instance = e->GetObjectField(env_ptr,
|
||||||
RockboxService_instance, nNM);
|
RockboxService_instance, nNM);
|
||||||
if (NotificationManager_instance == NULL)
|
if (NotificationManager_instance == NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue