diff options
Diffstat (limited to 'core/res')
-rw-r--r-- | core/res/AndroidManifest.xml | 8 | ||||
-rw-r--r-- | core/res/res/values/styles_micro.xml | 22 | ||||
-rw-r--r-- | core/res/res/values/themes_micro.xml | 27 |
3 files changed, 53 insertions, 4 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index b198937..e7db535 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1288,7 +1288,7 @@ <!-- @hide Allows an application to create/manage/remove stacks --> <permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" android:permissionGroup="android.permission-group.APP_INFO" - android:protectionLevel="signature" + android:protectionLevel="signature|system" android:label="@string/permlab_manageActivityStacks" android:description="@string/permdesc_manageActivityStacks" /> @@ -2356,13 +2356,13 @@ @hide --> <permission android:name="android.permission.READ_DREAM_STATE" android:permissionGroup="android.permission-group.SYSTEM_TOOLS" - android:protectionLevel="signature" /> + android:protectionLevel="signature|system" /> <!-- Allows applications to write dream settings, and start or stop dreaming. @hide --> <permission android:name="android.permission.WRITE_DREAM_STATE" android:permissionGroup="android.permission-group.SYSTEM_TOOLS" - android:protectionLevel="signature" /> + android:protectionLevel="signature|system" /> <!-- Allow an application to read and write the cache partition. @hide --> @@ -2522,7 +2522,7 @@ android:hasCode="false" android:label="@string/android_system_label" android:allowClearUserData="false" - android:backupAgent="com.android.server.SystemBackupAgent" + android:backupAgent="com.android.server.backup.SystemBackupAgent" android:killAfterRestore="false" android:icon="@drawable/ic_launcher_android" android:supportsRtl="true"> diff --git a/core/res/res/values/styles_micro.xml b/core/res/res/values/styles_micro.xml new file mode 100644 index 0000000..2fd283e --- /dev/null +++ b/core/res/res/values/styles_micro.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright (C) 2014 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. +--> +<resources> + <style name="Widget.Micro" parent="Widget.Holo" /> + + <style name="Widget.Micro.TextView"> + <item name="android:fontFamily">sans-serif-condensed</item> + </style> +</resources> diff --git a/core/res/res/values/themes_micro.xml b/core/res/res/values/themes_micro.xml new file mode 100644 index 0000000..be5fa99 --- /dev/null +++ b/core/res/res/values/themes_micro.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright (C) 2014 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. +--> +<resources> + <style name="Theme.Micro" parent="Theme.Holo" /> + + <style name="Theme.Micro.Light" parent="Theme.Holo.Light"/> + <style name="Theme.Micro.Light.NoActionBar" parent="Theme.Holo.Light.NoActionBar"> + <item name="textViewStyle">@android:style/Widget.Micro.TextView</item> + </style> + <style name="Theme.Micro.Light.DarkActionBar" parent="Theme.Holo.Light.DarkActionBar"> + <item name="textViewStyle">@android:style/Widget.Micro.TextView</item> + </style> + +</resources> |