Commit Graph

51854 Commits

Author SHA1 Message Date
Amin Shaikh
93e9a335bd Merge "Fix themed settings icons." into qt-dev
am: 1c3d7aa1f9

Change-Id: I6617c1ddc903ef127d3c7ad2cf580dbb925a6ea7
2019-05-03 21:23:49 -07:00
Jason Chiu
1c4cebdf2c Merge "Update the deprecated Slice APIs to the new ones" into qt-dev
am: 6aab54e4be

Change-Id: I262ea4f90f000df212dc2fafc682334321ffb84a
2019-05-03 20:57:05 -07:00
Beth Thibodeau
5a8b172948 Merge "Add setting suggestion for style" into qt-dev
am: 1d1f1b321e

Change-Id: Id49ac16328555b8f056a7854312777441669010c
2019-05-03 20:41:24 -07:00
Julia Reynolds
f6b836b008 Update colors
am: fc5f111bb9

Change-Id: I829b3d155a783613f670bd4c3573eccbdce995b3
2019-05-03 18:03:51 -07:00
TreeHugger Robot
d8accd6b6a Merge "Update Battery Saver schedule to add order to seekbar" into qt-dev 2019-05-03 23:56:22 +00:00
Fan Zhang
71d793cc2a Format app data usage using IEC unit, not SI unit.
Fixes: 131924586
Test: visual
Change-Id: Iedbd15fb9c98a5c93089708e40175cbf5572eeda
2019-05-03 16:53:11 -07:00
Fan Zhang
0d69f08337 Remove animator on app list.
The animator causes a lot of jank. Removing it makes the UI feel faster
in general.

Fixes: 74127318
Test: visual
Change-Id: I79cbe8220fb05af84a394207dac2c8c9a93288be
2019-05-03 15:37:55 -07:00
TreeHugger Robot
d4d240f313 Merge " Make the selected importance more prominent" into qt-dev 2019-05-03 22:20:28 +00:00
Andrew Sapperstein
7af5a9e0c3 Mark broken tests @Ignore.
Bug: 131921277
Test: robotests
Change-Id: I2dc1a4ecc41e07284710fbffc2a980aee805e745
2019-05-03 14:43:47 -07:00
Pengquan Meng
97650e9880 Add log for manual network select settings
Add log to manual network select settings code to make the debug easier.

Bug: 131912524
Test: build
Change-Id: I6edb1aac67dd827563fe10adcdc53b6dddea9ca3
2019-05-03 14:37:11 -07:00
TreeHugger Robot
1c3d7aa1f9 Merge "Fix themed settings icons." into qt-dev 2019-05-03 21:04:36 +00:00
Julia Reynolds
abb04be44d Populate recent notifying apps from usage events
Which is the data source that the screen this widget
links to uses

Test: robotests
Fixes: 131641848
Change-Id: I02ce178823e72b3b3606ad4f7110587b6dc0afe3
2019-05-03 20:50:22 +00:00
Julia Reynolds
c3f7ba9167 Make the selected importance more prominent
Fixes: 129507563
Test: manual
Change-Id: Ic8280eb369d687385cff3a7122ce91d7051fa76c
2019-05-03 19:31:19 +00:00
TreeHugger Robot
6aab54e4be Merge "Update the deprecated Slice APIs to the new ones" into qt-dev 2019-05-03 17:05:12 +00:00
Amin Shaikh
3f1de20c7e Fix themed settings icons.
- Added android prefix for homeAsUpIndicator attribute
- Override ic_arrow_down_24dp from androidx
- Remove ic_lock drawable overlay
- Update date and time icon
- Dedupe ic_menu_add and ic_add_24dp

Bug: 131346125
Test: mp settings;
Change-Id: I7223249f2adccc5569a37e8b68cae5499e7c7620
2019-05-03 17:02:46 +00:00
Salvador Martinez
bd6045bea9 Update Battery Saver schedule to add order to seekbar
If the first time battery saver warning was the one causing
a change in settings global the radio button picker doesn't update
the preferences correctly and would put the seekbar at the top. This
explicitly adds an order to the seekbar so that if it gets updated
for some reason it will show up at the end again.

