Commit Graph

45588 Commits

Author SHA1 Message Date
android-build-team Robot
c883db167a Merge "Update the color of security status icons" into pi-dev 2018-04-30 23:49:41 +00:00
android-build-team Robot
bd825f408b Merge "Fix NPE during unit test" 2018-04-30 23:44:27 +00:00
android-build-team Robot
db9c8d3b16 Merge "Fix fingerprint suggestion icon color." into pi-dev am: 6590f6948d
am: 92ad34d76a

Change-Id: I607af41645c8dd9ddf6209d741d19a78dff946e6
2018-04-30 15:40:05 -07:00
android-build-team Robot
92ad34d76a Merge "Fix fingerprint suggestion icon color." into pi-dev
am: 6590f6948d

Change-Id: Iacdf068f690d31c3e37a91e9cacb7a3810b4a9ef
2018-04-30 15:30:20 -07:00
android-build-team Robot
6590f6948d Merge "Fix fingerprint suggestion icon color." into pi-dev 2018-04-30 22:17:30 +00:00
Fan Zhang
16de45d8ec Fix NPE during unit test
As of ag/3932176 the slice indexer now queries getSummary() for each
controller. So we need to create all necessary objects before
getSummary(). In this case, the PSCD object.

Change-Id: I0162996be37d740f1e450880bf4698acd94ca0ad
Fixes: 78897071
Test: atest
2018-04-30 15:17:22 -07:00
Antony Sargent
779292bcde Update the color of security status icons
Also update res/drawable/ic_ota_update_none.xml to have the same
contents as res/drawable/ic_ota_update_stale.xml.

Bug: 74255242
Test: manual (go to Settings->Security & location; the icons in the
Security status section at the top should be colorful)

Change-Id: I1c54c5b6803268e3acf9720c7c555476405d624e
2018-04-30 15:11:19 -07:00
android-build-team Robot
bf9c07cb59 Merge "Revert "Get rid of charging sounds toggle"" into pi-dev am: 8e55299f98
am: 72cedc72a4

Change-Id: Ib15d341f90072be2fbe3d6b5cb1bfd9c4fcbb938
2018-04-30 14:29:58 -07:00
android-build-team Robot
72cedc72a4 Merge "Revert "Get rid of charging sounds toggle"" into pi-dev
am: 8e55299f98

Change-Id: I58e93b9c70d57224c01bd62fa47640badd1febaf
2018-04-30 14:22:42 -07:00
Doris Ling
ea85c0a2cc Fix fingerprint suggestion icon color.
- add tintable flag to the suggestion metadata so that it will be
displayed in correct tint color.

Change-Id: I29b6d3a8b7c47354d6022aea4d4f01986f5ce2b3
Fixes: 78655925
Test: visual
2018-04-30 14:08:55 -07:00
android-build-team Robot
8e55299f98 Merge "Revert "Get rid of charging sounds toggle"" into pi-dev 2018-04-30 21:08:51 +00:00
Fan Zhang
7987ccfffd Reset development tile values when turning off dev option.
Change-Id: Ib2e8ea3bfcffca5b2ee3d0ebd3c0c524239d2145
Fixes: 78654641
Test: robotest
2018-04-30 20:27:52 +00:00
Beverly Tai
6761acdd33 Revert "Get rid of charging sounds toggle"
Bug: 77912907
This reverts commit fbe721b1b3.

Reason for revert: negative dogfood feedback

Change-Id: I8485a379eafee0a4fcd599e9b1c47aee7dd3c6ad
2018-04-30 20:01:40 +00:00
Eran Messeri
d204af1aa8 Require work profile to be unlocked for changing notification settings in a different way
Rather than check for the state of the work profile in
LockScreenNotificationPreferenceController#handlePreferenceTreeClick, do so in
the RestrictedListPreference#performClick.
The drawback of checking the state in handlePreferenceTreeClick is that the
preferences are displayed first and then the requirement to unlock/enable the
work profile is displayed on top of it.

This is rather poor UX, so switch to doing the check in performClick and
returning early if the work profile needs to be unlocked/enabled.
This is similar to Patchset 1 from ag/3805482.
The main difference is that the user is returned to the settings screen
both after enabling the work profile and unlocking it.

Test: Manually with TestDPC
Test: atest SettingsRoboTests:RestrictedListPreferenceTest
Bug: 77408805
Change-Id: Id168911b082fffac193cd7c7a658ab92d6ce2c15
2018-04-30 11:29:36 +01:00
hjchangliao
47f1d006c8 Update Conditional padding to align Suggestions
Reduce start/end padding of Conditional card,
to align Suggestions.

