Commit Graph

11011 Commits

Author SHA1 Message Date
Doris Ling
3ca367757b Add items in Other Sound directly into Sound settings.
- In new IA, Other Sound no longer is a separate preference screen, but
individual preferences are put directly under SoundSettings.

- Add controllers for each other sounds preference.

- Remove Cast settings from Soundsettings in new IA.

Change-Id: I75d771674ffabfecbd66079bc86844b2ff098b71
Fix: 33944294
Test: make RunSettingsRoboTests
2017-01-11 18:07:15 -08:00
Amin Shaikh
5e096a3969 Add Settings toggle for Wi-Fi Wakeup.
- Added switch toggle to Configure Wi-Fi Settings for Wi-Fi Wakeup
- Disable Wi-Fi Open Networks Notifications and Wi-Fi Wakeup toggles
  if NETWORK_RECOMMENDATIONS_ENABLED is disabled

Test: make -j40 RunSettingsRoboTests
Bug: 33224845
Change-Id: I2a52c5d1e60f618aefa125c7806fa95ca19a0ca9
2017-01-11 15:11:55 -08:00
Daniel Nishi
b465005c29 Update the storage summary header.
This changes it to now have a donut graph and reflects the new UI.
Finalized redlines are still pending, so there will be a follow
up patch to get everything aligned as per the mocks.

Bug: 33199077
Test: Settings Robo Tests
Change-Id: Ic12a77bd9be335af14f80886d1ecc24c82940e9b
2017-01-11 12:37:33 -08:00
Roozbeh Pournader
a00723976e Rename language+country resources to just language
Bug: 26496609
Test: none
Change-Id: I0bb74df9d0a56e24ab689cd1430e93ce3ad2713d
2017-01-10 21:24:59 -08:00
Daniel Nishi
8cc6f9f718 Add click behavior to the storage item preferences.
This currently imitates the previous implementation behavior.
The new mocks have a new intermediate view for some of these
behaviors, but this view isn't ready yet.
This patch should bring parity for the click functionality
for the storage line item preferences.

Bug: 33199077
Test: Settings Robo Tests

Change-Id: I4f654d30add92e4eec721c36b2801f9af9824e78
2017-01-10 16:46:44 -08:00
TreeHugger Robot
366bb5b7d9 Merge "Update the Storage settings text." 2017-01-11 00:04:12 +00:00
Daniel Nishi
bfd11313cb Update the Storage settings text.
The mocks used to say "Phone Storage" but that change in the
mocks was reverted.

Bug: 33199077
Test: None
Change-Id: I36bbb7d01a9598c92ec777905ae260fdc411b338
2017-01-10 13:59:57 -08:00
Salvador Martinez
e927d74c99 Merge "Custom layout for support info dialog" 2017-01-10 21:18:31 +00:00
Fan Zhang
4185b2fef3 Merge "Create MeteredPreference with correct preference context." 2017-01-10 17:12:23 +00:00
TreeHugger Robot
9c18faaac5 Merge "Import translations. DO NOT MERGE" 2017-01-10 07:17:34 +00:00
Fan Zhang
da2d426d49 Create MeteredPreference with correct preference context.
Bug: 33775510
Test: visual
Change-Id: I201e685f70379e48053ee910113d5ce75fddc16e
2017-01-09 16:58:41 -08:00
Salvador Martinez
9559d40896 Custom layout for support info dialog
The dialog showing users what is being support
needed a custom layout so the list items would line
up with the title of the alert dialog.

Test: Manual
Bug: 32462840
Change-Id: Ie3dc4d3e70946d25c1e4d65ab482aea4d00fa55a
2017-01-09 16:11:03 -08:00
Bill Yi
5d8d883ab1 Import translations. DO NOT MERGE
Change-Id: Iba9f6f945f3e421f8413967b392e04085561c7c3
Auto-generated-cl: translation import
2017-01-09 13:14:43 -08:00
Bill Yi
e5c3cfb8ac Import translations. DO NOT MERGE
Change-Id: Ibd775a35c77810883e6366efbf9f0e4a0723b18a
Auto-generated-cl: translation import
2017-01-09 13:08:57 -08:00
Fan Zhang
ffd328b071 Misc fixes for IA and pattern.
Disable NFC fragments when feature is not avaiable
Link to spell checker screen with the pref is clicked
Tint "add"/"delete" button in UserDictionary actionbar to proper color.

