Commit Graph

43634 Commits

Author SHA1 Message Date
Christine Franks
68ddd0eaca Add strings for night display UX changes
Bug: 73739388
Bug: 69912911
Test: make -j100 and make RunSettingsRoboTests -j100
Change-Id: I8f2ecef92fdc24b9d984cc7246875dcdf5969a5e
2018-03-23 09:30:48 -07:00
TreeHugger Robot
7da5fe3f50 Merge "Add a string for mandatory backups in DO disclosures screen." into pi-dev 2018-03-23 15:02:59 +00:00
Antoan Angelov
84a4dd0bde Merge "Show policy transparency popup dialog for Bluetooth in Settings." into pi-dev 2018-03-23 14:10:29 +00:00
Jason Monk
f6edc7c80a Add option for settings to push to a device index
The index implementation is optional and left up to the OEM.

Test: Open settings, see content in index
Test: robo tests
Bug: 68378569
Bug: 76102600
Change-Id: Idb8bb1e0cabbbe92e7a852e2eadbdcd8c2ab7d56
2018-03-23 09:36:57 -04:00
Lenka Trochtova
9157310cc3 Add a string for mandatory backups in DO disclosures screen.
Test: make -j64
Bug: 73750212
Bug: 64012357

Change-Id: I8a4b7eb65b0cbeffbe480497fa097c70dfd1f81e
2018-03-23 13:01:40 +01:00
Victor Chang
490e46e01b Show time zone used in or after 2018 only
- Year 2018 is picked as the new time zone data
for picker is introduced in 2018. I can be adjusted
in the future to show more merged time zones.
- Add test to ensure each region has at least
one time zone.
- Fix a issue not using a singleton of TimeZoneData
  in commit 6c33caad4b

Bug: 72142943
Test: atest SettingsUnitTests:TimeZoneDataTest
Change-Id: I5eba7fbd59a2d3fd2e8062c9615946dc4bbb6314
2018-03-23 08:23:51 +00:00
Tao Bao
8271220cb6 Add summary text for "Automatic system updates" option.
Fixes: 72472580
Test: m -j RunSettingsRoboTests
Test: Build and flash on sailfish. Check the text.
Change-Id: Ied5b307f8c43c0bdccea4996cced483ce54568e7
2018-03-22 21:02:09 -07:00
hylo
bfe02b1912 Add string for forget confirmation dialog
Bug: 71812838
Test: Manual test
Change-Id: I01d9bdce1b06bfeeff406b1e45be900325041ecc
2018-03-23 11:10:37 +08:00
TreeHugger Robot
2c1de66c58 Merge "Add manage notifications screen" into pi-dev 2018-03-23 02:06:38 +00:00
Salvador Martinez
4e34fb2eae Add extra strings for hidden network option
This CL adds strings to be used in a follow-up CL for labeling a
network as hidden/visible.

Test: None, is a string change
Bug: 29003359
Change-Id: Ia2822b8afbcd3bd806f8f8b204e5f29e97d94763
2018-03-22 18:42:36 -07:00
Christine Franks
265981f394 Merge "Allow developer options in retail mode" into pi-dev 2018-03-23 01:11:23 +00:00
Jyun LuoLai
644c707590 Merge "Fix PATTERN UI to align PIN&PASSWORD screen" into pi-dev 2018-03-23 00:56:00 +00:00
Doris Ling
09622934b9 Update battery saver condition text.
Change-Id: I0c0d4805c3d9163a1b98bac790719c361559d385
Fixes: 76172605
Test: build
2018-03-22 17:51:08 -07:00
Julia Reynolds
ff9500d0f9 Add manage notifications screen
Test: make -j RunSettingsRoboTests
Bug: 74318867
Change-Id: I1c872c976677ee38f7d9d9523d18fc8ca03fa547

Add manage notifications screen

Test: make -j RunSettingsRoboTests
Bug: 74318867
Change-Id: Ia3626e9f69e8b91b1a2bba9ef549c775972e749a
2018-03-22 19:57:09 -04:00
Jan Nordqvist
c5f4182189 Rename "Primary data" to "Current data".
Bug: 70950124

Test: manual
Change-Id: I5fc9ac10338e2134e903eff392d3c63d2adf021d
2018-03-22 16:07:56 -07:00
Fan Zhang
5f9a348f7e Get rid of UserPackageWrapper util.
Robolectric can support framework private classes now, so there is no
need to use wrappers.

