Commit Graph

11147 Commits

Author SHA1 Message Date
Hyunyoung Song
e2c31ffc2b Change static defined color inside drawable
Test: manual build and installed on bullhead
-theme based color attribute may not load from correct context inside drawables.

b/35681210

Change-Id: I8869963dee76d6744c619a25f01270e2a2f5d77c
2017-02-23 17:37:19 -08:00
Doris Ling
afc08b4458 Update summary text for Emergency info
- changed text to Info & contacts for <user>

Change-Id: I731f6f038baa3d4dc0dfd9d83bade44185b096b7
Fix: 34976320
Test: Visual
2017-02-23 14:23:53 -08:00
Doris Ling
b82ab6fa8c Change app detail header title to multi-line.
- allow multi line in app detail header title so that title text will
not be cut off
- fix layout so that the app links buttons and the title text won't
overlap

Change-Id: I9d35a20bc6630f89182023ba097781870184d122
Fix: 35675169
Test: Visual
2017-02-23 12:10:34 -08:00
TreeHugger Robot
4bc851b520 Merge "Convert DeviceInfoSettings into a dashboard fragment." 2017-02-23 19:16:22 +00:00
Daniel Nishi
63558780a5 Merge "Add support for user profiles to the Storage Settings." 2017-02-23 18:39:35 +00:00
Fan Zhang
c62e2f033d Convert DeviceInfoSettings into a dashboard fragment.
This is needed to use logging from DashboardFragemnt.
This page is now a mixture of PrefernceController and non-controller
preferences.

Also permanently removed system update preference from xml to simplify
migration

Todo: convert the rest of preference into controller.

Bug: 34774945
Test: make RunSettingsRoboTests
Change-Id: Ie5130ea7377db2ccf2236cdf48e5cc26d1347d7a
2017-02-23 09:42:57 -08:00
TreeHugger Robot
97f1c76076 Merge "Personal sounds override work sounds, not replace" 2017-02-23 04:21:45 +00:00
Maurice Lam
0c3fe0eaff Merge "Update GLIF button styles" 2017-02-23 02:01:44 +00:00
Daniel Nishi
9f60f42a94 Add support for user profiles to the Storage Settings.
This adds new preferences for each profile (such as the work
profile) and defines a new view for viewing the storage
breakdown for the individual profile. The functionality closely
mimics the presentation on the main view, but without the system-wide
breakdown and without any additional users/profiles.

Bug: 34715777
Test: Settings Robotests

Change-Id: I19d449b648c6566331fd02e45c2e45f8c74ea7e7
2017-02-22 17:33:24 -08:00
Bartosz Fabianowski
8903f66662 Add wipe on login failure to Privacy Settings page
This CL adds information to the Enterprise Privacy Setting page that
tells the user how many times the password can be mistyped before
the device (or the work profile) is forcefully wiped.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I4ae316802dbf5853ab4eacb0787647372d5e26c2
2017-02-22 23:49:09 +01:00
TreeHugger Robot
182e6ce2c7 Merge "Update string char limit" 2017-02-22 19:28:55 +00:00
TreeHugger Robot
1c3ab0e22a Merge "Import translations. DO NOT MERGE" 2017-02-22 19:09:55 +00:00
Lei Yu
e923b4795b Merge "Add battery stats perference in battery settings page." 2017-02-22 18:44:39 +00:00
Antony Sargent
4cf650b6b7 Merge "Add "Instant apps" filter to app listing" 2017-02-22 18:40:44 +00:00
Fan Zhang
686f0a83d7 Update string char limit
Change-Id: I79bd24ba548cd2b9f37d11f30af3076cdc394412
Fix: 35449637
Test: builds
2017-02-22 09:30:43 -08:00
Bill Yi
7fff670437 Import translations. DO NOT MERGE
Change-Id: Id90042e2ffb82fb6d438d1999f5c30f6ea2224be
Auto-generated-cl: translation import
2017-02-22 08:45:15 -08:00
jackqdyulei
3934722439 Add battery stats perference in battery settings page.
Add a preferenceGroup at the bottom of the page, which contains
Screen and Cell usage data.

