Commit Graph

34096 Commits

Author SHA1 Message Date
Denis Kuznetsov
9392681afa This CL updates the DO Disclosures page (aka "Enterprise Privacy")
to make items that shows admin granted permissions actionable.
Item click will result in opening the list of apps for a permission.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I5f2536b116998810857e379f48a26a1c40055590
2017-03-20 15:52:16 +01:00
Bartosz Fabianowski
5dc168af1a Start removing N/A DO disclosures from search index
DO disclosures referring to actions that the admin did not actually
take are hidden in the UI, but still show up in the search index. This
CL takes the following steps toward fixing this:
* Pass the list of PreferenceControllers to the search indexer
* Make the first two PrefrenceControllers set isAvailable() correctly

There are more disclosures to update, but the difficult work is done
as all others will follow the same pattern.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: I7d3e248b80abe72b79fce7afa11f28a822de6986
2017-03-20 11:01:51 +01:00
TreeHugger Robot
92ae1f2d8e Merge "Import translations. DO NOT MERGE" 2017-03-18 16:33:05 +00:00
Bill Yi
5fce084616 Import translations. DO NOT MERGE
Change-Id: I9fece74d939eeb4c4d0c4a361e425744551f042d
Auto-generated-cl: translation import
2017-03-18 07:27:32 -07:00
Fan Zhang
11d2d68e23 Move developer options related class to development package
Bug: 34203528
Test: none, purely moving classes around
Change-Id: I3cd1d257f948729fda5c04632e7ce9114c40bd0c
2017-03-17 16:51:21 -07:00
Fan Zhang
2907f86971 Fallback to default wallpaper picker if first choice fails
- Add fallback logic in WallpaperSuggestionActivity
- Move some classes around
- Delete some unused class

Change-Id: Ifc8864428647a94f3ecae50d193c2156b2592ff3
Fix: 36140287
Test: make RunSettingsRoboTests
2017-03-17 16:49:58 -07:00
TreeHugger Robot
92c6a45358 Merge "Update string for Settings homepage." 2017-03-17 23:41:13 +00:00
TreeHugger Robot
c9be7e6ba7 Merge "Remove Index.java from old Search and its dependents" 2017-03-17 23:23:50 +00:00
TreeHugger Robot
edec9f1795 Merge changes from topic 'FrictionIcons'
* changes:
  Revert picker icon sizes to 24dp.
  Comment changes from ag/1991360.
  Clean up wifi_friction icon unused states.
  Fix list item spacing for preferences.
2017-03-17 23:06:10 +00:00
Daniel Nishi
c5def491ee Merge "Add borders to the Automatic Storage Management switch." 2017-03-17 22:55:14 +00:00
Daniel Nishi
3788262dac Merge "Size and position the donut." 2017-03-17 22:54:44 +00:00
TreeHugger Robot
c549c2dfd7 Merge "Update strings for Network & internet screen." 2017-03-17 22:29:12 +00:00
Daniel Nishi
47b07cc9c1 Merge changes from topic 'storage-o-strings'
* changes:
  Use total size and not free in Storage summary.
  Add new strings.
