Commit Graph

27192 Commits

Author SHA1 Message Date
TreeHugger Robot
410273210d Merge "Open Security Patch Bulletin" into nyc-mr1-dev 2016-07-14 13:49:58 +00:00
Tony Mak
6ba9e15c4a Disallow user to block notification from OobConfig
Change-Id: I4680e5c5b596e81ac33d544d0d81de9df3b7587c
Fix: 29632126
2016-07-14 15:32:26 +08:00
Bill Yi
1a0f642c24 Import translations. DO NOT MERGE
Change-Id: I9230fd1dacce710c8cb39946a65ed3550b6d2e0a
Auto-generated-cl: translation import
2016-07-13 23:07:59 -07:00
Tony Mak
981e9a96dc Disable instead of hiding add account preference
Bug: 29236399
Change-Id: Ieb1af7f31a54b1502ae99682fc423e37c86a2353
2016-07-14 13:42:50 +08:00
Michael Wright
aacf55ab3f Color transforms are now color modes.
We've also standardized on a specific, enumerated set of modes, which
simplifies the code a bit.

Bug: 29044347
Change-Id: I621352954d42ad25f9969b7a88d53defe84dd3b4
2016-07-13 22:12:33 -07:00
Jeff Sharkey
93cbd71610 Merge "Preemptively add string for direct boot dialogs." into nyc-mr1-dev 2016-07-14 04:31:36 +00:00
Jeff Sharkey
10b6d4d220 Preemptively add string for direct boot dialogs.
Bug: 27196876
Change-Id: Ieb65b4b7b4e075c1de2e502d0272f8f113c1c34b
2016-07-14 04:31:08 +00:00
Doris Ling
3468853cef Merge "Revert equal check in DashboardAdapter.setCondition()." into nyc-mr1-dev 2016-07-14 03:34:00 +00:00
Wonsik Kim
52693ab0aa Refine fingerprint animation handling
Release stale SurfaceTexture and MediaPlayer when necessary.

Bug: 30104155
Change-Id: Ife5ba215fb962522cf007cd711a9329b4202cc39
2016-07-14 11:58:47 +09:00
Andrew Sapperstein
6529c8a53e Open Security Patch Bulletin
When in device settings, in about phone, we show the current
security patch. Now, we'll also fire and intent to open a link
to the security bulletin page so users can see details about
their security patch.

Change-Id: I59c9e6ac0aecb0398992942a0fee4cb0a3cf268e
Fixes: 29828303
2016-07-13 18:27:43 -07:00
Tony Mak
1a8be1e372 Merge "Hide Set Wallpaper in Settings suggestion if it is not allowed" into nyc-mr1-dev 2016-07-14 01:22:52 +00:00
TreeHugger Robot
31e5d5bb4b Merge "Add content description to escalation card title." into nyc-mr1-dev 2016-07-13 23:29:46 +00:00
Doris Ling
08d34b6a99 Revert equal check in DashboardAdapter.setCondition().
1. Remove the equality check for the conditions list which causes
"Airplane mode is on" to be shown always even when airplane mode is
turned off.
2. Also add mIsShowingAll and mSuggestionMode to instance state.

Bug: 30055644
Change-Id: I0709e9a1b0139e80cdb834cb76a9334dce753e14
2016-07-13 16:17:13 -07:00
TreeHugger Robot
bb15f3d14f Merge "Change "ringer volume" to "ring volume"" into nyc-mr1-dev 2016-07-13 22:13:27 +00:00
TreeHugger Robot
6d0ed88746 Merge "Rename Night display to Night Light" into nyc-mr1-dev 2016-07-13 22:01:19 +00:00
Doris Ling
ea7e1b5d97 Merge "Change launch method for preference Display->Ambient Display." into nyc-mr1-dev 2016-07-13 21:13:53 +00:00
Matthew Fritze
5d8b432137 Merge "Update summary and title strings for Settings Suggestions" into nyc-mr1-dev 2016-07-13 21:03:34 +00:00
Matthew Fritze
38415ff361 Merge "Update Safety & Regulatory Information link text" into nyc-mr1-dev 2016-07-13 20:52:45 +00:00
Fan Zhang
0bd87d71b8 Add content description to escalation card title.
Bug: 30079904