Bug: 35305983
Test: RunSettingsRoboTests & Screenshot
Change-Id: Ida6e92ddbd7155ec974a2f04c6d6d02ab9dab210
2017-02-21 20:47:40 -08:00
TreeHugger Robot
4e1477b60e Merge "Update Security & screen lock preference" 2017-02-22 03:08:12 +00:00
Maurice Lam
bdfc27f9ac Update GLIF button styles
- The negative/secondary button styles now have the correct alpha
  for the touch highlight. (24%)
- The negative/secondary buttons now align correctly based on their
  labels text, instead of based on the bounds of the touch highlight.
- Fixed issues with button shadows being cropped.

Test: Manual inspection. Existing tests pass.
Change-Id: I261e504d661d7a53eda3561a26942ea11ba0d429
2017-02-21 18:24:39 -08:00
TreeHugger Robot
d0db18b3c9 Merge "Remove a11y speak passwords settings." 2017-02-22 01:57:45 +00:00
TreeHugger Robot
c45c49563f Merge "Add toggle in menu to show/hide hidden apps" 2017-02-22 01:46:53 +00:00
Hyunyoung Song
e011c6a402 Merge "Fix transaction too large exception on creating shortcut b/35515740 Test: manual build/push and reboot. Create shortcut from widget tray." 2017-02-22 01:44:47 +00:00
jackqdyulei
5115265a50 Add toggle in menu to show/hide hidden apps
In the previous cl we hide unrelated apps and distribute hidden
battery usage among other apps. Now we add a toggle in menu to
show old power accounting as well.

Bug: 35366708
Test: RunSettingsRoboTests
Change-Id: I6918b7095cf84d9756ad3972ff50a62aeae1de0e
2017-02-21 16:00:20 -08:00
Daniel Nishi
3633c243ed Merge changes from topic 'secondary-users'
* changes:
  Update the loading of info for the secondary users.
  Add support for visualizing secondary users.
2017-02-21 23:20:29 +00:00
TreeHugger Robot
0113b65753 Merge "Add icons for Wi-Fi wakeup and notification settings toggles." 2017-02-21 23:04:30 +00:00
Doris Ling
81610543a9 Update Security & screen lock preference
- change password category title to Privacy and move Location into it.
- remove Advanced security preference category
- remove SIM card preference category and move the SIM card lock
  preferece down.
- move Encryption and Credential settings to a separate screen.

Bug: 34976707
Test: make RunSettingsRoboTests
Change-Id: Iebaba4a8aad135fa88f163de0b60b488fd9510d0
2017-02-21 14:55:25 -08:00
Hyunyoung Song
cafabced45 Fix transaction too large exception on creating shortcut
b/35515740
Test: manual build/push and reboot. Create shortcut from widget tray.

Change-Id: I38c2af0ad5b179c1d602810f81efcdd95e114666
2017-02-21 14:50:35 -08:00
Fan Zhang
dfce62c507 Deprecate AppListPreference and AppListPrefWithSettings
- Convert ManageAssist into DashboardFragment
- Convert default assist pref to DefaultAppPickerFragment
- Add PreferenceController for each pref
- Add tests

Bug: 35203386
Test: make RunSettingsRoboTests

Change-Id: I0350a06cae7457809fb261e2d8ec99eda80cc50a
2017-02-21 13:01:00 -08:00
Stephen Chen
614e5c3e5c Add icons for Wi-Fi wakeup and notification settings toggles.
Bug:35350450
Test: visual inspection on device.
Change-Id: Idc826002da98675b7c2ba675db98cd8c30b76ab2
2017-02-21 12:17:46 -08:00
Daniel Nishi
dfed8a2acb Add support for visualizing secondary users.
This functionality adds the secondary users to the screen, but
currently does not populate the information for them. Once the
external stats query works, I will add a loader which will
populate this information.

This also does not cover work profiles. Support for that is
forthcoming.

Bug: 34715777, 34225103
Test: Settings Robotest
Change-Id: Ib9b692b214f5ce5d303dfd64516381443d4acebd
2017-02-21 12:07:23 -08:00
Lei Yu
aba2c95ae0 Merge "Refine battery text in battery header" 2017-02-21 18:40:53 +00:00
Derek Sollenberger
e3aade4a67 Merge "Add developer setting to set the default GPU renderer." 2017-02-21 17:37:39 +00:00
Robin Lee
8b553ca15d Personal sounds override work sounds, not replace
To make it clear that the work choices will be preserved, and will be
restored after cancelling the setting instead of the personal sounds
being kept as-is.