Test: atest BatterySaverScheduleSettingsTest
Bug: 131434758
Change-Id: Iebab5d176c8fbdaea078e13a71eff7e21408353b
2019-05-03 10:01:34 -07:00
Beth Thibodeau
1d1f1b321e Merge "Add setting suggestion for style" into qt-dev 2019-05-03 16:54:54 +00:00
Julia Reynolds
fc5f111bb9 Update colors
For night mode and a11y

Test: manual
Fixes: 129507563
Change-Id: Ic675cbe0aaf0ccbb18d57729c26b5b55ca907910
2019-05-03 13:33:54 +00:00
Yanting Yang
67a4449ef5 Clean up import in homepage
- Update import for MetricsProto to SettingsEnums
- Remove unused import
- Sort import

Fixes: 131885942
Test: robotests
Change-Id: I9a5e06adaa19bac9c082f53f1c627356be7148d8
2019-05-03 18:52:07 +08:00
Jason Chiu
c37126628a Update the deprecated Slice APIs to the new ones
Fixes: 131880868
Test: build, visual, robotest
Change-Id: I2cbb8fe131ebb284dabc5a5d65e70db254691688
2019-05-03 17:33:09 +08:00
Jason Chiu
6a6787cdc0 Add subtext for Wi-Fi items on Wi-Fi slice
- Sync the Wi-Fi slice items subtexts with Wi-Fi page, and add
  "Not connected" when the returned subtext is empty
- Wi-Fi slice header subtext just simply reveals on/off state
- Add a placeholder to the loading row to sync its height with other
  rows
- Show contextual Wi-Fi slice when the connected network is captive
  portal, is invalidated, or has limited connectivity

Bug: 130751985
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: I0b2715295f00edc8dd7d6d75b7fdc18263675797
2019-05-03 16:18:42 +08:00
Stanley Wang
109dc516b2 Fix no touch feedback present on the settings suggestion card.
Add selectableItemBackground attribut to conditional card layout,
and add new background for contextual half card.

Fixes: 129357518
Test:  manual
Change-Id: I726acfa3a55560d9b34f973b141e4a89cc8e8b68
2019-05-03 13:14:52 +08:00
Raff Tsai
1f0a1171b7 ANR observed under settings when trying to reset network settings
- Move reset network settings code to async task.

Test: manual, Robolectric
Fixes: 130772994
Change-Id: I59345f48ed840ecfd64c29c2c20ab8caf2679f63
Merged-In: I59345f48ed840ecfd64c29c2c20ab8caf2679f63
2019-05-03 13:02:07 +08:00
Kevin Chyn
6ffd3e0037 Merge "Update face settings to match mocks" into qt-dev
am: 27e0c844ae

Change-Id: I6c9601a9c35f02755fab8a238c1eb1416a3e68e1
2019-05-02 20:43:28 -07:00
Andrew Sapperstein
10eb58b5c2 Merge "Add metrics categories for delete sims dialogs." into qt-dev
am: 920723019e

Change-Id: Ifc1dfed812e7d4c33463fbbf3ce9475518c0183b
2019-05-02 20:40:41 -07:00
Kevin Chyn
27e0c844ae Merge "Update face settings to match mocks" into qt-dev 2019-05-03 03:21:58 +00:00
Lei Yu
1ed874b0bf Merge "Update title for metered preference" into qt-dev
am: 6e55084e19

Change-Id: Ic2f9a47d86ed505746870213dbe8ef21772fccda
2019-05-02 20:17:20 -07:00
TreeHugger Robot
920723019e Merge "Add metrics categories for delete sims dialogs." into qt-dev 2019-05-03 02:48:30 +00:00
Fan Zhang
c7c90f352b Merge "Delete dead tests." into qt-dev
am: 157f2f095f

Change-Id: I850dd85b9d2c673451eda8c4d1689ec716dc6b8f
2019-05-02 19:18:16 -07:00
cosmohsieh
1d3a3ebd94 Merge "[PasspointV2] Fix lint error" into qt-dev
am: 7cddfa8075

Change-Id: I569db75f268e375bea0397d36659018b4062de1d
2019-05-02 19:05:00 -07:00
TreeHugger Robot
6e55084e19 Merge "Update title for metered preference" into qt-dev 2019-05-03 01:52:56 +00:00
TreeHugger Robot
157f2f095f Merge "Delete dead tests." into qt-dev 2019-05-03 01:19:26 +00:00
Kevin Chyn
0c4bf9b2bc Update face settings to match mocks
Test: Builds