2017-03-17 22:03:48 +00:00
William Luh
f2feb70ba6 Merge "Cache the summary and icons for Security Settings injected tiles." 2017-03-17 22:01:39 +00:00
Doris Ling
e2baca1d04 Update string for Settings homepage.
Bug: 36375846
Test: builds
Change-Id: I97723b0a33f0fb04f7f4a0c5911a5d83a60d6014
2017-03-17 14:52:40 -07:00
TreeHugger Robot
1366046e57 Merge "Attemp to fix a concurrent modify exception" 2017-03-17 21:32:34 +00:00
Matthew Fritze
5c83cfa278 Remove Index.java from old Search and its dependents
Test: make RunSettingsRoboTests
Bug: 35763944, 36192909
Change-Id:  If216e1eeb4c29e7372720c6228fa4e99ea2a9904
2017-03-17 14:26:05 -07:00
TreeHugger Robot
7776243765 Merge "Update strings for Apps & notifications screen." 2017-03-17 21:05:25 +00:00
Doris Ling
faf37cdb5a Update strings for Network & internet screen.
Bug: 36296257
Test: builds
Change-Id: I417f6b9fd48725dd827a57f7af78f507fd9578fc
2017-03-17 13:54:44 -07:00
Fan Zhang
7c8f8a0a41 Attemp to fix a concurrent modify exception
Change-Id: I039091d43ba8c378066c26dcca416534d0f52d21
Fix: 36347434
Test: existing tests pass
2017-03-17 12:54:24 -07:00
TreeHugger Robot
a2475114ac Merge "Remove "remove account" from account sync detail page" 2017-03-17 19:49:10 +00:00
Sundeep Ghuman
830e47a2d5 Revert picker icon sizes to 24dp.
Bug: b/36295036
Test: See screenshot in bug
Change-Id: I68af38163d6770e60195b245c38942c3844ead46
2017-03-17 12:44:55 -07:00
Sundeep Ghuman
4d725a7708 Comment changes from ag/1991360.
Bug: NA
Change-Id: I832f4459e8becdc5862c83c2b2efd5cee0d417c9
Test: NA
2017-03-17 12:44:54 -07:00
Sundeep Ghuman
f0293ebb4d Clean up wifi_friction icon unused states.
Bug: 34802842
Test: NA - nonfunctional refactor
Change-Id: I3ad11a8b65bf8ac8aea0a240afa74724d4fb34f3
2017-03-17 12:44:54 -07:00
Sundeep Ghuman
6f98b97687 Fix list item spacing for preferences.
Bug: b/33970117
Test: Existing tests pass - purely UI margin change. See screenshots in
bug.

Change-Id: I08ce646c9db2401c1462801ab39713fca8f5cc26
2017-03-17 12:44:54 -07:00
Daniel Nishi
d8bcca1852 Merge "Add lifecycle methods for managing the options menu." 2017-03-17 19:41:39 +00:00
Daniel Nishi
b57795c311 Merge "Update the spacing on the Storage header." 2017-03-17 19:41:20 +00:00
Doris Ling
4d07b42a41 Update strings for Apps & notifications screen.
Bug: 36376411
Test: builds
Change-Id: I92c08bfc0c6c85db07fede31eeef7fb9c0babbea
2017-03-17 12:26:25 -07:00
Julia Reynolds
521c8751b3 Show channel description.
Test: manual
Change-Id: I0965b0ad2c64571a01a5f221f8d344c60d54b53d
2017-03-17 15:10:29 -04:00
William Luh
45f4e1241d Cache the summary and icons for Security Settings injected tiles.
This helps the summary and icons load more smoothly when resuming
from recents.

Bug: 35994047
Test: make RunSettingsRoboTests
Change-Id: I763f7dd19f64007959e1281f0ff04ecd19bbfbfc
2017-03-17 12:09:58 -07:00
Fan Zhang
499c8d54e8 Remove "remove account" from account sync detail page
Change-Id: I40cc9d3d593c31a5e3b02553ac12f77c0825ed51
Fix: 36375879
Test: make RunSettingsRoboTests
2017-03-17 11:02:46 -07:00
Lei Yu
dc8d9b138d Merge "Change ripple in battery pages" 2017-03-17 17:11:46 +00:00
Paul Duffin
6b58b5c9f7 Remove ambiguous wildcard import of org.mockito.Matchers.*
The recent upgrade to Mockito 2.7.13 has caused some problems
for grok (and new javac toolchain). The changed files used
wildcard imports to import the same methods from both Matchers
and Mockito.

This was not a problem previously because in the previous
version of Mockito the Mockito class extended the Matchers class
and so even though two methods with the same name were imported
they were not treated as a conflict because they were treated as
being the same method. In 2.7.13 the Mockito class no longer
extends the Matchers class instead they both extend the
ArgumentMatchers class and so for some reason javac no longer
treats them as the same method.

This was not detected by presubmit builds because jack is
still treating the methods as being the same.

