user3666070
user3666070

Reputation: 15

Cannot kill recent task manager when Make home launcher application

I try to make home launcher application with this in manifest.xml

       <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.DEFAULT"/>
            <category android:name="android.intent.category.HOME"/>
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>

but When I press recent task button, recent task manager overlay on my app and cannot kill and cannot return to home launcher. (But some touch event is working)

I try to solve this with change task order, but it not worked

        ActivityManager activityManager = (ActivityManager) getApplicationContext()
                .getSystemService(Context.ACTIVITY_SERVICE);
        activityManager.moveTaskToFront(getTaskId(), 0);

Is there same problome and solution in this case?

Upvotes: 0

Views: 44

Answers (1)

user3666070
user3666070

Reputation: 15

I solve this problem. I still don't know reason, but stype option windowIsTranslucent was crush with system application. Then, I disable windowIsTranslucent, and solve it

Upvotes: 0

Related Questions