Skip to content
This repository has been archived by the owner on Sep 30, 2018. It is now read-only.

Commit

Permalink
[droid] fix up some strings after org.xbmc rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory Fields committed Jul 2, 2012
1 parent ddfc225 commit 59447bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xbmc/android/activity/XBMCApp.cpp
Expand Up @@ -626,7 +626,7 @@ bool CXBMCApp::getWakeLock()

jobject activity = m_activity->clazz;
jclass activityClass = env->GetObjectClass(activity);
jstring jXbmcPackage = env->NewStringUTF("org.xbmc");
jstring jXbmcPackage = env->NewStringUTF("org.xbmc.xbmc");

// get the wake lock
jmethodID midGetSystemService = env->GetMethodID(activityClass, "getSystemService", "(Ljava/lang/String;)Ljava/lang/Object;");
Expand Down
2 changes: 1 addition & 1 deletion xbmc/android/activity/android_main.cpp
Expand Up @@ -132,7 +132,7 @@ void setup_env(struct android_app* state)
{
// Get the path to the internal storage by employing JNI
// For more details see the comment on getting the path to the external storage
jstring jstrName = env->NewStringUTF("org.xbmc");
jstring jstrName = env->NewStringUTF("org.xbmc.xbmc");
jmethodID getDir = env->GetMethodID(activityClass, "getDir", "(Ljava/lang/String;I)Ljava/io/File;");
jobject jInternalDir = env->CallObjectMethod(activity, getDir, jstrName, 1 /* MODE_WORLD_READABLE */);
env->DeleteLocalRef(jstrName);
Expand Down

0 comments on commit 59447bb

Please sign in to comment.