Change-Id: I333bfb848df27e7132d3e26953580de21ea235d3
Fixes: 78660126
Test: Manual test
2018-04-30 11:42:56 +08:00
android-build-team Robot
167612df0e Merge "Migrate ChooseAccountActivity to DashboardFragment" 2018-04-28 06:10:25 +00:00
Emily Chuang
b279b1c025 Migrate ChooseAccountActivity to DashboardFragment
- Build a controller to generate/manage a list of preferences.
- Move some logics to the controller and add tests.
- Rename to ChooseAccountFragment.

Bug: 73899467
Test: make RunSettingsRoboTests -j
      atest UniquePreferenceTest SettingsGatewayTest
Change-Id: Id2906c4b922ef159d08c803b976671264c54665f
2018-04-27 22:17:23 -07:00
android-build-team Robot
5424a8ec48 Merge "Updated play button icon for paused animations" into pi-dev am: 0929651a77
am: 022fcde73d

Change-Id: I8e2b631bf2699a88fe163b2fea5699c892f3f184
2018-04-27 15:58:25 -07:00
android-build-team Robot
022fcde73d Merge "Updated play button icon for paused animations" into pi-dev
am: 0929651a77

Change-Id: I02c0842e2eb135e87a941b34a364341e9128924a
2018-04-27 15:54:21 -07:00
android-build-team Robot
0929651a77 Merge "Updated play button icon for paused animations" into pi-dev 2018-04-27 22:47:29 +00:00
android-build-team Robot
656374349d Merge "mark feature flag translateble to avoid loc bugs." 2018-04-27 21:26:18 +00:00
android-build-team Robot
f2dd6d74ac Merge "Remove the gear icon and change tapping event" 2018-04-27 17:13:13 +00:00
android-build-team Robot
6161be4d40 Merge "Add tint attribute to the icon" into pi-dev am: 98496a5683
am: 8e7b570142

Change-Id: Ic1ba08683aa90ca8289d38608dc8d398f0955689
2018-04-27 10:03:36 -07:00
android-build-team Robot
8e7b570142 Merge "Add tint attribute to the icon" into pi-dev
am: 98496a5683

Change-Id: Ic69e73f1847637cf7913e03696e6823840bbcb38
2018-04-27 09:59:24 -07:00
android-build-team Robot
98496a5683 Merge "Add tint attribute to the icon" into pi-dev 2018-04-27 16:55:06 +00:00
android-build-team Robot
f64597b367 Merge "Remove wrapper for LocationManager" 2018-04-27 16:36:54 +00:00
Julia Reynolds
01c1dc5e36 [automerger skipped] Merge "Redesign zen visual effects screens" into pi-dev am: ea360d687d
am: 207d0bbe76  -s ours

Change-Id: I8550202afd948eb932ddc3373c9ce817f6e3f331
2018-04-27 05:53:03 -07:00
Julia Reynolds
207d0bbe76 Merge "Redesign zen visual effects screens" into pi-dev
am: ea360d687d

Change-Id: I416a1265f129825d91475ba63c30f02ec37adb52
2018-04-27 05:48:26 -07:00
Julia Reynolds
ea360d687d Merge "Redesign zen visual effects screens" into pi-dev 2018-04-27 12:41:58 +00:00
Julia Reynolds
4cf8bfd5b2 Redesign zen visual effects screens
Test: robotests
Bug: 78448988
Change-Id: I3040c1103d76c75601e82e3660a2ace202837ec2
Merged-In: I3040c1103d76c75601e82e3660a2ace202837ec2
2018-04-27 11:12:34 +00:00
Julia Reynolds
302b27ab9a Merge "Redesign zen visual effects screens" 2018-04-27 11:08:57 +00:00
hughchen
7ef4fd8085 Remove the gear icon and change tapping event
* For fix the conflicts in pi-dev, cherry pick the ag/3944480 in
  master and merge the conflict.
* Remove the gear icon in "currently connected" section.
* Change the tapping event in "currently connected" section.
  When tapping device in this section, take user to device detail page.
* Add test to verify when ConnectedBluetoothDeviceUpdater add preference
  the shouldHideSecondTarget() is return true.

