Commit Graph

42162 Commits

Author SHA1 Message Date
Fan Zhang
7a6726ecda Make LinearColorBar support RTL
- Move the class to widget package
- Remove a bunch of useless drawing

Change-Id: I82f840819c89eaf3cf9b7a87e56f1031989e3262
Fixes: 62700884
Test:  robotest
2018-01-17 14:39:06 -08:00
Fan Zhang
85cd77c9f2 Remove search v1
Fixes: 69851037
Test: robotests
Change-Id: I53bc6408116031619053066055cb26cac67b9945
2018-01-16 14:19:51 -08:00
TreeHugger Robot
d6b0490dea Merge "Add ability to show/hide airplane toggle." 2018-01-16 20:16:16 +00:00
TreeHugger Robot
c2b151d8ad Merge "Fix plus position in about phone" 2018-01-16 19:21:32 +00:00
TreeHugger Robot
a35adb12f0 Merge "Initial screens for Storage Access." 2018-01-16 19:14:58 +00:00
Hansong Zhang
80fa91891e Merge "DO NOT MERGE Add developer menu to select max number of connected audio devices" am: ea5243e28d -s ours am: b4ed2b2005
am: 43c58ddfe6  -s ours

Change-Id: I1e0b733fcc666c1f34232fbab5fb97d3c9f6e0ad
2018-01-16 18:47:13 +00:00
Ben Lin
e5e8f0368f Add ability to show/hide airplane toggle.
This introduces a new boolean flag:
config_show_toggle_airplane

Which when set to false, will hide the airplane mode toggle in network &
internet.

Bug: 69813881
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=AirplaneModePreferenceControllerTest

Change-Id: I2cf682bf78231040eba5573fbcb55a65be2a13df
2018-01-16 18:23:52 +00:00
Hansong Zhang
43c58ddfe6 Merge "DO NOT MERGE Add developer menu to select max number of connected audio devices" am: ea5243e28d -s ours
am: b4ed2b2005

Change-Id: I0b80d8c673b680ab530f34420bb330665ab904b8
2018-01-16 18:13:44 +00:00
Hansong Zhang
b4ed2b2005 Merge "DO NOT MERGE Add developer menu to select max number of connected audio devices"
am: ea5243e28d  -s ours

Change-Id: I57c326c97f19597bd2865c328e024de4da889e77
2018-01-16 18:04:48 +00:00
Wu Qiang
4d8f51531f Fix plus position in about phone
Settings has phone number in about phone, "+"
is shown with incorrect position in Bidi layout.
Then it needs to use BidiFormatter

Fixes: 70700094
Test: manual
Change-Id: I1d63f773926136c38ce1ac811869476dc6a89eac
2018-01-16 09:58:36 -08:00
Treehugger Robot
ea5243e28d Merge "DO NOT MERGE Add developer menu to select max number of connected audio devices" 2018-01-16 17:48:53 +00:00
TreeHugger Robot
844145686c Merge "Adopt robolectric 3.6.1" 2018-01-13 11:32:30 +00:00
TreeHugger Robot
c4667bc3b7 Merge "Tweak app notification page title and expand button cutoff" 2018-01-13 02:48:37 +00:00
Felipe Leme
7a0ad2b30f Initial screens for Storage Access.
This new settings will be accessed through Apps -> Special Apps and it will let
users change the status of granted (or denied) Scoped Access Permissions.

This initial CL implements the landing activity that shows all packages and an
initial version of the detailed activity for a specific page, althouth the
detailed activity is not ready yet.

Test: manual verification
Test: export ROBOTEST_FILTER=com.android.settings.core.codeinspection.CodeInspectionTest && make RunSettingsRoboTests -j40
Bug: 63720392

Change-Id: Id0419c2c4aaaec365803218d6947e230e4776f13
2018-01-12 18:06:48 -08:00
TreeHugger Robot
1ad173bb00 Merge "Block settings when DISALLOW_CONFIG_BRIGHTNESS." 2018-01-13 01:01:48 +00:00
TreeHugger Robot
e723c9c073 Merge "Add smart battery tip." 2018-01-12 23:11:23 +00:00
yuemingw
68b0320856 Block settings when DISALLOW_CONFIG_BRIGHTNESS.
Test: m -j RunSettingsRoboTests
Change-Id: I667c76dfef20158ab2a72178fb82b8183b448976
Fix: 67675654

