“Wallpapers“ should not list under settings-Wallpaper.

Issue:
"

Actual Results: "Wallpapers" option list under settings-Wallpaper.

Expected Results: "Wallpapers" should not list under settings-Wallpaper.

Reproduction Steps:

  1. Flash the latest Product daily build and boot up to system
  2. Go to Settings -> Wallpaper, check
  3. "Wallpapers" option shows in wallpaper page=>Problem

"


Solution:
"Solution: Remove wallpaper app"
/frameworks/base/services/core/java/com/android/server/pm/InstallPackageHelper.java

@GuardedBy({"mPm.mInstallLock", "mPm.mLock"})
    public void installPackagesFromDir(File scanDir, List frameworkSplits, int parseFlags,
            int scanFlags, PackageParser2 packageParser,
            ExecutorService executorService) {
        final File[] files = scanDir.listFiles();
        if (ArrayUtils.isEmpty(files)) {
            Log.d(TAG, "No files in app dir " + scanDir);
            return;
        }
...
 //BSPA-242692 WallpaperPicker2 is not used by Jaws/Nazares
            if (!ZebraUtils.isXXX().orElse(false) && !ZebraUtils.isXXX().orElse(false)) {
                if (file.getName().equals("WallpaperPicker2")) {
                    continue;
                }
            }
...
}

你可能感兴趣的:(list,windows,服务器)