88 Bug with program Lock (interface start clutter) fix (use activity startup mode [four])

Source: Internet
Author: User

In the phone butler, when entering the advanced tools and press the small house into the desktop, click on the Lock program, enter the password, would like to enter the password, enter the lock program, the results, into the mobile Phone Butler Advanced Tool interface, very strange! (interface-enabled clutter)

In fact, because each program has his own task stack, each activity starts when the stack, at the top of the stack. Cell phone Butler input password activity and his other activity in the same task stack, if the bottom of the stack is not input password activity, when the input password activity call finish, he out of the stack, then there are other activity at the top of the stack, This shows the other interface of the phone butler. In a word, the task stack where the password is entered is not in the task stack of the program to be launched.

Workaround: Specify the activity's startup mode

Android:launchmode= "SingleInstance"


Guo Lin's first line of code is very clear about the activation mode of activity.

88 Bug with program Lock (interface start clutter) fix (use activity startup mode [four])

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.