Skip to content

Commit 9005dce

Browse files
committed
adapt app restriction xml
1 parent a641525 commit 9005dce

File tree

1 file changed

+28
-33
lines changed

1 file changed

+28
-33
lines changed
+28-33
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,36 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<restrictions xmlns:android="http://schemas.android.com/apk/res/android" >
33
<restriction
4-
android:key="server_list"
5-
android:restrictionType="bundle_array"
6-
android:title="@string/server_list">
4+
android:key="server_configuration"
5+
android:restrictionType="bundle"
6+
android:title="@string/server_configuration">
77
<restriction
8-
android:key="server_configuration"
9-
android:restrictionType="bundle"
10-
android:title="@string/server_configuration">
11-
<restriction
12-
android:key="server_url"
13-
android:restrictionType="string"
14-
android:title="@string/server_url"/>
15-
<restriction
16-
android:key="server_tag"
8+
android:key="server_url"
9+
android:restrictionType="string"
10+
android:title="@string/server_url"/>
11+
<restriction
12+
android:key="server_tag"
13+
android:restrictionType="string"
14+
android:title="@string/server_tag"/>
15+
<restriction
16+
android:key="server_login"
17+
android:restrictionType="string"
18+
android:title="@string/server_login"/>
19+
<restriction
20+
android:key="server_password"
1721
android:restrictionType="string"
18-
android:title="@string/server_tag"/>
19-
<restriction
20-
android:key="server_login"
22+
android:title="@string/server_password"/>
23+
<restriction
24+
android:defaultValue="@string/default_server_itemtype"
25+
android:description="@string/server_itemtype"
26+
android:entries="@array/entries_server_itemtype"
27+
android:entryValues="@array/entry_values_server_itemtype"
28+
android:key="server_itemtype"
29+
android:restrictionType="choice"
30+
android:title="@string/title_server_itemtype"/>
31+
<restriction
32+
android:key="server_custom_asset_serial"
2133
android:restrictionType="string"
22-
android:title="@string/server_login"/>
23-
<restriction
24-
android:key="server_password"
25-
android:restrictionType="string"
26-
android:title="@string/server_password"/>
27-
<restriction
28-
android:defaultValue="@string/default_server_itemtype"
29-
android:description="@string/server_itemtype"
30-
android:entries="@array/entries_server_itemtype"
31-
android:entryValues="@array/entry_values_server_itemtype"
32-
android:key="server_itemtype"
33-
android:restrictionType="choice"
34-
android:title="@string/title_server_itemtype"/>
35-
<restriction
36-
android:key="server_custom_asset_serial"
37-
android:restrictionType="string"
38-
android:title="@string/server_custom_asset_serial"/>
39-
</restriction>
34+
android:title="@string/server_custom_asset_serial"/>
4035
</restriction>
4136
</restrictions>

0 commit comments

Comments
 (0)