diff options
-rw-r--r-- | AndroidManifest.xml | 1 | ||||
-rw-r--r-- | src/com/android/stk/StkAppInstaller.java | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 3f69b32..097cf47 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -34,6 +34,7 @@ <activity android:name="StkMain" android:theme="@android:style/Theme.NoDisplay" android:label="@string/app_name" + android:enabled="false" android:taskAffinity="android.task.stk.StkLauncherActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> diff --git a/src/com/android/stk/StkAppInstaller.java b/src/com/android/stk/StkAppInstaller.java index 3208ba8..2d06e59 100644 --- a/src/com/android/stk/StkAppInstaller.java +++ b/src/com/android/stk/StkAppInstaller.java @@ -31,7 +31,7 @@ import android.os.SystemProperties; * */ abstract class StkAppInstaller { - private static final String STK_LAUNCHER_ACTIVITY = "com.android.stk.StkLauncherActivity"; + private static final String STK_MAIN_ACTIVITY = "com.android.stk.StkMain"; private static final String LOG_TAG = "StkAppInstaller"; private StkAppInstaller() { @@ -57,7 +57,7 @@ abstract class StkAppInstaller { CatLog.d(LOG_TAG, "[setAppState]- no package manager, just return."); return; } - ComponentName cName = new ComponentName("com.android.stk", STK_LAUNCHER_ACTIVITY); + ComponentName cName = new ComponentName("com.android.stk", STK_MAIN_ACTIVITY); int state = install ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED : PackageManager.COMPONENT_ENABLED_STATE_DISABLED; |