Bug: 76167422
Test: robotests
Change-Id: I034a9f0a9856348bff491f2e9b2b1f7d682ab942
2018-03-22 15:28:46 -07:00
Salvador Martinez
a913537b5d Add strings for mobile hotspot bands
This CL simply adds some strings that are needed for a follow-up CL
that allows users to select the band for their AP.

Test: None, just adds strings
Bug: 73102003
Change-Id: I3d1389b64e035056d55b7dda0687976ae757971c
2018-03-22 15:21:11 -07:00
TreeHugger Robot
2f137b4bac Merge "Add Slider template for Slices" into pi-dev 2018-03-22 22:08:54 +00:00
Salvador Martinez
5de9164520 Add new string for updating auto-wifi
This CL simply adds a string that will be used in a follow-up CL
for updating how auto-wifi permission requests work.

Test: None, string change
Bug: 67070896
Change-Id: I28d4e34349e8b3efad33d4e87f10b0f51c97f8ab
2018-03-22 15:08:06 -07:00
Fan Zhang
6c5af54af9 Get rid of extra whitespace under divider lines
Change-Id: Iad5ec5771a61c6e12aaefbe5fe41d17f7f09de73
Fixes: 76116029
Test: visual
2018-03-22 15:04:01 -07:00
Julia Reynolds
395345c0ad Merge "Add a setting for the volume hush gesture" into pi-dev 2018-03-22 22:03:48 +00:00
TreeHugger Robot
5cafb0b553 Merge "Update the toggle state in constructor." into pi-dev 2018-03-22 21:43:52 +00:00
TreeHugger Robot
4aa9d5d2b4 Merge "Misc string updates" into pi-dev 2018-03-22 21:33:54 +00:00
Maurice Lam
a82183849d Merge "Make GLIF theme default for confirm lock screen" into pi-dev 2018-03-22 21:04:17 +00:00
Lei Yu
0544fbd507 Add callback when tethering fails
Add real callback instead of using NoOpCallback. When it fails,
reset the switchbar.

Change-Id: I6f87d7cefa67ff8f9f59a815fd976940fb61c06c
Fixes: 72904303
Test: RunSettingsRoboTests
2018-03-22 13:07:59 -07:00
Fan Zhang
c1a0cb2aec Misc string updates
Bug: 76022431
Fixes: 17822183

Test: visual
Change-Id: I952e04ca8f5d45612f0088729c2691c60cf3afab
2018-03-22 12:45:58 -07:00
Matthew Fritze
ad6678f9fc Add Slider template for Slices
Add the Seekbar preference equivalent
to the TwoStatePreference (toggle) preference
controller abstract controller.

Change-Id: I6ff91f2f72a7f72c18ddbc27b2b1fda4b6ce6ca9
Fixes: 67996707
Test: Robotests
2018-03-22 11:46:47 -07:00
TreeHugger Robot
edfdeebfe4 Merge "Put the FLAG_ACTIVITY_NEW_TASK flag for the "Learn More" button in the "Add Account" settings screen." into pi-dev 2018-03-22 18:38:30 +00:00
Lei Yu
592faf364d Update the toggle state in constructor.
Before this cl, the update of toggle depends on BroadcastReceiver.
However it is not called when toggle is inited, which make the toggle in
broken state sometimes.

This cl make it execute the update method in constructor, so toggle can
get the correct state when it is created.

