Commit Graph

13777 Commits

Author SHA1 Message Date
Maggie
ca80da20b1 Add a footer to Location Settings page
At the bottom of Settings -> Security & Location -> Location, inject
footers with text provided by system apps. GmsCore uses this footer to
present legal consent info for Google Location Services.

Bug: 70350519
Test: Robo
Test: Manual
Change-Id: I201afdb30baa7b81b591d161fce5be55569b6320
2018-02-05 16:30:11 -08:00
TreeHugger Robot
e333b46d2c Merge "Tweak searchbar padding" 2018-02-01 00:55:32 +00:00
Jerry Zhang
240f8c14bf Merge "Add new USB details screen for Connected Devices 2.0" 2018-01-31 23:41:32 +00:00
TreeHugger Robot
644bea8e0e Merge "Use SystemUpdateManager to provide system update info." 2018-01-31 22:05:21 +00:00
Fan Zhang
49d82be744 Tweak searchbar padding
Change-Id: Ied7b803ae05eb8d69b478675c7c3e66fb39e4d1c
Fixes: 72317470
Test: visual
2018-01-31 13:35:46 -08:00
TreeHugger Robot
b832f737c3 Merge "Remove suggestion UI v1 codes." 2018-01-31 21:15:18 +00:00
Fan Zhang
5c2699962b Use SystemUpdateManager to provide system update info.
Change-Id: I38b631cda8aa63e478c74625eba3d18f9a5723bd
Fixes: 36874007
Test: robotests
2018-01-31 12:16:17 -08:00
Jerry Zhang
d18d6f1022 Add new USB details screen for Connected Devices 2.0
Also updated UsbBackend to use the new UsbFunctions
api.

Added new unit tests for UsbDetailsHeaderController
and UsbDetailsProfilesController.

Bug: 69333961
Test: make RunSettingsRoboTests
Change-Id: I133750190bb61dfe0e20b06f50e50ea13b347f1e
2018-01-31 11:23:08 -08:00
Doris Ling
a5d0c3e36e Remove suggestion UI v1 codes.
- remove the check for feature flag for suggestion UI v2 and switch to
use the v2 codes.
- remove all code related to v1 of suggestion UI

Fixes: 70573674
Test: make RunSettingsRoboTests

Change-Id: I99ab318c1c0192508a9c5e9e708e86319120d55b
2018-01-31 10:59:40 -08:00
Fan Zhang
dc2a3528d5 Misc fixes for account/users fragments
- Hide add user button when it's not functional
- Display "No accounts added" under accounts setting when there is no account.

Change-Id: Iefede9939d206eb3064fa22bdcfbcb1e826f29ab
Fixes: 72643060
Test: robotest
Test: 72713118
2018-01-31 10:55:40 -08:00
Julia Reynolds
07c2cdee1f Merge "Notification settings updates" 2018-01-31 17:09:51 +00:00
TreeHugger Robot
54e304b897 Merge "Fix homepage icon margin" 2018-01-31 03:18:29 +00:00
Fan Zhang
d186874b35 Fix homepage icon margin
Change-Id: Ie9a7be625bb51336ef4eda05d24c61ec9cc264e8
Fixes: 69314641
Test: visual
2018-01-30 15:54:48 -08:00
Julia Reynolds
4f3b556388 Notification settings updates
- Footer preferences were too dim
- Fix text and target on recently sent apps
- Make 'behavior' a dialog
- reorder settings on apps page

Change-Id: Idf8056bc77ead89fe2025bbde3346861e23a3c8d
Fixes: 72652526
Fixes: 72651810
Fixes: 72652024
Bug: 72651953
Test: make RunSettingsRoboTests
2018-01-30 16:59:12 -05:00
Doris Ling
1fcd60c4b6 Center align suggestion tile action button.
Bug: 70573674
Test: visual
Change-Id: I9be36cb0f1c35c2062f01d03e01e0a74cb39f3a0
2018-01-30 12:50:17 -08:00
TreeHugger Robot
7ad6c403e2 Merge "Update summary for fingerprint unlock suggestion." 2018-01-30 06:54:53 +00:00
TreeHugger Robot
0be5e81526 Merge "Update suggestion card UI." 2018-01-30 03:55:28 +00:00
TreeHugger Robot
18277f1b5e Merge "Add search keyword for ambient display" 2018-01-30 01:07:18 +00:00
Doris Ling
c04163a76e Update suggestion card UI.
- adjust suggestion card width and padding
- tint icon if it is from settings package.