Change-Id: I83f2e0086e16cd2a0dbc4cbcc31d4e2d454934cd
2018-01-12 23:03:17 +00:00
Fan Zhang
4f389a7731 Tweak app notification page title and expand button cutoff
Change-Id: If9b93023ac9ab946b7c2b0dd65852948029da896
Fixes: 71813209
Test: visual
2018-01-12 15:00:09 -08:00
TreeHugger Robot
b2174a23cb Merge "Rename trySetQuietModeEnabled to requestQuietModeEnabled as per ... the feedback from API council" 2018-01-12 22:26:02 +00:00
TreeHugger Robot
e31f582baf Merge "Introduce boolean flag to show/hide Location Scanning preference." 2018-01-12 21:53:12 +00:00
James Lemieux
99d10a4e62 Adopt robolectric 3.6.1
Bug: 71596155
Test: make RunSettingsRoboTests
Change-Id: I46362bae1e3ddd3ce19ade1c93250d272f3366e6
2018-01-12 13:49:29 -08:00
TreeHugger Robot
e9a3a14330 Merge "Add ability to show/hide individual settings in Sounds page." 2018-01-12 20:11:30 +00:00
Ben Lin
e8377718e0 Introduce boolean flag to show/hide Location Scanning preference.
This introduce one new flag:
config_show_location_scanning

Which when set to false, will hide "Scanning" in Location preference.

Some OEMs may control Bluetooth/Wi-Fi scanning themselves, so they may
want to hide the page from users.

Bug: 62418710
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=LocationScanningPreferenceControllerTest

Change-Id: I19f0020a2c94f70b3b7956529f57af098ccc79fd
2018-01-12 19:48:37 +00:00
TreeHugger Robot
8350682a45 Merge "Add string variants for "device" products." 2018-01-12 19:03:34 +00:00
jackqdyulei
e682126a11 Add smart battery tip.
Also move the action method from BatteryTip to TipAction. Since it
need extra data that we don't want to store it in parcel.

Bug: 71502850
Test: RunSettingsRoboTests
Change-Id: Ib658426725158d26fcdd437fa8bf6bf24e9a8c14
2018-01-12 10:32:12 -08:00
TreeHugger Robot
77a2fb8339 Merge "Follow slice refactor" 2018-01-12 18:17:26 +00:00
TreeHugger Robot
194085f5c5 Merge "Make a strong reference to LifecycleOwner in tests" 2018-01-12 18:01:23 +00:00
Salvador Martinez
6d42a716c9 Merge "Add support for early warning query" 2018-01-12 17:33:00 +00:00
Fan Zhang
b79e727307 Merge "Override switch bar string for wifi/battery saver screen" 2018-01-12 17:15:22 +00:00
TreeHugger Robot
6c14a6a699 Merge "Zen Mode messages + calls are ListPreferences (radio button dialog)" 2018-01-12 15:33:14 +00:00
Beverly
daa13a969f Zen Mode messages + calls are ListPreferences (radio button dialog)
Bug: 63077372
Test: ZenModeCallsPreferenceControllerTest
Test: ZenModeMessagesPreferenceControllerTest
Change-Id: I5d2516402b261413c51a1b4eba5153ffadf1459b
2018-01-12 14:52:17 +00:00
Jason Monk
5ef0a604a9 Follow slice refactor
Test: make
Bug: 68378561
Change-Id: Ifb35d39e54b2c292017b7866d7a52b120b4f6685
2018-01-12 09:19:14 -05:00
Tony Mak
3e81ae7748 Rename trySetQuietModeEnabled to requestQuietModeEnabled as per ...
the feedback from API council

Fix: 71818127

Test: Build
Change-Id: Iab976fefcf00e0d5abada123b7c19344241b928a
2018-01-12 12:12:30 +00:00
Joachim Sauer
cff4bcb554 Merge changes from topic "tz_picker"
* changes:
  New manual time zone picker.
  Data loading component for new time zone picker.