Bug: 78490845
Test: make -j40 RunSettingsRoboTests
Change-Id: I25f8455def3c38e24dea9af9e9e29ba37c250f67
2018-04-27 16:35:09 +08:00
TreeHugger Robot
8f73818b03 Merge "Fix crash in anomaly job service" 2018-04-27 03:57:57 +00:00
hjchangliao
6bc467a252 Remove wrapper for LocationManager
Remove LocationManagerWrapper from SettingsLib

Bug: 76167422
Test: RunSettingsRoboTests
Change-Id: I4ee5de7f6a59468e35ab0bfa2845022b7d7efb3a
2018-04-27 03:32:04 +00:00
Tony Huang
e0b3323bde Merge "Update StorageSummaryDonutPreference content" into pi-dev am: 070238df13
am: 3ba6c42ab0

Change-Id: Ibb80c748317948ab1b5b62f606c06375ee0c1cc9
2018-04-26 20:09:01 -07:00
Cyril Lee
1590ce33e8 Merge "Change fingerprint enrolling animation to 4 colors" into pi-dev am: 66640d6412
am: 7691959d04

Change-Id: I517a30099c8f28ddbc6ab04bf6a94a339505c9f3
2018-04-26 20:08:01 -07:00
Tony Huang
3ba6c42ab0 Merge "Update StorageSummaryDonutPreference content" into pi-dev
am: 070238df13

Change-Id: If003dd4abdd28f07acc531c863b950eff69265ff
2018-04-26 20:01:14 -07:00
Cyril Lee
7691959d04 Merge "Change fingerprint enrolling animation to 4 colors" into pi-dev
am: 66640d6412

Change-Id: I781b47a12226b7ef93ee7bf6edcc43554e6a32bf
2018-04-26 20:00:20 -07:00
Tony Huang
070238df13 Merge "Update StorageSummaryDonutPreference content" into pi-dev 2018-04-27 02:58:15 +00:00
Cyril Lee
66640d6412 Merge "Change fingerprint enrolling animation to 4 colors" into pi-dev 2018-04-27 02:53:30 +00:00
Sam.SH Chang
ade2423e34 Add tint attribute to the icon
Bug: 78238313
Test: build pass
Change-Id: I805f5a8f1c21f617d3555e135e9d332b77ca0c29
2018-04-27 10:32:27 +08:00
Ivan Chiang
121d53072e Merge changes I3dd31855,Id5a75217 into pi-dev am: 720a224e00
am: e598b1ae03

Change-Id: I715f7dba77f7ba10314ed4114b9eda1019171253
2018-04-26 19:13:07 -07:00
Ivan Chiang
e598b1ae03 Merge changes I3dd31855,Id5a75217 into pi-dev
am: 720a224e00

Change-Id: Ibf611643afabea5ed181b0336da5e949d416e064
2018-04-26 19:06:38 -07:00
TreeHugger Robot
720a224e00 Merge changes I3dd31855,Id5a75217 into pi-dev
* changes:
  Show docks on previously connected devices page
  Show Dock devices in Connected devices page
2018-04-27 01:59:16 +00:00
TreeHugger Robot
0e6977da39 Merge "Slices feature supports firmware version." 2018-04-27 01:10:09 +00:00
Phil Weaver
16904e3019 Merge "Improve battery saver setting a11y semantics" into pi-dev am: 577f2af92b
am: d7d1f98fa7

Change-Id: Ic79fa7da89397c517acd3087e23d652056296e89
2018-04-26 17:57:23 -07:00
Fan Zhang
1b6835a86b mark feature flag translateble to avoid loc bugs.
Change-Id: I8a5c1e5ce6afbcfb784524a15ad69966ea28b532
Fixes: 78503763
Test: builds
2018-04-27 00:37:13 +00:00
Phil Weaver
d7d1f98fa7 Merge "Improve battery saver setting a11y semantics" into pi-dev
am: 577f2af92b

Change-Id: I223549eac9f7716ad514a3c0051018d97f7d9377
2018-04-26 17:27:12 -07:00
Phil Weaver
577f2af92b Merge "Improve battery saver setting a11y semantics" into pi-dev 2018-04-26 23:50:54 +00:00
Fan Zhang
5f492647c8 Merge "Modified the AirplaneModePreferenceController for slice" into pi-dev am: 62cd5f7f0f
am: 169d6a9cd6

Change-Id: Ie5aada5dc0993e097ad5215895bda86cebab2f87
2018-04-26 16:49:32 -07:00