Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add files via upload #1

Open
wants to merge 60 commits into
base: n-mr1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
94e8ae4
Merge 50878ce55b762637c5b2092f29c50fb83497797f on remote branch
Sep 12, 2016
60a3cec
Settings: Occurred "com.android.settings" force close 15 times at
Sep 2, 2016
d6e9d3a
Settings : fix force close in monkey test
Sep 5, 2016
0a385ea
Settings: Fix settings force close in monkey test.
Sep 6, 2016
fdd81de
Merge "Settings : fix force close in monkey test"
Sep 13, 2016
959b716
Merge "Settings: Occurred "com.android.settings" force close 15 times…
Sep 13, 2016
d731668
Merge 0958a78753c47944d1e9f3b401d247361347ddc7 on remote branch
Sep 22, 2016
f831422
Merge 28c2392aa0e8dc31f2f8f50af848551d6f00ccf2 on remote branch
Oct 10, 2016
e1d3277
Merge 6e8046e47dbaa2befb63879cd94a373f0517cbf7 on remote branch
Oct 22, 2016
d5300b2
Settings: Add TMO control config for new code.
Oct 20, 2016
85ab0b2
Bluetooth Settings: Activity getting destroyed during orientation
Sep 23, 2016
c6115fc
HotSpot learning after initialize activated
Oct 25, 2016
4f04db1
Promotion of android_ui.lnx.2.1.c1-00001.
Oct 26, 2016
2177142
HotSpot: Mandatory Inactivity timer options
Oct 26, 2016
3f3c906
Settings: APN value change to "Not set" and APN disappeared
Oct 28, 2016
f54b22e
Promotion of android_ui.lnx.2.1.c1-00002.
Oct 28, 2016
e433647
Settings:Change the way of email account displayed
Sep 29, 2016
7490210
Merge "Settings:Change the way of email account displayed"
Oct 29, 2016
fa8957c
Promotion of android_ui.lnx.2.1.c1-00004.
Nov 1, 2016
3afa6e6
Settings: Fix settings force close in monkey test.
Nov 2, 2016
93d6c19
Settings:Fix settings config of show video call total data usage
Sep 1, 2016
90cdcc8
Promotion of android_ui.lnx.2.1.c1-00007.
Nov 4, 2016
1d5becb
Wifi: Check mAccessPoint object when adding network for EAP types
Oct 10, 2016
b6d4628
Merge 90cdcc84e5a23f26f389565e6b11d1652755f54b on remote branch
Nov 7, 2016
30cfbec
Settings: SMS provisioning changes
Nov 4, 2016
22a2e3c
Promotion of android_ui.lnx.2.1.c1-00009.
Nov 10, 2016
7f1e7c9
Null check intent before starting "learn more".
May 3, 2016
af150d5
Remove help links when device is not provisioned. DO NOT MERGE
Sep 2, 2016
a4e07a9
Bug fix: Settings: HotspotPreference.java
Nov 14, 2016
6d538dc
DeviceInfo:Add QGP Version For Global Pass Provisioning package
Nov 15, 2016
ba01d02
Merge "Bug fix: Settings: HotspotPreference.java"
Nov 18, 2016
1ab7140
Merge 22a2e3cb2dd952cd1c89e15103136b46bb8b7440 on remote branch
Nov 21, 2016
24d778d
Promotion of android_ui.lnx.2.1.c1-00013.
Nov 22, 2016
9b54873
Settings:Show the missed Personal account
Nov 23, 2016
050dfc2
Settings: Operator specific sim icon customisation.
Oct 27, 2016
3ecd2c3
Merge 24d778db5605ac0f17a2ef656046f34842d7b219 on remote branch
Nov 25, 2016
9ae8b16
Merge "Settings:Show the missed Personal account"
Nov 26, 2016
666a542
Settings: Lost cached BT devices in found devices list
Nov 29, 2016
8d3eeac
Promotion of android_ui.lnx.2.1.c1-00017.
Dec 5, 2016
3c5d9d2
Merge commit '86f1cc1bd28800a589cb2642eb082a8ab4683530' into remote
Dec 6, 2016
651e20d
Merge commit '819bbf1e649c2dfe823275cf531c5b4e5aa7cb26' into remote
Dec 7, 2016
1a69a7c
Merge 8d3eeac973f460304a2090c39793cc10842fb02c on remote branch
Dec 10, 2016
3737ef1
Merge 651e20d7d1fa76a0f0be7f8ae1edfdfed5e6cb49 on remote branch
Dec 15, 2016
f014e31
Settings : Fix settings option list can not show issues
Nov 22, 2016
b380807
Revert "Telephony(MSIM): Support to launch SimSettings from vendor sp…
Sep 2, 2016
a186055
SimSettings: avoid NPE
marado Nov 29, 2016
cca5c46
[3/3] Add "Accept all files" option for incoming files via BT
Apr 30, 2014
97f3deb
Settings: skip Misc/Overcounted battery stats in builds
Nov 22, 2016
89776de
settings: Add buttons customization fragment
kaluoshi Dec 27, 2015
2af3033
Settings: Expose dashboard category and tile color
ivaniskandar Sep 18, 2016
f458083
Settings: Expose condition card colors
daveyannihilation Sep 20, 2016
5b0ce24
Settings: Expose storage summary text
KreAch3R Nov 3, 2015
78675f8
Settings: Expose gesture settings switchbar
daveyannihilation Nov 25, 2016
0ca0fad
Settings: Expose storage icon colors
SpiritCroc Dec 8, 2016
5922619
Settings: Expose LinearColorBar default colors
SpiritCroc Dec 9, 2016
cb4efed
OMS7-N: Apps: show/hide Substratum overlays [2/2]
KreAch3R Jul 4, 2016
b64bd3c
Exclude overlays from the app counter
ivaniskandar Dec 9, 2016
7d2c72a
settings: Add button fragment summary
Meninblack007 Jan 10, 2017
2873d7e
settings: Enable gesture setting by default
Meninblack007 Jan 13, 2017
fddb185
Add files via upload
Wisllley Jan 21, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1061,6 +1061,45 @@
android:resource="@string/qtifeedback_settings_subtitle" />
</activity>