Bug: 72330968
Test: visual
Change-Id: I4b82d51b3013ad0656d297305e0000958b71e94d
2018-01-29 16:39:31 -08:00
Doris Ling
c0b7fa0ad4 Update summary for fingerprint unlock suggestion.
- replicate the summary string for the fingerprint unlock suggestions
for different product variation.

Bug: 70573674
Test: rebuild
Change-Id: Ib85fbe1ddbf5f2f500743cabf5f219e5e48f61e4
2018-01-29 16:03:45 -08:00
TreeHugger Robot
75c2ca96f1 Merge "Remove security settings v1 code" 2018-01-29 23:25:09 +00:00
Fan Zhang
26ba7cef8f Add search keyword for ambient display
Change-Id: I725e734e656bf01d4d9a354d01d10717b724d848
Fixes: 71892510
Test: rebuild
2018-01-29 14:42:36 -08:00
Sudheer Shanka
67ddb0ae00 Merge "Add policy transparency for metered data related settings." 2018-01-29 22:01:35 +00:00
Fan Zhang
73dc479ab5 Remove security settings v1 code
Change-Id: I958ed1588009b91f64cd8ecb98208e72a891903e
Fixes: 32953042
Test: robotests
2018-01-29 13:17:05 -08:00
TreeHugger Robot
7245bbb3d5 Merge "Readd needed string" 2018-01-29 18:23:45 +00:00
TreeHugger Robot
9024b4eb15 Merge "Display a list of account types as account setting summary" 2018-01-28 21:16:17 +00:00
Fan Zhang
fe80fa5e80 Display a list of account types as account setting summary
Change-Id: Ifac12bb1dd506613ded131a024de345591f9243f
Fixes: 71871075
Test: robotests
2018-01-28 11:34:27 -08:00
Bill Yi
499efd06ab Import translations. DO NOT MERGE
Change-Id: I2e085262897359240e6f9aba91d7dc4ddb52eabc
Auto-generated-cl: translation import
2018-01-28 08:42:26 -08:00
Salvador Martinez
d341d86850 Readd needed string
This string was needed by a utility class and so it needs to be
readded.

Test: In sister CL
Bug: 72200354
Change-Id: I87f6be7c40d16c669bb2347c90e79fc3ccdf7183
2018-01-26 17:10:16 -08:00
TreeHugger Robot
7cfd0bfe43 Merge "Misc fixes for User page and my device info page" 2018-01-26 22:35:35 +00:00
Fan Zhang
881d579620 Misc fixes for User page and my device info page
- Rename UserAndAccountDashboard* to AccountDashboard*
- Move emergency info from account to device info page

- Move auto sync data toggles (4 of them) from Account page to user page
   - Move the controllers too. UserSettings is a not a DashboardFragment
     so I had to manually call each controller method.
     TODO: refactor UserSettings to a DashboardFragment

- Move legal information/regulatory info above advance button within device info page.

Fixes: 72523158
Bug: 71871075
Test: robotests
Change-Id: I1b8af8af61e49d17926f984978a09a974b6c62e1
2018-01-26 12:39:34 -08:00
Sudheer Shanka
b8b2e51e8d Add policy transparency for metered data related settings.
With API Dpm.setMeteredDataDisabled, admins can restrict some
packages from accessing metered data and when admin does restrict
packages, user settings to enable usage of mobile data in background or
allow unrestricted access during data saver mode are not relevant. Add
policy transparency to these settings so that user knows that admin
disabled them.

