This CL aims at refactoring WallpaperXMLParser such that we have all the logic for category fetching in a single place. Bug: 338278751 Test: Tested by building and installing picker on local, also by unit tests. Flag: ACONFIG com.android.wallpaper.refactor_wallpaper_category_flag DEVELOPMENT Change-Id: I15724ebd982e4be8cb3ed681bb059894314526c0
23 lines
900 B
XML
23 lines
900 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (C) 2024 The Android Open Source Project
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
<wallpapers>
|
|
<category id="category1" title="Category 1">
|
|
<static-wallpaper id="wallpaper1" src="wallpaper1.jpg" />
|
|
<static-wallpaper id="wallpaper2" src="wallpaper2.jpg" />
|
|
</category>
|
|
</wallpapers> |