<!-- Buttons settings activity -->
<activity android:name="Settings$ButtonsSettingsActivity"
android:label="@string/buttons_pref_title"
android:icon="@drawable/ic_settings_buttons"
android:taskAffinity=""
android:exported="true">
<intent-filter android:priority="1">
<action android:name="com.android.settings.BUTTONS_SETTINGS" />
<action android:name="android.settings.BUTTONS_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.VOICE_LAUNCH" />
<category android:name="com.android.settings.SHORTCUT" />
</intent-filter>
<intent-filter android:priority="7">
<action android:name="com.android.settings.action.SETTINGS" />
</intent-filter>
<meta-data android:name="com.android.settings.category"
android:value="com.android.settings.category.device" />
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.ButtonsSettings" />
<meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
android:value="true" />
<meta-data android:name="com.android.settings.summary"
android:resource="@string/buttons_pref_summary" />
</activity>

<!-- Keep compatibility with old shortcuts. -->
<activity-alias android:name="ButtonsSettings"
android:label="@string/buttons_pref_title"
android:exported="true"
android:targetActivity="Settings$ButtonsSettingsActivity">
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.ButtonsSettings" />
</activity-alias>

<activity android:name="Settings$NightDisplaySettingsActivity"
android:label="@string/night_display_title"
android:enabled="@*android:bool/config_nightDisplayAvailable"
Expand Down Expand Up @@ -2978,6 +3017,10 @@
android:label="@string/sim_settings_title"
android:icon="@drawable/ic_settings_sim"
android:taskAffinity="">
<intent-filter android:priority="1">
<action android:name="com.android.settings.sim.SIM_SUB_INFO_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
Expand Down
21 changes: 21 additions & 0 deletions res/drawable/dashboard_category_title_bg.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2016 Project Substratum

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.
-->

<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/dashboard_category_title_background" />
</shape>
21 changes: 21 additions & 0 deletions res/drawable/dashboard_tile_bg.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2016 Project Substratum

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.
-->

<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/selectable_card_background" />
</shape>
31 changes: 31 additions & 0 deletions res/drawable/ic_settings_buttons.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>

<!--This icon is the property of The Paranoid Android project.

All our assets including but not limited to images, are licensed under Creative Commons Attribution-NonCommercial 4.0 International, or CC BY-NC 4.0 for short. This means that you are allowed to modify the aforementioned assets in any way you want and you are free to share the originals and/or the modified work. However, you are not allowed to use the assets for commercial purposes and you must provide attribution at all times which means you have to include a short note about the license used (CC BY-NC 4.0), the original author/authors (Paranoid Android Project or AOSPA) and inform about any changes that have been made. A link to the website should usually be included as well.-->


<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">