Fixes: 131660440
Change-Id: Ie75b67428be1e0504e3121bccb68f61e1fdbdb44
2019-05-02 16:59:12 -07:00
TreeHugger Robot
7cddfa8075 Merge "[PasspointV2] Fix lint error" into qt-dev 2019-05-02 23:52:35 +00:00
Andrew Sapperstein
7da37d554e Merge "Tint plus icon in mobile networks list." into qt-dev
am: 8d4654682a

Change-Id: I3cd255b425d18ded99fb824cc259b9efdff65a34
2019-05-02 16:39:24 -07:00
Fan Zhang
094c238ba1 Delete dead tests.
These tests are broken for a while and we don't have owners to maintain
these tests. New tests will be written in robolectric.

Fixes: 131857690
Test: rebuild
Change-Id: I6ad2d7f1aa6bc904df5746b82cd8d9db3e93bd8f
2019-05-02 16:25:37 -07:00
Lei Yu
06a309cf1c Update title for metered preference
Fixes: 111859056
Test: Manual
Change-Id: I7cecb6fee3963607e33a8fd24d53e98c209f1495
2019-05-02 16:09:18 -07:00
Felipe Leme
1a25e90253 Merge "Changed Content Capture title." into qt-dev
am: 78b74f434b

Change-Id: I8be7fa02a6ab854975942edaea4c63a86b9ba318
2019-05-02 15:33:42 -07:00
Salvador Martinez
b52916c3ff Merge "Update battery saver footer to have learn more link" into qt-dev
am: a5bc389c9d

Change-Id: I395d95bd2a8cccf39519106fc88188d5b0e507b1
2019-05-02 15:17:54 -07:00
TreeHugger Robot
8d4654682a Merge "Tint plus icon in mobile networks list." into qt-dev 2019-05-02 22:07:36 +00:00
Felipe Leme
78b74f434b Merge "Changed Content Capture title." into qt-dev 2019-05-02 21:51:02 +00:00
TreeHugger Robot
a5bc389c9d Merge "Update battery saver footer to have learn more link" into qt-dev 2019-05-02 21:38:37 +00:00
Andrew Sapperstein
aaf8af5430 Add metrics categories for delete sims dialogs.
Fixes: 131519375
Test: is metrics
Change-Id: I020e3d887fb0408617428d00386bb57318b6b175
2019-05-02 14:03:24 -07:00
Andrew Sapperstein
52f7903d2f Tint plus icon in mobile networks list.
Fixes: 131723134
Test: visual inspection
Change-Id: Ia6e85b99941604904e536735fadfd5c3e6ef0eba
2019-05-02 13:32:45 -07:00
Salvador Martinez
b056b7dec4 Update battery saver footer to have learn more link
This will allow tapping on the Learn More text to take a user to
the support page for battery saver.

Bug: 129010739
Test: atest BatterySaverSettingsTest
Change-Id: Ifb758ea8c608a4051c093b5d1d43f9a039ab1294
2019-05-02 13:08:52 -07:00
Jason Chiu
9de49a0ca5 Merge "Update strings for Vibration" into qt-dev
am: 56b88886a0

Change-Id: Ida7082edd72b32c1ee0c16f70c553f0701640e94
2019-05-02 12:38:22 -07:00
TreeHugger Robot
56b88886a0 Merge "Update strings for Vibration" into qt-dev 2019-05-02 19:18:36 +00:00
Lei Yu
426f16774b Merge "Update dialog text for untethered BT device" into qt-dev
am: 76a3e5bfac

Change-Id: Ia9973aa33743700d65e007dfd95f24c740b2e51c
2019-05-02 10:40:38 -07:00
Raff Tsai
b4164270aa Merge "Can't switch navigation mode from search results" into qt-dev
am: aad3cdcf5f

Change-Id: I77e5169c346622e31e15d04116e6092fd815ade6
2019-05-02 10:37:48 -07:00
Lei Yu
76a3e5bfac Merge "Update dialog text for untethered BT device" into qt-dev 2019-05-02 17:18:04 +00:00