Test: inspection (open sound settings, choose 'use personal profile sounds'). This is a strings change.
Bug: 34730524
Change-Id: I19953005d129000939fb3851148b2f837e2aa6c2
2017-02-20 18:17:17 +00:00
TreeHugger Robot
46f850191f Merge "Change MaskableIconDrawable to AdaptiveIconDrawable" 2017-02-18 01:05:02 +00:00
TreeHugger Robot
cb0993ff94 Merge "Move InputMethodAndSubtypeEnabler to SettingsLib and port to TV" 2017-02-18 00:21:25 +00:00
TreeHugger Robot
76f2de1c56 Merge "Update string" 2017-02-17 23:36:48 +00:00
Tony Mantler
4d27b2ce5b Move InputMethodAndSubtypeEnabler to SettingsLib and port to TV
Bug: 35315463
Test: adb shell am start -a android.settings.INPUT_METHOD_SUBTYPE_SETTINGS
Change-Id: I17e6e64ff2c01577d4036bccafe7d0b4ad1d5ca5
2017-02-17 14:04:40 -08:00
Fan Zhang
5b3197b986 Update string
Bug: 34975053
Test: Builds
Change-Id: I84e7b0fe88a146ce43149faf8cfbfe5d8d5030ce
2017-02-17 13:58:50 -08:00
jackqdyulei
e2fbdfefef Refine battery text in battery header
1. When there exists estimate time, show it, otherwise
show battery status label.
2. Change the summary based on whether it is charging.
(Estimated time left vs Time to full charge)

Bug: 35328749
Test: RunSettingsRoboTests
Change-Id: I64ee8acd248062b4effcfc58ed908be7d89621a3
2017-02-17 13:57:43 -08:00
Hyunyoung Song
da6dac806b Change MaskableIconDrawable to AdaptiveIconDrawable
Test: $ make -j31 dist

Bug: 35399620
Change-Id: I2f6632ea31e23a46ef57af569eb55e5a42df5028
2017-02-17 11:34:49 -08:00
Julia Reynolds
04fe572a2f Hide incomplete feature.
Test: manual
Change-Id: Ic35afcbc0ab4374a0c50e61f34829a03857674b2
2017-02-17 09:48:58 -05:00
TreeHugger Robot
309862d3b8 Merge "Make the list in advanced battery page sorted by usage." 2017-02-17 02:40:27 +00:00
TreeHugger Robot
3e0ae4ed90 Merge "Add settings for the assist gesture." 2017-02-17 02:13:00 +00:00
TreeHugger Robot
ad36812e88 Merge "Import translations. DO NOT MERGE" 2017-02-17 00:59:02 +00:00
jackqdyulei
22dbc106e7 Make the list in advanced battery page sorted by usage.
1. Make the preference dynamically generated in code
2. Make PowerUsageData comparable and add title resource id.

Bug: 34385770
Test: RunSettingsRoboTests
Change-Id: I1b90b4c6cc7107bc146e3554db04cec7641e1cde
2017-02-16 16:22:16 -08:00
TreeHugger Robot
4451440a5e Merge "Update cast setting icon" 2017-02-16 22:59:46 +00:00
Hyunyoung Song
cfcecb06ac Merge "Change launcher and shortcut icons to MaskableIconDrawable Test: manual test on Launcher3 Bug: 33034275 Bug: 35431198" 2017-02-16 22:18:16 +00:00
Bill Yi
acda1e6c53 Import translations. DO NOT MERGE
Change-Id: I777c53d3ee4c3ed506e931b8d1403375ea947355
Auto-generated-cl: translation import
2017-02-16 13:41:54 -08:00
Fan Zhang
3d0c5c2e38 Update cast setting icon
Change-Id: Id5cbe994f58c3daea4c70ffd76718ac56389a610
Fix: 35407157
Test: manual
2017-02-16 12:53:44 -08:00
Hyunyoung Song
1f093dd94c Change launcher and shortcut icons to MaskableIconDrawable
Test: manual test on Launcher3
Bug: 33034275
Bug: 35431198

Change-Id: Ief9f49ec38ec95daa738799398fc4b458d634acc
2017-02-16 12:31:49 -08:00