Bug: 63700027
Test: make RunSettingsRoboTests
Test: manual
Change-Id: I450f7a91356ed8fb33f464620c73fa9407a1ff83
2018-01-26 10:57:11 -08:00
TreeHugger Robot
cada64beef Merge "Revert "Add developer setting to set the default GPU renderer."" 2018-01-26 17:50:55 +00:00
TreeHugger Robot
adf781c8a0 Merge "Add a generic blue background on some homepage tiles" 2018-01-26 00:13:22 +00:00
TreeHugger Robot
b48bb6f0cf Merge "Move users to system dashboard" 2018-01-25 22:40:33 +00:00
TreeHugger Robot
2e09de3e03 Merge "Misc fixes" 2018-01-25 22:28:18 +00:00
Fan Zhang
d62835a5d4 Add a generic blue background on some homepage tiles
If a homepage tile is injected from external packages, we can't
control what their icons look like, so we put a generic blue circular
background to make it consistent with the other icons.

Change-Id: I2a935db37fff097ae15540262bff94efea55179a
Fixes: 69314641
Test: robotests
2018-01-25 14:18:55 -08:00
TreeHugger Robot
b441d90f8c Merge "Changed DirectoryAccessDetails to handle children directory on external volumes." 2018-01-25 21:30:22 +00:00
Fan Zhang
c24930aaf2 Move users to system dashboard
Bug: 71871075
Test: visual
Change-Id: I021bfdcce4fdb865f629c2da21149caad9b73b93
2018-01-25 12:41:33 -08:00
Fan Zhang
f6c0d1c3ae Misc fixes
- remove useless intent-filters on a few activities
- Fix condition layout (icon size too big)
- clicking airplane condition card no longer crashes

Fixes: 72314527
Test: logcat | grep -i "TileUtils" and observe no more warning log
Change-Id: I3c6f9fb4f4e480ade220bc8602c04de5332d551c
2018-01-25 12:41:33 -08:00
Derek Sollenberger
7c26e3388c Revert "Add developer setting to set the default GPU renderer."
This reverts commit f91b036177.

Test: compile only
Reason for revert: removing the option from the developer settings UI

Change-Id: I8ce6d6e07e3495e973f9020b4f4f16f8c2075788
2018-01-25 14:19:35 -05:00
Felipe Leme
025883da78 Changed DirectoryAccessDetails to handle children directory on external volumes.
Test: manual verification

Bug: 63720392

Change-Id: Ief4ee0fe271212e2eccbdcedea8ebb3374c4e69b
2018-01-25 10:48:59 -08:00
Julia Reynolds
9ce68a204c Notification settings updates
- remove duplicate settings
- move recent app list to bottom of the screen
- change dropdown fields to dialogs

Test: manual, make RunSettingsRoboTests
Change-Id: Ia07d56e39be10c7b8be58f9ec35114ca2eab7d5c
Fixes: 72402499
2018-01-25 11:21:43 -05:00
TreeHugger Robot
c4ceb8c152 Merge "Move injected tiles under debug section" 2018-01-25 04:05:01 +00:00
TreeHugger Robot
7ccd083f7b Merge "Remove location mode menu from location settings" 2018-01-25 03:08:06 +00:00
TreeHugger Robot
7c80b5ed39 Merge "AR/FR: Updated resources to confirm via component." 2018-01-25 00:39:16 +00:00
Fan Zhang
99f5ef7d45 Merge "Make homepage icons more colorful!" 2018-01-25 00:34:13 +00:00
TreeHugger Robot
a38b1fe8a2 Merge "Add device name to About Phone page." 2018-01-25 00:10:43 +00:00
Maggie
5a86cd6545 Remove location mode menu from location settings
Location modes were introduced in KitKat. It has made location settings over complicated. In P we are removing location modes to provide simple, meaningful and transparent controls for users.

Bug: 63818349
Bug: 70350519
Test: Robo
Test: Manual
Change-Id: Ic8a168b8eeb3cd2c8b1536c378c92a5f377d3bba
2018-01-24 15:51:34 -08:00
Fan Zhang
b74a23ccfd Move injected tiles under debug section
Bug: 64762598
Test: atest UniquePreferenceTest
Change-Id: I6d6661b84c2a94bc66e1afe04c01fee39282506a
2018-01-24 14:05:29 -08:00