Commit Graph

32740 Commits

Author SHA1 Message Date
Fan Zhang
da2d426d49 Create MeteredPreference with correct preference context.
Bug: 33775510
Test: visual
Change-Id: I201e685f70379e48053ee910113d5ce75fddc16e
2017-01-09 16:58:41 -08:00
Fan Zhang
c4372f1a48 Merge "Only show first 5 items in sound setting until click More." 2017-01-09 17:57:05 +00:00
Julia Reynolds
d5e2bfcc7a Merge "Cannot have badge only channels." 2017-01-09 14:59:52 +00:00
Fan Zhang
ae182dedee Merge "Fully enable IA." 2017-01-07 23:32:50 +00:00
Fan Zhang
f91f7f7063 Fully enable IA.
This saves about 120ms for app start time.

Bug: 34103984
Test: RunSettingsRoboTests
Change-Id: Ib1d2b190eb3b563b99c7f9d82e11e28229fe3316
2017-01-07 13:13:10 -08:00
TreeHugger Robot
3d8a97fc14 Merge "Progressive disclosure on selected UIs: app, display" 2017-01-07 20:39:33 +00:00
Fan Zhang
b1ddde17d2 Only show first 5 items in sound setting until click More.
Bug: 32255863
Test: RunSettingsRoboTests
Change-Id: Ib9449b70e2f2a003b3c6a810d0cc03016d025edb
2017-01-07 11:21:11 -08: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
Treehugger Robot
bb08073b6f Merge "Add Bluetooth Codec selection UI to the Developer Options" 2017-01-07 01:19:33 +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
Fan Zhang
224caada2d Only update categories after all setTileEnabled() are done.
Bug: 34103984
Test: RunSettingsRoboTests (dashboard refresh related tests no regression)
Change-Id: I8b487c1a3074c6e4756215da1fcfee12daafbfe2
2017-01-06 11:47:05 -08:00
TreeHugger Robot
63e8d160f9 Merge "Wrap old search index update logic behind FeatureProvider." 2017-01-06 19:13:06 +00:00
Fan Zhang
a875924100 Wrap old search index update logic behind FeatureProvider.
Change-Id: I31024d2e7900a90b4f7dc8cc81951bf6a0e533fa
Fix: 34123028
Test: RunSettingsRoboTests
2017-01-06 09:18:59 -08:00
TreeHugger Robot
3d07ce6d46 Merge "Fix test from security feature provider." 2017-01-06 03:13:50 +00:00
TreeHugger Robot
f940f86bbc Merge "Do not load old category when IA is enabled." 2017-01-06 03:01:17 +00: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
a8205bb528 Fix test from security feature provider.
Change-Id: Idbe1fdab8f8840c593408ce63fdb003bddbabbf9
Fix: 34113785
Test: RunSettingsRoboTests
2017-01-05 17:42:21 -08:00
Fan Zhang
e8a77c551e Do not load old category when IA is enabled.
Bug: 34026031
Test: RunSettingsRoboTests
Change-Id: Ie4ede018c8e3e906093cba4b9d4bf9d75c0bd972
2017-01-05 17:20:59 -08: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
Treehugger Robot
27a59e1d2c Merge "Update Android Beam feature summary string" 2017-01-05 18:04:12 +00:00
Bill Yi
ba4cc5613d Import translations. DO NOT MERGE am: cd3475f3d1 -s ours
am: 590ee0a9f5  -s ours

Change-Id: I79d0be529a02a53a8c5b9ed0c3beb13680952ff2
2017-01-05 10:24:49 +00:00
Bill Yi
590ee0a9f5 Import translations. DO NOT MERGE
am: cd3475f3d1  -s ours

Change-Id: I56384f858944a1607cadd5cea8f95a0e346b8a50
2017-01-05 10:16:47 +00:00
TreeHugger Robot
843a00cdc2 Merge "Import translations. DO NOT MERGE" 2017-01-05 10:11:23 +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
TreeHugger Robot
1b02e9b946 Merge "Check for text type before setting text span." 2017-01-04 23:31:36 +00:00
Shahriyar Amini
6b0a2abab0 Merge "Dynamically update injected security preferences." 2017-01-04 22:51:04 +00:00
Doris Ling
d3a32ed21b Check for text type before setting text span.
The text from the empty text view can be any CharSequence. Need to check
the actual type before trying to cast it to Spannable and setting the
text span.

Change-Id: Ib3ead0a0fe0b797e026c0c259591025fc9c94709
Fix: 34075068
Test: make RunSettingsRoboTests
2017-01-04 13:51:38 -08:00