(11) Android Launcher customization: 4.4 latest desktop single-layer, dual-layer switch function, androidlauncher

Source: Internet
Author: User

(11) Android Launcher customization: 4.4 latest desktop single-layer, dual-layer switch function, androidlauncher

Recently, it took a few nights to import the latest 4.4 desktop to eclipse and fixed some errors. It can finally run.

It is found that the single screen code on 4.4luancher has changed.

Find it and configure it in LauncherAppState.

You can achieve single-or double-layer switching.

Public static boolean isDisableAllApps (){
// Returns false on non-dogfood builds.
Return getInstance (). mBuildInfo. isDogfoodBuild ()&&
Launcher. isPropertyEnabled (Launcher. disable_all_assist_property );
}

Related Article

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.