2018-01-12 11:25:32 +00:00
TreeHugger Robot
21303fa16b Merge "Fix test crash in UniquePreferenceTest" 2018-01-12 01:57:37 +00:00
jackqdyulei
baaf043a8c Fix test crash in UniquePreferenceTest
Change-Id: I0393018dfe8c12541548d7b3900503a0d78c8e26
Fixes: 71794134
Test: atest UniquePreferenceTest.java
2018-01-11 16:16:10 -08:00
TreeHugger Robot
24b2d92fdb Merge "Update screen pinning state whenever it changes." 2018-01-12 00:03:44 +00:00
TreeHugger Robot
6a2ed84df5 Merge "Re-add support string that was being used by wifi" 2018-01-11 23:18:30 +00:00
Fan Zhang
87d120a7e1 Override switch bar string for wifi/battery saver screen
Bug: 69462439
Test: visual
Change-Id: I18d03ee1664f111222d7b9bb7ee893e4ce0e1343
2018-01-11 15:17:14 -08:00
Fan Zhang
4e08869e1a Make a strong reference to LifecycleOwner in tests
Change-Id: Id3b26ded6c903b67b9880dbfe1a0656a564c8947
Fixes: 71867776
Test: rerun tests
2018-01-11 14:30:16 -08:00
Fan Zhang
207f4dda9e Merge "Misc fixes in device info page" 2018-01-11 22:19:05 +00:00
TreeHugger Robot
66c061a09f Merge "Add developer tiles for layer and window trace" 2018-01-11 21:37:53 +00:00
TreeHugger Robot
d99a8ef4f8 Merge "Misc fixes" 2018-01-11 21:16:46 +00:00
Fan Zhang
f93fcd366a Update screen pinning state whenever it changes.
Change-Id: I98f0a7b0afcc76bcf822786e6cf3ea37004db1a8
Fixes: 71845181
Test: robotests
2018-01-11 12:42:16 -08:00
Fan Zhang
1f37d2cc7a Misc fixes in device info page
- Move DeviceInfoSettings to deviceinfo package
- Remove deprecated manifest entries
- Rename a bunch of things
- Add ripple and change text color to accent for security patch

Change-Id: I35c04e53829a67cba553f984ad1a1b9319077873
Fixes: 71775150
Test: robotests
2018-01-11 12:31:02 -08:00
Fan Zhang
43c85f5f92 Misc fixes
- Allow everyone to submit tests.
- Fix SoundPreferenceControllerTest

Fixes: 71860595
Test: rebuild
Change-Id: I36626beb304966d3d453ebe02d37625e6e724d08
2018-01-11 11:39:56 -08:00
Salvador Martinez
eb66aac00f Re-add support string that was being used by wifi
A wifi button was piggybacking on a support string. This CL adds a
new string for the button to use instead.

Test: robotests pass
Bug: 71858657
Change-Id: Ic0da845fb70f33fc4365a4ee4586de685e3ef338
2018-01-11 10:55:55 -08:00
Salvador Martinez
86a9be347c Add support for early warning query
This CL adds the necessary code to enable the early warning query
from the provider.

Test: robotests in topic
Bug: 71593245
Bug: 71812931
Change-Id: I32e10d1b9f752af672b5d1c6ccb8ba9f2f9cc387
2018-01-11 10:16:49 -08:00
Joachim Sauer
0cdbe1897c New manual time zone picker.
This implements a new manual time zone picker that allows selection of a
time zone for a selected country. It also allows selecting a fixed
offset time zone (most importantly Etc/UTC, which is a frequently
requested feature).

The new time zone picker is currently behind a feature flag
(settings_zone_picker_v2), which is disabled by default.

Test: manual
Test: SettingsFunctionalTests
Test: SettingsRobotTests
Bug: 62255208
Change-Id: I89c5a04bcb562b6facf5f31a8aa4ad1cdd51ab10
2018-01-11 18:03:16 +00:00
TreeHugger Robot
0fea51b343 Merge "Add ability to show/hide Color Correction and Color Inversion." 2018-01-11 17:49:56 +00:00