1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2018 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<resources>
18    <overlayable name="OverlayableResources1" actor="overlay://theme">
19        <!-- Any overlay on the product or system partition can overlay the value of
20            @string/overlayable2 -->
21        <policy type="product|system">
22            <item type="string" name="overlayable2" />
23        </policy>
24
25        <!-- Any overlay can overlay the value of @string/overlayable4 -->
26        <policy type="public">
27            <item type="string" name="overlayable1" />
28            <item type="string" name="overlayable4" />
29        </policy>
30    </overlayable>
31
32    <overlayable name="OverlayableResources2" actor="overlay://com.android.overlayable">
33        <!-- Any overlay on the vendor or product partition can overlay the value of
34            @string/overlayable3 -->
35        <policy type="vendor|product">
36            <item type="string" name="overlayable3" />
37        </policy>
38    </overlayable>
39
40    <overlayable name="OverlayableResources3">
41        <policy type="public">
42            <item type="string" name="overlayable5" />
43            <item type="string" name="overlayable6" />
44            <item type="string" name="overlayable7" />
45            <item type="string" name="overlayable8" />
46            <item type="string" name="overlayable9" />
47            <item type="string" name="overlayable10" />
48            <item type="string" name="overlayable11" />
49            <item type="integer" name="config_int" />
50            <item type="id" name="hello_view" />
51            <item type="attr" name="max_lines" />
52            <item type="layout" name="hello_view" />
53        </policy>
54    </overlayable>
55</resources>