In strings like "We're here for you 24/7", to avoid talkback read 24/7
as 24/7ths, we need to provide a custom content description.

Change-Id: If51586d97a376e7a859658d7a6dc48108094ddc2
2016-07-13 13:47:04 -07:00
Mike Tsao
a49178a487 Change "ringer volume" to "ring volume"
Bug: 29565896

Changes all occurrences of "ringer volume" to "ring volume" in
Settings string file, including in comments.

Change-Id: Iad197dbbbbec16120fcd3ac835c1647a7f4c0c32
2016-07-13 12:52:32 -07:00
TreeHugger Robot
b10df69a84 Merge "Cross fade escalation card when content changes." into nyc-mr1-dev 2016-07-13 19:46:02 +00:00
Mike Tsao
36dc6a8b28 Rename Night display to Night Light
Bug: 30069874
Bug: 29584858

Renames generic "Night display" to "Night Light." Also changes feature
description to emphasize suitability for reading at night.

Change-Id: Ib54a22d7683853d7aadf4fe48795aaaa990b0333
2016-07-13 12:31:38 -07:00
TreeHugger Robot
8b47c12550 Merge "Tweak layouts to make support UI look better." into nyc-mr1-dev 2016-07-13 18:51:54 +00:00
Doris Ling
a8046161be Change launch method for preference Display->Ambient Display.
Change to launch using intent to maintain the activity title when
launching Moves from Display->Ambient Display.

Bug: 30034039
Change-Id: I7e8df04a5c6722320b342e09ea1977b5ba7a8ded
2016-07-13 11:51:36 -07:00
Fan Zhang
5df6364d89 Cross fade escalation card when content changes.
Fixes: 30079520

Whenever escalation card needs to change content:
- Instead of rebuilding entire data set, rebuild just escalation data.
- Instead of notify entire data set change, only notify the position
  change for escalation card.
This triggers the cross-fade animation in RecyclerView's
DefaultItemAnimator.

Change-Id: Ia19593d852fa6a1c366aecf9330d8274d7295e85
2016-07-13 10:23:52 -07:00
Fan Zhang
55c6ea25f4 Tweak layouts to make support UI look better.
Fixes: 30087623

- Removed some padding and hide empty textviews.

Change-Id: Id8476aa3870d796c5f5a34c2f3fa6db34918691b
2016-07-13 10:19:56 -07:00
Doris Ling
8c50ced07c Merge "Reduce the number of times that dataset changed is triggerd in DashboardAdapter" into nyc-mr1-dev 2016-07-13 17:13:05 +00:00
Daniel Nishi
3cd686d4a9 Merge "Log when the storage manager is toggled on and off." into nyc-mr1-dev 2016-07-13 16:26:06 +00:00
Mahaver Chopra
ec618dc585 Merge "Use UM.DISALLOW_OEM_UNLOCK instead of Global.OEM_UNLOCK_DISALLOWED" into nyc-mr1-dev 2016-07-13 12:27:03 +00:00
Tony Mak
2c5a27dc7a Hide Set Wallpaper in Settings suggestion if it is not allowed
Change-Id: I8030389f3fe945c3df241f347d58b8da04622d9e
Fix: 30089761
2016-07-13 17:57:33 +08:00
TreeHugger Robot
a4e3c14848 Update summary and title strings for Settings Suggestions
Setting Suggestion messages have new strings for NDR.

Change-Id: I5e76e669fac91b61a2207bb2937c107c952768c0
Fixes: 30067406
2016-07-12 18:39:19 -07:00
TreeHugger Robot
987eadbd4b Merge "Request support rules to refresh when account changes." into nyc-mr1-dev 2016-07-13 01:13:01 +00:00
Doris Ling
b76de265a2 Reduce the number of times that dataset changed is triggerd in DashboardAdapter
1. Save the suggestion list and the category list into the instance
state so that it will be available on warm start, and avoid the need
to reload the data.
2. Add the condition list to the constructor parameters for
DashboardAdapter, so that it does not need to setConditions()
separately which will trigger notifyDataSetChanged()