Change-Id: I8a8e219ce3dbbafc6c4d5a0f34f835ffd0abad4f
Fix: 34155679
Fix: 34161006
Fix: 34154795
Test: RunSettingsRoboTests
2017-01-09 10:58:44 -08:00
Julia Reynolds
d5e2bfcc7a Merge "Cannot have badge only channels." 2017-01-09 14:59:52 +00:00
TreeHugger Robot
3d8a97fc14 Merge "Progressive disclosure on selected UIs: app, display" 2017-01-07 20:39:33 +00:00
Fan Zhang
d916dae218 Progressive disclosure on selected UIs: app, display
Bug: 32255863
Test: RunSettingsRoboTests
Change-Id: I1651433ba30a2b5f880095e07b5e2ed9c4e308b9
2017-01-07 11:21:06 -08:00
Pavlin Radoslavov
a234cc169b Merge "Add Bluetooth Codec selection UI to the Developer Options" am: bb08073b6f am: 0115cc702a am: cc7a8d0b2c
am: 763830a0e6

Change-Id: I0f4c10cd00d33f4d2ed42753da2a2edcd66e2d72
2017-01-07 01:41:04 +00:00
Pavlin Radoslavov
763830a0e6 Merge "Add Bluetooth Codec selection UI to the Developer Options" am: bb08073b6f am: 0115cc702a
am: cc7a8d0b2c

Change-Id: Ieafda5fcbaa1252f34e06345f6f2bc0a509e4d68
2017-01-07 01:36:55 +00:00
Pavlin Radoslavov
cc7a8d0b2c Merge "Add Bluetooth Codec selection UI to the Developer Options" am: bb08073b6f
am: 0115cc702a

Change-Id: I8d2e73d3c91ac18005f8e6f74e39c81e84ad41c3
2017-01-07 01:28:45 +00:00
Pavlin Radoslavov
0115cc702a Merge "Add Bluetooth Codec selection UI to the Developer Options"
am: bb08073b6f

Change-Id: I1586182f52b726a56c92d2ed35e1e6dd6eff237e
2017-01-07 01:24:43 +00:00
Pavlin Radoslavov
c65956efc8 Add Bluetooth Codec selection UI to the Developer Options
Test: A2DP streaming to headsets and manual UI interaction
Bug: 30958229
Change-Id: I75027200561e6c51fa767c427ed09b647757d0ab
2017-01-06 15:44:55 -08:00
TreeHugger Robot
a6c3e3ace5 Merge "Add header and remove button to account detail page." 2017-01-06 23:02:12 +00:00
Doris Ling
fd06d2fcf4 Add header and remove button to account detail page.
- Add account header which contains the account icon and name to the top
  of the account detail page.
- Also add the remove account button to the bottom of the page.

Change-Id: I24f1a17a7f9c4dd8c840a2b0329c0965e4e612e9
Fix: 33543525
Test: make RunSettingsRoboTests
2017-01-06 13:20:08 -08:00
Julia Reynolds
d43440a555 Cannot have badge only channels.
Test: manual
Change-Id: I564f6b7e076a10847bd7f48c59a0de095180ea92
2017-01-06 15:53:52 -05:00
TreeHugger Robot
f7dd2c7547 Merge "Add icon for new IA." 2017-01-06 02:26:26 +00:00
TreeHugger Robot
9b5aa62147 Merge "Update tile color from using accent to colorControlNormal." 2017-01-06 02:18:14 +00:00
Fan Zhang
c54503d9e1 Update tile color from using accent to colorControlNormal.
Also remove some unused code
Bug: 33759208
Test: visual

Change-Id: I0a019bf6b514564f9e6e844de8a6b75b2ca69cc7
2017-01-05 16:47:59 -08:00
Doris Ling
f1c4b4562d Add icon for new IA.
Add preference icon for System updates, Account sync, and App
permissions.

Bug: 33759208
Test: Visual
Change-Id: Icb0aff0e9c46d774d643b4b4262c6d3f939c791a
2017-01-05 16:44:05 -08:00
Ruchi Kandoi
4302dfa853 nfc: Make tap & pay searchable
Bug: 26818511
Test: make RunSettingsRoboTests -j40; no regression
Change-Id: I2e79fcac984510cb444fcaf0cca8f64f9822c047
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2017-01-06 00:12:15 +00:00
TreeHugger Robot
c4a4c9445a Merge "Apply LightActionBar theme to Settings app." 2017-01-06 00:10:29 +00:00
Daniel Nishi
b2531ebda4 Merge "Add first pass at a new Storage screen." 2017-01-05 22:35:39 +00:00
Daniel Nishi
ec89a3f57f Add first pass at a new Storage screen.
This patch begins setting up the structure for the screen.
The functionality for populating the data in the preferences
is coming in a later patch.

