forked from upstream-mirrors/quik
fixed a typo
This commit is contained in:
+5
-5
@@ -16,12 +16,12 @@ public class EndlessJabberWakefulService extends IntentService {
|
|||||||
Context context = getApplicationContext();
|
Context context = getApplicationContext();
|
||||||
|
|
||||||
// Get the class to call
|
// Get the class to call
|
||||||
String implemenationClass = context.getSharedPreferences("EndlessJabberSDK", Context.MODE_PRIVATE).getString("InterfaceClass", null);
|
String implementationClass = context.getSharedPreferences("EndlessJabberSDK", Context.MODE_PRIVATE).getString("InterfaceClass", null);
|
||||||
|
|
||||||
if (implemenationClass != null) {
|
if (implementationClass != null) {
|
||||||
IEndlessJabberImplementation instanceOfMyClass;
|
IEndlessJabberImplementation instanceOfMyClass;
|
||||||
try {
|
try {
|
||||||
instanceOfMyClass = (IEndlessJabberImplementation) Class.forName(implemenationClass).newInstance();
|
instanceOfMyClass = (IEndlessJabberImplementation) Class.forName(implementationClass).newInstance();
|
||||||
|
|
||||||
Bundle extras = intent.getExtras();
|
Bundle extras = intent.getExtras();
|
||||||
|
|
||||||
@@ -67,9 +67,9 @@ public class EndlessJabberWakefulService extends IntentService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (InstantiationException e) {
|
} catch (InstantiationException e) {
|
||||||
|
|
|
||||||
} catch (IllegalAccessException e) {
|
} catch (IllegalAccessException e) {
|
||||||
|
|
|
||||||
} catch (ClassNotFoundException e) {
|
} catch (ClassNotFoundException e) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user