Bug: 30055644
Change-Id: Ia04fa3a25b13d2dacf6baf5f412d662a595fb6dd
2016-07-12 18:02:22 -07:00
Maurice Lam
22f5b479b5 Merge "Center find-sensor graphic in landscape" into nyc-mr1-dev 2016-07-13 00:00:54 +00:00
TreeHugger Robot
95f905b3c0 Merge "Add ripples to negative buttons" into nyc-mr1-dev 2016-07-12 23:43:47 +00:00
Fan Zhang
eadc7dc815 Request support rules to refresh when account changes.
Bug: 30079512

When account is added, operation rule can potentially change. Request a
refresh to make sure user sees the latest UI.

Change-Id: I89e9d97bec22d612ca3602d86cc63f8f06355a39
2016-07-12 16:42:40 -07:00
Doris Ling
22176641b2 Merge "Update preference ordering in Gestures settings." into nyc-mr1-dev 2016-07-12 23:38:02 +00:00
Doris Ling
4410b6b663 Merge "Update resource string for gestures settings." into nyc-mr1-dev 2016-07-12 23:37:38 +00:00
Maurice Lam
ea24bbf317 Add ripples to negative buttons
For the negative buttons (buttons on the left side) of screen lock setup
and fingerprint setup screens, instead of theming it like a text link,
inherit from the borderless button and set the highlight color to color
accent.

Bug: 29905448
Change-Id: I4a3d28d4a0658740d0cb622e40031ab0ca22e6a0
2016-07-12 21:54:08 +00:00
TreeHugger Robot
8dc1a7340b Merge "Don't show the Fingerprint suggestion if it is disabled." into nyc-mr1-dev 2016-07-12 21:42:04 +00:00
TreeHugger Robot
0fd709bf44 Merge "Use app name as summary in default home app setting." into nyc-mr1-dev 2016-07-12 21:26:11 +00:00
Daniel Nishi
2aa423dda6 Log when the storage manager is toggled on and off.
Bug: 30095915
Change-Id: I9fe16f842f2c2944582ec231803aa957573abead
2016-07-12 13:59:22 -07:00
Daniel Nishi
c9ec8c80bc Don't show the Fingerprint suggestion if it is disabled.
Bug: 27202317
Change-Id: I8e97e47f711961cf127fc2135dd06812236829b8
2016-07-12 13:11:19 -07:00
Fan Zhang
233daf469d Use app name as summary in default home app setting.
Bug: 27834147

Condition: Only use app name as summary if there is only 1 launcher app
installed.

Change-Id: Idb9b55d5618bbdbea6446758f2fcd09d0d6309af
2016-07-12 12:51:31 -07:00
Doris Ling
1093b24c1b Update preference ordering in Gestures settings.
Swapped the fingerprint swipe and ambient display preference in
Settings->Gestures, and updated the summary text in Display->Ambient
display

Bug: 30073941
Change-Id: Ifc386b4ab9b0e7317f1ee0e477f9670e8a49b0f9
2016-07-12 11:25:47 -07:00
Matthew Fritze
d21e0e914c Update Safety & Regulatory Information link text
The link to Safety & Regulatory Information now reads:
Safety & regulatory manual

Bug: 30037999
Change-Id: Ib72efba96b8a9a9f38bcf9686e2563d1877620a8
2016-07-12 09:47:33 -07:00
Bill Yi
f7e4533931 Import translations. DO NOT MERGE
am: fdb2a9ab61  -s ours

Change-Id: I9e66dac2b329ad2f6065a5208b8da471b14f66e7
2016-07-12 16:35:07 +00:00
TreeHugger Robot
7b2e48bc53 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-07-12 16:18:53 +00:00
Mahaver Chopra
6bc19a2e5c Use UM.DISALLOW_OEM_UNLOCK instead of Global.OEM_UNLOCK_DISALLOWED
Currently we used global setting to restrict user from enabling oem
unlock. As global settings can be chagned using adb, using user
restrictions instead.

Bug: 29893399
Change-Id: Icaffb080979a447d1e0f7f0d72f92c9db83ac10c
2016-07-12 15:18:49 +01:00
Julia Reynolds
42d2fda721 Merge "Correct logic for showing overide dnd field." into nyc-mr1-dev 2016-07-12 14:03:12 +00:00