Bug: 32912773
Test: m -j32 ANDROID_FORCE_JACK_ENABLED=disabled FrameworksWifiTests
Change-Id: I8c2b1dd39d2d653fe0fba19ed6421b7de25bb82f
2017-03-17 13:10:03 +00:00
TreeHugger Robot
d964467622 Merge "Fix NPE when building suggestion identifier." 2017-03-17 01:47:59 +00:00
TreeHugger Robot
0fea0d33e5 Merge "Add "Use open Wi-Fi automatically" setting." 2017-03-17 01:34:25 +00:00
Fan Zhang
264c0c2bbe Fix NPE when building suggestion identifier.
And refactored the getIdent logic into feature provider.

Change-Id: Id6f66a6942cbaf6d26ae4dca62037a6cf01179a5
Fix: 36314240
Test: make RunSettingsRoboTests
2017-03-16 17:12:22 -07:00
TreeHugger Robot
0fa7262c49 Merge "Listen to mobile data enabled flag change." 2017-03-17 00:09:54 +00:00
Amin Shaikh
1cf25748d6 Add "Use open Wi-Fi automatically" setting.
- Add toggle to ConfigureWifiSettings for "Use open Wi-Fi automatically"
- Start ACTION_CUSTOM_ENABLE activity and handle result to set the
USE_OPEN_WIFI_PACKAGE setting.

Bug: 34773276
Test: make
Change-Id: I602e271d5113e415d290468548e35059bd45d8b8
2017-03-16 16:54:20 -07:00
Daniel Nishi
17529b7dc1 Add lifecycle methods for managing the options menu.
Test: Settings robotests
Change-Id: I087cd0ec097041a4c4e0dd561dd2ec62f45f5390
2017-03-16 16:13:20 -07:00
jackqdyulei
26bc34a8b4 Change ripple in battery pages
1. Add ripple for battery header
2. Remove ripple for battery usage graph

Bug: 35959227
Bug: 35957849
Test: Manual
Change-Id: I7b9965304d0c79b59bdac92719e303931206b672
2017-03-16 16:08:42 -07:00
TreeHugger Robot
8c451742d0 Merge "Purify SettingsActivity from old search code." 2017-03-16 23:01:45 +00:00
Fan Zhang
917721c8d6 Listen to mobile data enabled flag change.
The listener is necessary to show/hide the gear icon on top of billing
cycle settings screen as user turn on/off mobile data from QS.

code cleanup: remove dividedCategory

Fix: 28066849
Test: make RunSettinsgRoboTests

Change-Id: I3b7075512042127fd711a8a70a572adfed069502
2017-03-16 15:08:49 -07:00
TreeHugger Robot
99977126be Merge "Change name of NetworkScorerPicker." 2017-03-16 21:55:00 +00:00
Matthew Fritze
0b431fc003 Purify SettingsActivity from old search code.
Bug:35763944, 32590887
Test: make RunSettingsRoboTests
Change-Id: Id8140b68a676e595bff095546fa119cd3ced2c4a
2017-03-16 14:14:44 -07:00
Stephen Chen
d4c7e5cec1 Change name of NetworkScorerPicker.
Bug: 36028168
Test: n/a
Change-Id: I8eb8c1ebf703692882b025bebecb0953f934dcd6
2017-03-16 13:24:33 -07:00
TreeHugger Robot
d764c57dcc Merge "Remove ranking code for Old Search" 2017-03-16 20:15:02 +00:00
Fan Zhang
4eb22906bb Merge "Fix a crash when resuming sound setting with AfW on Ryu" 2017-03-16 20:13:36 +00:00
Maurice Lam
3ad2b442b0 Merge "Remove unused ExploreByTouchHelper class" 2017-03-16 19:47:00 +00:00
TreeHugger Robot
89052d7268 Merge "Update some strings to match spec" 2017-03-16 18:30:09 +00:00
Fan Zhang
dc9a82f5b0 Fix a crash when resuming sound setting with AfW on Ryu
Also renamed a few xmls

Change-Id: I8ff5a778a39ea45471a27048be4ea2f21075872a
Fix: 36357493
Test: make RunSettingsRoboTests
2017-03-16 11:26:33 -07:00