The number of hotseat icons at the bottom of the launcher desktop. Provide signed documents to customers after the version is released. System dialog box, clicking on the blank screen will not eliminate the dialog box.

The number of hotseat icons at the bottom of the launcher desktop:

vendor/mediatek/proprietary/packages/apps/Launcher3/res/xml/device_profiles.xml

This file contains the initial layout of all types of desktop layouts

Change it in the corresponding arrangement of components

launcher:defaultLayoutId="@xml/default_workspace_4x4"

Modify the attribute launcher:numHotseatIcons="4"

There are a lot of 4×4s in it, all of them have been changed, no matter which one he goes

After the version is released, provide the customer with the signature file:

vendor/freeme/build/target/product/security下

Files with platform, platform.x509.pem, and platform.pk8

System dialog box, clicking on the blank screen will not dismiss the dialog box:

frameworks/base/core/java/android/app/Dialog.java

public void setCanceledOnTouchOutside(booleancancel) {
       if (cancel && !mCancelable) {
           mCancelable = true;
           updateWindowForCancelable();
       }
       
       /*/tyd.yantao 20230131 can not click the screen to exit
       mWindow.setCloseOnTouchOutside(cancel);
       //*/
       mWindow.setCloseOnTouchOutside(false);
       //*/
    }

Guess you like

Origin blog.csdn.net/youthking1314/article/details/128913366