Bug: 33199077
Test: Settings Robo Tests
Change-Id: I9ebad9d3896501e31ac715704ca986eceb36877d
2017-01-05 11:54:56 -08:00
TreeHugger Robot
f5549ebbb0 Merge "Fix robolectric breakage because of internal resources" 2017-01-05 19:44:54 +00:00
Sunny Goyal
9445d36eea Merge "Adding a customizable development mode tile" 2017-01-05 19:41:15 +00:00
jackqdyulei
8a8f47c6f3 Fix robolectric breakage because of internal resources
The robolectirc breakage is mainly because of ag/1726837 and the
current robo tests cannot deal with private resources. Robo engineer
will working on this to make sure robo tests is compatible with private
resources(b/33431346) and be globally used.

This is a temporary fix to stop the breakage by adding the hardcoded
color and will be reverted after b/33431346 is finished.

Test: make -j40 RunSettingsRoboTests
Change-Id: I5f451d94f0162c818b98aaaa49d452d926dd83b1
2017-01-05 10:22:04 -08:00
Ruchi Kandoi
f1efbcfcae Merge "Update Android Beam feature summary string" am: 27a59e1d2c am: abe9a41d19 am: 662975d861
am: e40f036ab3

Change-Id: Ife5792584ec8af1fc8decc83436c567e23ab62b8
2017-01-05 18:17:57 +00:00
Sunny Goyal
bf9f2d2698 Adding a customizable development mode tile
User can configure the active state for development mode
which would allow enabling multiple options at once

Test: make -j40 RunSettingsRoboTests
Change-Id: I545b790f8c7097945f39ca003e5985b23cb53636
2017-01-05 10:16:18 -08:00
Ruchi Kandoi
e40f036ab3 Merge "Update Android Beam feature summary string" am: 27a59e1d2c am: abe9a41d19
am: 662975d861

Change-Id: I6bad7c49519869dd60e130e5a31cf3514b0896c1
2017-01-05 18:14:58 +00:00
Ruchi Kandoi
662975d861 Merge "Update Android Beam feature summary string" am: 27a59e1d2c
am: abe9a41d19

Change-Id: I0a2cf7b82818102adc857cd38007a6e3ba7b4dd9
2017-01-05 18:11:54 +00:00
Ruchi Kandoi
abe9a41d19 Merge "Update Android Beam feature summary string"
am: 27a59e1d2c

Change-Id: I6edef06c6e0c94dc8c5d27003f19b60b2f6c5f4c
2017-01-05 18:08:22 +00:00
Bill Yi
cd3475f3d1 Import translations. DO NOT MERGE
Change-Id: I24410f77a5b2f4777bae8546e6709c47d971c992
Auto-generated-cl: translation import
2017-01-04 17:46:43 -08:00
Bill Yi
0ceb731065 Import translations. DO NOT MERGE
Change-Id: Ib216a7dd5eeb0dd2a22a07c83cfce2803dad5189
Auto-generated-cl: translation import
2017-01-04 17:41:14 -08:00
Ruchi Kandoi
de2f8e7cc1 Update Android Beam feature summary string
Bug: 32183480
Test: compiles
Change-Id: I750e998ea73b10645666c7d080afe7320b705d47
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2017-01-04 23:44:40 +00:00
Fan Zhang
e96b5b9faa Apply LightActionBar theme to Settings app.
Bug: 33558692
Test: visual
Test: RunSettingsRoboTests
Change-Id: I9f0fb71eb0cd0c58ac3b0f69544adec963faf2dd
2017-01-04 12:28:03 -08:00
Lei Yu
557d830502 Merge "Set statusBarColor to secondary_device_default_settings" 2017-01-03 19:10:08 +00:00
TreeHugger Robot
fa706049bf Merge "Use standard preference for mac/IP info in config wifi UI" 2017-01-03 19:02:18 +00:00
Maurice Lam
1168a7d794 Merge "Use regular preference theme for setup wizard" 2017-01-03 18:18:22 +00:00
Fan Zhang
93af75a611 Use standard preference for mac/IP info in config wifi UI
Change-Id: I3a611d9e4552b6c764e78daa54e9f504daec1cb9
Fixes: 33967401
Test: Visual
2017-01-03 09:42:12 -08:00