<path
android:name="Icon"
android:fillColor="#4285F4"
android:pathData="M12,5 C13.1045695,5 14,4.1045695 14,3 C14,1.8954305 13.1045695,1 12,1
C10.8954305,1 10,1.8954305 10,3 C10,4.1045695 10.8954305,5 12,5 Z M12,23
C13.1045695,23 14,22.1045695 14,21 C14,19.8954305 13.1045695,19 12,19
C10.8954305,19 10,19.8954305 10,21 C10,22.1045695 10.8954305,23 12,23 Z M12,11
C13.1045695,11 14,10.1045695 14,9 C14,7.8954305 13.1045695,7 12,7 C10.8954305,7
10,7.8954305 10,9 C10,10.1045695 10.8954305,11 12,11 Z M6,11 C7.1045695,11
8,10.1045695 8,9 C8,7.8954305 7.1045695,7 6,7 C4.8954305,7 4,7.8954305 4,9
C4,10.1045695 4.8954305,11 6,11 Z M6,17 C7.1045695,17 8,16.1045695 8,15
C8,13.8954305 7.1045695,13 6,13 C4.8954305,13 4,13.8954305 4,15 C4,16.1045695
4.8954305,17 6,17 Z M18,11 C19.1045695,11 20,10.1045695 20,9 C20,7.8954305
19.1045695,7 18,7 C16.8954305,7 16,7.8954305 16,9 C16,10.1045695 16.8954305,11
18,11 Z M12,17 C13.1045695,17 14,16.1045695 14,15 C14,13.8954305 13.1045695,13
12,13 C10.8954305,13 10,13.8954305 10,15 C10,16.1045695 10.8954305,17 12,17 Z" />
</vector>
4 changes: 2 additions & 2 deletions res/drawable/selectable_card.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
<ripple
xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?android:attr/colorControlHighlight">
<item android:drawable="@color/card_background"/>
</ripple>
<item android:drawable="@drawable/dashboard_tile_bg"/>
</ripple>
18 changes: 9 additions & 9 deletions res/layout/condition_card.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The Android Open Source Project
Copyright (C) 2016 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.
Expand All @@ -25,7 +25,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="?android:attr/colorAccent"
android:background="@color/condition_card_background_color"
android:elevation="2dp"
android:clickable="true"
android:focusable="true">
Expand All @@ -44,22 +44,22 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="32dp"
android:tint="?android:attr/textColorPrimaryInverse" />
android:tint="@color/condition_card_icon_color" />

<TextView
android:id="@android:id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorPrimaryInverse" />
android:textColor="@color/condition_card_title_text_color" />

<ImageView
android:id="@+id/expand_indicator"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:padding="16dp"
android:tint="?android:attr/textColorPrimaryInverse"/>
android:tint="@color/condition_card_expander_color" />

</LinearLayout>

Expand All @@ -81,14 +81,14 @@
android:paddingBottom="16dp"
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
android:alpha=".7"
android:textColor="?android:attr/textColorPrimaryInverse" />
android:textColor="@color/condition_card_summary_text_color" />

<!-- TODO: Better background -->
<View
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height=".25dp"
android:background="@android:color/white" />
android:background="@color/condition_card_divider_color" />

<com.android.internal.widget.ButtonBarLayout
android:id="@+id/buttonBar"
Expand All @@ -107,7 +107,7 @@
android:paddingStart="0dp"
android:alpha=".8"
android:textAlignment="viewStart"
android:textColor="?android:attr/textColorPrimaryInverse"
android:textColor="@color/condition_card_first_button_text_color"
style="?android:attr/buttonBarButtonStyle" />

<Button
Expand All @@ -117,7 +117,7 @@
android:layout_weight="1"
android:alpha=".8"
android:textAlignment="viewStart"
android:textColor="?android:attr/textColorPrimaryInverse"
android:textColor="@color/condition_card_second_button_text_color"
style="?android:attr/buttonBarButtonStyle" />

</com.android.internal.widget.ButtonBarLayout>
Expand Down
2 changes: 1 addition & 1 deletion res/layout/dashboard_category.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
android:layout_height="@dimen/dashboard_category_height"
android:orientation="vertical"
android:paddingBottom="8dip"
android:background="@color/card_background">
android:background="@drawable/dashboard_category_title_bg">

<TextView android:id="@android:id/title"
android:layout_width="match_parent"
Expand Down
2 changes: 1 addition & 1 deletion res/layout/gesture_preference.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
android:paddingBottom="16dp"
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
android:background="@android:color/white">
android:background="@color/gestures_switchbar_color">

<TextView
android:id="@android:id/title"
Expand Down
2 changes: 1 addition & 1 deletion res/layout/storage_summary.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
android:singleLine="true"
android:textAlignment="viewStart"
android:textAppearance="@android:style/TextAppearance.Material.Subhead"
android:textColor="?android:attr/colorAccent"
android:textColor="@color/storage_summary_title_color"
android:textSize="36sp"
android:ellipsize="marquee"
android:fadingEdge="horizontal" />
Expand Down
8 changes: 8 additions & 0 deletions res/menu/manage_apps.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
android:id="@+id/hide_system"
android:title="@string/menu_hide_system"
android:showAsAction="never" />
<item
android:id="@+id/show_substratum"
android:title="@string/menu_show_substratum"
android:showAsAction="never" />
<item
android:id="@+id/hide_substratum"
android:title="@string/menu_hide_substratum"
android:showAsAction="never" />
<item
android:id="@+id/sort_order_alpha"
android:title="@string/sort_order_alpha"
Expand Down
Loading