Fixes: 73718975
Test: RunSettingsRoboTests
Change-Id: Icb798afaff0bdeedad3a966315441712be2e2523
2018-03-22 11:18:43 -07:00
Lei Yu
b4b2a6260a Merge "Add log for AnomalyDetectionJobService" into pi-dev 2018-03-22 17:53:17 +00:00
arangelov
737d469b78 Put the FLAG_ACTIVITY_NEW_TASK flag for the "Learn More" button in the "Add Account" settings screen.
Bug: 75322399
Test: Manually pressed the button and verified the Settings app does not crash.
Change-Id: Ibd2b985ed898ccaa4e78c0ecf5dc667af6bc8cba
2018-03-22 16:18:49 +00:00
Benjamin Franz
00cc027534 Do not allow force stopping protected packages
Bug: 75997475
Test: make RunSettingsRoboTests
Test: manual
Change-Id: I0670f6f0afbc603d8ac61711cfefec2b1fc4b43b
2018-03-22 11:16:07 +00:00
TreeHugger Robot
f88dcfadbb Merge "Fix crash when launching mobile data usage page via intent." into pi-dev 2018-03-22 07:24:23 +00:00
TreeHugger Robot
baea1c87f5 Merge "Fix renaming for Bluetooth devices when rotating to landscape" into pi-dev 2018-03-22 07:17:17 +00:00
TreeHugger Robot
e119601136 Merge "Fix crash when pausing DndCondition." into pi-dev 2018-03-22 05:06:15 +00:00
TreeHugger Robot
721c58deb4 Merge "Remove extra padding above Wi-Fi picker, Pointer speed, Automatica date & time, Automatic timezone, Automatic 24-hour format, New notifications and App settings" into pi-dev 2018-03-22 05:05:21 +00:00
TreeHugger Robot
bad38a1940 Merge "Update "Vibrate on tap" string" into pi-dev 2018-03-22 05:03:38 +00:00
TreeHugger Robot
ce447d9191 Merge "Add back the data saver preference." into pi-dev 2018-03-22 04:56:35 +00:00
TreeHugger Robot
c15e8d3d09 Merge "use placeholder text for "turn on battery saver at x%" pref" into pi-dev 2018-03-22 04:32:18 +00:00
TreeHugger Robot
5464549257 Merge "Only show restricted apps that belong to the user." into pi-dev 2018-03-22 04:31:38 +00:00
WAYNE YANG
2d230e1431 Merge "Fix "Send feedback about this device" option is missing issue." into pi-dev 2018-03-22 03:56:41 +00:00
TreeHugger Robot
58a8b09e7b Merge "Fix entity header to "Hide" shadow of app bar unless scrolled." into pi-dev 2018-03-22 03:17:29 +00:00
TreeHugger Robot
119d95bae1 Merge "Modify "Updated ..." text." into pi-dev 2018-03-22 02:58:41 +00:00
Andreas Terzis
446cd9db73 Add back the data saver preference.
Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
Change-Id: Ia39cb62ec021ae568a76fed04776b5e531e63b36
2018-03-21 19:23:05 -07:00
wayneyang
77f5ad5c4a Fix "Send feedback about this device" option is missing issue.
When device restart & launching "Feedback" from lock screen,
the "send feedback" option will be missing. It's because
the report package cannot be found by calling from lock screen.
Update the option visibility after updatestate and add test case.

Bug: 74076963
Test: Manual test and RunSettingsRoboTests:FeedbackPreferenceControllerTest
Change-Id: I105d6f90da499423b6881f2ba808e69bd2e8595d
2018-03-22 09:56:28 +08:00
Maurice Lam
3e3b8a9618 Make GLIF theme default for confirm lock screen
Use GLIF theme as the default for confirm lock screen, even for
"external" launches of the screen. Renamed the theme from "internal"
to "normal" to reflect this change.
Dark theme code will be cleaned up later.

Test: Existing tests pass
Bug: 62573742
Change-Id: I86958eb3a440d7274807f1cf453c3e53c16c23e7
2018-03-21 18:21:04 -07:00
Lei Yu
2246ea9e89 Add log for AnomalyDetectionJobService
When anomaly is detected, also log it in AnomalyDetectionJobService

Bug: 73888115
Test: RunSettingsRoboTests
Change-Id: I0a42f8935d9a83eb763dd1f9dedfb71301853104
2018-03-21 17:44:02 -07:00
Fan Zhang
fff15d57c2 use placeholder text for "turn on battery saver at x%" pref
Change-Id: I63f0994bbcb050473c21c606337accd63cfcc46c
Fixes: 74120099
Test: reindex search
2018-03-21 17:38:30 -07:00
TreeHugger Robot
4ed1ed2465 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-03-22 00:23:30 +00:00
Rohan Shah
ff5bd33410 [QS] Add Settings intent filters for Data Usage
Add intent filters for the new, public DATA_USAGE_SETTINGS action.
SystemUI's Quick Settings are already hooked up to use this intent.

Test: Visually
Bug: 73586207
Change-Id: I8638c067f557765c505500a57a3cd7a6cd3fc40d
2018-03-21 17:16:39 -07:00