OSDN Git Service

android-x86/packages-apps-Settings.git
8 years agoMerge "DO NOT MERGE: InputSettings: Fix incorrect keyboard list on rotation." into...
Abodunrinwa Toki [Wed, 20 Jul 2016 18:50:15 +0000 (18:50 +0000)]
Merge "DO NOT MERGE: InputSettings: Fix incorrect keyboard list on rotation." into nyc-mr1-dev

8 years agoMerge "Combine setCategories() and setSuggestions() in DashboardAdapter." into nyc...
Doris Ling [Wed, 20 Jul 2016 18:02:42 +0000 (18:02 +0000)]
Merge "Combine setCategories() and setSuggestions() in DashboardAdapter." into nyc-mr1-dev

8 years agoMerge "Add a help item for the Help & Feedback for the Storage Manager." into nyc...
Daniel Nishi [Wed, 20 Jul 2016 17:33:40 +0000 (17:33 +0000)]
Merge "Add a help item for the Help & Feedback for the Storage Manager." into nyc-mr1-dev

8 years agoMerge "Color transforms are now color modes." into nyc-mr1-dev
TreeHugger Robot [Wed, 20 Jul 2016 17:21:33 +0000 (17:21 +0000)]
Merge "Color transforms are now color modes." into nyc-mr1-dev

8 years agoMerge "Let talkback announce category name in Settings." into nyc-mr1-dev
TreeHugger Robot [Wed, 20 Jul 2016 16:51:13 +0000 (16:51 +0000)]
Merge "Let talkback announce category name in Settings." into nyc-mr1-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Jul 2016 14:34:39 +0000 (07:34 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 30202203
Change-Id: Ieb3d22c6a8d1608dce6d9bce23d85f31a75be58a

8 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Jul 2016 14:09:37 +0000 (07:09 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 30202203
Change-Id: I3fefeaaa89f3c3707b1e7c84c431689733547ca4

8 years agoMerge "Protect against work conditional crash" into nyc-mr1-dev
Jason Monk [Wed, 20 Jul 2016 13:28:13 +0000 (13:28 +0000)]
Merge "Protect against work conditional crash" into nyc-mr1-dev

8 years agoMerge "Add Night display settings conditional" into nyc-mr1-dev
TreeHugger Robot [Wed, 20 Jul 2016 01:00:23 +0000 (01:00 +0000)]
Merge "Add Night display settings conditional" into nyc-mr1-dev

8 years agoMerge "Add ripple effect on all preference tiles." into nyc-mr1-dev
TreeHugger Robot [Wed, 20 Jul 2016 00:49:37 +0000 (00:49 +0000)]
Merge "Add ripple effect on all preference tiles." into nyc-mr1-dev

8 years agoAdd ripple effect on all preference tiles.
Fan Zhang [Tue, 19 Jul 2016 23:04:28 +0000 (16:04 -0700)]
Add ripple effect on all preference tiles.

Bug: 30201359
Change-Id: If02b7b08c05c23a4db3a0455ce12df31c4b7bf42

8 years agoAdd a help item for the Help & Feedback for the Storage Manager.
Daniel Nishi [Tue, 19 Jul 2016 22:47:10 +0000 (15:47 -0700)]
Add a help item for the Help & Feedback for the Storage Manager.

Bug: 29793176
Change-Id: Ic4104525961e7f173212df54f19857a06c0fac05

8 years agoMerge "Fix a bunch of straggler themes." into nyc-mr1-dev
Andrew Sapperstein [Tue, 19 Jul 2016 21:42:25 +0000 (21:42 +0000)]
Merge "Fix a bunch of straggler themes." into nyc-mr1-dev

8 years agoAdd Night display settings conditional
Justin Klaassen [Tue, 19 Jul 2016 04:39:03 +0000 (21:39 -0700)]
Add Night display settings conditional

Bug: 30043281
Change-Id: I2464cd90f1f7f379aabf123f602e6150a87120cf

8 years agoMerge \"Pre-setup restrictions\" into nyc-dev
Jason Monk [Tue, 19 Jul 2016 20:39:18 +0000 (20:39 +0000)]
Merge \"Pre-setup restrictions\" into nyc-dev
am: 5a3d1c17f2

Change-Id: I0bc7e426b0dfc4d233b9caa263e5361f94dbf6f2

8 years agoMerge "Pre-setup restrictions" into nyc-dev
Jason Monk [Tue, 19 Jul 2016 20:31:15 +0000 (20:31 +0000)]
Merge "Pre-setup restrictions" into nyc-dev

8 years agoMerge "Fix janky scrolling for Gestures Settings." into nyc-mr1-dev
Doris Ling [Tue, 19 Jul 2016 20:30:12 +0000 (20:30 +0000)]
Merge "Fix janky scrolling for Gestures Settings." into nyc-mr1-dev

8 years agoMerge "Add Gestures settings to search index." into nyc-mr1-dev
Doris Ling [Tue, 19 Jul 2016 20:19:04 +0000 (20:19 +0000)]
Merge "Add Gestures settings to search index." into nyc-mr1-dev

8 years agoMerge "Clarify string translation." into nyc-mr1-dev
TreeHugger Robot [Tue, 19 Jul 2016 19:30:44 +0000 (19:30 +0000)]
Merge "Clarify string translation." into nyc-mr1-dev

8 years agoAdd Gestures settings to search index.
Doris Ling [Tue, 19 Jul 2016 18:45:03 +0000 (11:45 -0700)]
Add Gestures settings to search index.

Add GestureSettings class to the resource map of
SearchIndeSearchIndexableResources so that the preferences in the
gestures settings will be indexed and showed up as search result.

Bug: 30169776
Change-Id: I51be9e82dc8bce93e2abd13b48ceb3cd051cbcf4

8 years agoProtect against work conditional crash
Jason Monk [Tue, 19 Jul 2016 18:22:14 +0000 (14:22 -0400)]
Protect against work conditional crash

Change-Id: Iba6e7281c622e3ba34fa6bd4672b2380b0329808
Fixes: 30014085

8 years agoClarify string translation.
Fan Zhang [Tue, 19 Jul 2016 16:37:47 +0000 (09:37 -0700)]
Clarify string translation.

Bug: 30196308

Clarify ringtong volume string format and add an example.

Change-Id: I52769d5d274c7502f73ac25e8e1ce9ae6d0b87a5

8 years agoMerge "Do not use TetherUtil.setWifiTethering" into nyc-mr1-dev
TreeHugger Robot [Tue, 19 Jul 2016 15:55:30 +0000 (15:55 +0000)]
Merge "Do not use TetherUtil.setWifiTethering" into nyc-mr1-dev

8 years agoMerge "Fix crash from dismissing after pause" into nyc-mr1-dev
Jason Monk [Tue, 19 Jul 2016 14:28:50 +0000 (14:28 +0000)]
Merge "Fix crash from dismissing after pause" into nyc-mr1-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 19 Jul 2016 09:49:06 +0000 (09:49 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

8 years agoMerge "Lock the orientation for FallbackHome" into nyc-mr1-dev
Maurice Lam [Tue, 19 Jul 2016 01:30:08 +0000 (01:30 +0000)]
Merge "Lock the orientation for FallbackHome" into nyc-mr1-dev

8 years agoFix janky scrolling for Gestures Settings.
Doris Ling [Tue, 19 Jul 2016 01:05:06 +0000 (18:05 -0700)]
Fix janky scrolling for Gestures Settings.

1. Move the media player initialization/cleanup to construstor and
onDetach() of GesturePreference correspondingly, so that it's only
done once instead of every time when a new texture surface is available.
2. Pause the animation video when user scrolls.

Bug: 29790087
Change-Id: I51e6a787f9f2964b6bfc5288f7f5af801ccecc31

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 18 Jul 2016 23:43:22 +0000 (16:43 -0700)]
Import translations. DO NOT MERGE

Change-Id: I34ef9d17f926e12706029e3825182e6dd0e1c24e
Auto-generated-cl: translation import

8 years agoMerge "Support hardware colors for fingerprint video" into nyc-mr1-dev
Maurice Lam [Mon, 18 Jul 2016 23:24:18 +0000 (23:24 +0000)]
Merge "Support hardware colors for fingerprint video" into nyc-mr1-dev

8 years agoMerge "Update FakeUid with new methods" into nyc-mr1-dev
TreeHugger Robot [Mon, 18 Jul 2016 20:58:13 +0000 (20:58 +0000)]
Merge "Update FakeUid with new methods" into nyc-mr1-dev

8 years agoSupport hardware colors for fingerprint video
Maurice Lam [Fri, 15 Jul 2016 19:33:52 +0000 (12:33 -0700)]
Support hardware colors for fingerprint video

Bug: 28745754
Change-Id: Id86c2a6d882d4c4c4d1981da58de3e4c2059a50c

8 years agoDo not use TetherUtil.setWifiTethering
Christopher Wiley [Mon, 18 Jul 2016 18:16:15 +0000 (11:16 -0700)]
Do not use TetherUtil.setWifiTethering

This functionality is replaced by ConnectivityManager.startTethering()
and ConnectivityManager.stopTethering().

Bug: 30147602
Test: Can toggle tethering on/off via all of settings, quick settings,
      and quick quick settings.
Change-Id: I4d190185c473237982b988f898e76d4997dc401c

8 years agoFix a bunch of straggler themes.
Andrew Sapperstein [Fri, 15 Jul 2016 23:46:38 +0000 (16:46 -0700)]
Fix a bunch of straggler themes.

They were all stock material themes and are now all using
their DeviceDefault equivalents.

Change-Id: I0013847499c592c801101638168edd7ebf0d721a
Fixes: 30140567

8 years agoMerge "Refine fingerprint animation handling" into nyc-mr1-dev
Wonsik Kim [Mon, 18 Jul 2016 15:31:17 +0000 (15:31 +0000)]
Merge "Refine fingerprint animation handling" into nyc-mr1-dev

8 years agoDO NOT MERGE: InputSettings: Fix incorrect keyboard list on rotation.
Abodunrinwa Toki [Mon, 18 Jul 2016 11:03:38 +0000 (12:03 +0100)]
DO NOT MERGE: InputSettings: Fix incorrect keyboard list on rotation.

This ports I1e4035f4dcff33e6b9a42d448303e962bd87c14b to MR1 dev.

Bug: 28182232
Change-Id: I292b00a21eb80577dbfec6a13f57b326571aefc7

8 years agoLock the orientation for FallbackHome
Maurice Lam [Sat, 16 Jul 2016 01:11:54 +0000 (18:11 -0700)]
Lock the orientation for FallbackHome

Set FallbackHome's orientation to nosensor in the manifest, so it
will always be shown in the natural device orientation.

Bug: 30040032
Change-Id: I875fa6d112db23273026dbc39b5d32748d7e99f1

8 years agoUpdate FakeUid with new methods
Adam Lesinski [Sat, 16 Jul 2016 01:08:29 +0000 (18:08 -0700)]
Update FakeUid with new methods

Bug:28931278
Change-Id: I845337633b1840ae66bda065985624aa67b070df

8 years agoLet talkback announce category name in Settings.
Fan Zhang [Fri, 15 Jul 2016 20:12:13 +0000 (13:12 -0700)]
Let talkback announce category name in Settings.

Bug: 30082459
Change-Id: Id88e5b6d361ebc6863a30a765323a74345657c39

8 years agoCombine setCategories() and setSuggestions() in DashboardAdapter.
Doris Ling [Fri, 15 Jul 2016 18:18:23 +0000 (11:18 -0700)]
Combine setCategories() and setSuggestions() in DashboardAdapter.

In DashboardSummary.rebuildUI(), we first update the adapter with the
current categories, then run the async task to update the adapter with
the suggestions. This causes the adapter to first layout the existing
categories, and relayout when the suggestions is available. This causes
the suggestions view and categories view to overlap before the
relayout is complete.

Since categories and suggestions are borh set each time we try to
rebuild the UI, delaying the update for categories until the suggestions
are ready will avoid the unnecessary relayout of the list elements.

Ran app launch test for Settings app with the change and launch time is
between 412ms and 486ms in 10 runs, which does not show much delay in
app launch time with delaying updating the categories.

Bug: 29318104
Change-Id: I03ae2386392315f28fe2c361682f2f3252e9f827

8 years agoMerge "Settings ViewPager now correctly handles RTL mode" into nyc-mr1-dev
Matthew Fritze [Fri, 15 Jul 2016 19:06:47 +0000 (19:06 +0000)]
Merge "Settings ViewPager now correctly handles RTL mode" into nyc-mr1-dev

8 years agoSettings ViewPager now correctly handles RTL mode
Matthew Fritze [Thu, 14 Jul 2016 19:57:04 +0000 (12:57 -0700)]
Settings ViewPager now correctly handles RTL mode

Previously, the settings and support tabs were incorrectly orderded,
and had inverted transitions on click and on swipe.
Ordering of tabs now correctly displays All Settings as the default,
right tab, and the Support tab to its left. The tab headers also now
function properly in transition, and onclick.

Change-Id: Iab499ee13433cb78941bc33cbb0e99ffe2937174
Fixes: 30079049

8 years agoMerge "Fix up for forget storage screen" into nyc-mr1-dev
TreeHugger Robot [Fri, 15 Jul 2016 18:17:54 +0000 (18:17 +0000)]
Merge "Fix up for forget storage screen" into nyc-mr1-dev

8 years agoApplication names are now lazily loaded
Fyodor Kupolov [Thu, 14 Jul 2016 01:11:59 +0000 (18:11 -0700)]
Application names are now lazily loaded

Previously when SmsApplication.getDefaultApplication was called, application
names were loaded for all candidate apps. The problem with that approach
that names are expensive to load and not always needed.

The implementation has been changed to only load application name when
it's requested by getApplicationName(Context).

Bug: 26237300
Change-Id: Ia711b7db8b979af8f7a1be7eefbce20f3e0ab1df

8 years agoFix crash from dismissing after pause
Jason Monk [Fri, 15 Jul 2016 17:18:48 +0000 (13:18 -0400)]
Fix crash from dismissing after pause

Change-Id: Ic9f655bff5aec5678d975389bc1f391b8d608099
Fixes: 29977187

8 years agoFix up for forget storage screen
Jason Monk [Fri, 15 Jul 2016 16:58:55 +0000 (12:58 -0400)]
Fix up for forget storage screen

Change-Id: Iaed41e2df377f1e2cb3026e2bdb69f29f9c2be5b
Fixes: 29904366

8 years agoMerge "Make sure to clear out preference cache when done" into nyc-mr1-dev
Jason Monk [Fri, 15 Jul 2016 16:55:14 +0000 (16:55 +0000)]
Merge "Make sure to clear out preference cache when done" into nyc-mr1-dev

8 years agoMerge "Disallow user to block notification from OobConfig" into nyc-mr1-dev
Esteban Talavera [Fri, 15 Jul 2016 16:14:20 +0000 (16:14 +0000)]
Merge "Disallow user to block notification from OobConfig" into nyc-mr1-dev

8 years agoPre-setup restrictions DO NOT MERGE am: e6ad6e866b am: 2d21d1b9cf am: 68d53c0481...
Jason Monk [Fri, 15 Jul 2016 14:11:30 +0000 (14:11 +0000)]
Pre-setup restrictions DO NOT MERGE am: e6ad6e866b am: 2d21d1b9cf am: 68d53c0481 am: e67f458667  -s ours
am: 2703570242

Change-Id: I0e3964b7a1b7398ae96a798de892a40d05be0add

8 years agoPre-setup restrictions DO NOT MERGE am: e6ad6e866b am: 2d21d1b9cf am: 68d53c0481
Jason Monk [Fri, 15 Jul 2016 14:08:40 +0000 (14:08 +0000)]
Pre-setup restrictions DO NOT MERGE am: e6ad6e866b am: 2d21d1b9cf am: 68d53c0481
am: e67f458667  -s ours

Change-Id: Ic5c066a81be1fe3b884cf1c9ead6c7c276a12fd1

8 years agoPre-setup restrictions DO NOT MERGE am: e6ad6e866b am: 2d21d1b9cf
Jason Monk [Fri, 15 Jul 2016 14:05:59 +0000 (14:05 +0000)]
Pre-setup restrictions DO NOT MERGE am: e6ad6e866b am: 2d21d1b9cf
am: 68d53c0481

Change-Id: Ic501eb9b08f18eb3e9f3e95d64aae511815db268

8 years agoPre-setup restrictions DO NOT MERGE am: e6ad6e866b
Jason Monk [Fri, 15 Jul 2016 14:03:03 +0000 (14:03 +0000)]
Pre-setup restrictions DO NOT MERGE am: e6ad6e866b
am: 2d21d1b9cf

Change-Id: I1fc62827de765434ac88a7cb75d63febb074b565

8 years agoPre-setup restrictions DO NOT MERGE
Jason Monk [Fri, 15 Jul 2016 13:59:59 +0000 (13:59 +0000)]
Pre-setup restrictions DO NOT MERGE
am: e6ad6e866b

Change-Id: I0bfc276c9bf0e3d6320cc9aa8c77f77899b69e04

8 years agoMerge "Disable instead of hiding add account preference" into nyc-mr1-dev
Tony Mak [Fri, 15 Jul 2016 03:42:07 +0000 (03:42 +0000)]
Merge "Disable instead of hiding add account preference" into nyc-mr1-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 14 Jul 2016 20:14:21 +0000 (20:14 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

8 years agoMerge "Open Security Patch Bulletin" into nyc-mr1-dev
TreeHugger Robot [Thu, 14 Jul 2016 13:49:58 +0000 (13:49 +0000)]
Merge "Open Security Patch Bulletin" into nyc-mr1-dev

8 years agoDisallow user to block notification from OobConfig
Tony Mak [Thu, 14 Jul 2016 07:32:26 +0000 (15:32 +0800)]
Disallow user to block notification from OobConfig

Change-Id: I4680e5c5b596e81ac33d544d0d81de9df3b7587c
Fix: 29632126

8 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 14 Jul 2016 06:07:59 +0000 (23:07 -0700)]
Import translations. DO NOT MERGE

Change-Id: I9230fd1dacce710c8cb39946a65ed3550b6d2e0a
Auto-generated-cl: translation import

8 years agoDisable instead of hiding add account preference
Tony Mak [Thu, 14 Jul 2016 05:42:50 +0000 (13:42 +0800)]
Disable instead of hiding add account preference

Bug: 29236399
Change-Id: Ieb1af7f31a54b1502ae99682fc423e37c86a2353

8 years agoColor transforms are now color modes.
Michael Wright [Thu, 14 Jul 2016 05:11:09 +0000 (22:11 -0700)]
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

8 years agoMerge "Preemptively add string for direct boot dialogs." into nyc-mr1-dev
Jeff Sharkey [Thu, 14 Jul 2016 04:31:35 +0000 (04:31 +0000)]
Merge "Preemptively add string for direct boot dialogs." into nyc-mr1-dev

8 years agoPreemptively add string for direct boot dialogs.
Jeff Sharkey [Wed, 13 Jul 2016 22:41:59 +0000 (16:41 -0600)]
Preemptively add string for direct boot dialogs.

Bug: 27196876
Change-Id: Ieb65b4b7b4e075c1de2e502d0272f8f113c1c34b

8 years agoMerge "Revert equal check in DashboardAdapter.setCondition()." into nyc-mr1-dev
Doris Ling [Thu, 14 Jul 2016 03:34:00 +0000 (03:34 +0000)]
Merge "Revert equal check in DashboardAdapter.setCondition()." into nyc-mr1-dev

8 years agoRefine fingerprint animation handling
Wonsik Kim [Thu, 14 Jul 2016 02:58:47 +0000 (11:58 +0900)]
Refine fingerprint animation handling

Release stale SurfaceTexture and MediaPlayer when necessary.

Bug: 30104155
Change-Id: Ife5ba215fb962522cf007cd711a9329b4202cc39

8 years agoOpen Security Patch Bulletin
Andrew Sapperstein [Thu, 14 Jul 2016 01:27:43 +0000 (18:27 -0700)]
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

8 years agoMerge "Hide Set Wallpaper in Settings suggestion if it is not allowed" into nyc-mr1-dev
Tony Mak [Thu, 14 Jul 2016 01:22:52 +0000 (01:22 +0000)]
Merge "Hide Set Wallpaper in Settings suggestion if it is not allowed" into nyc-mr1-dev

8 years agoMerge "Add content description to escalation card title." into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 23:29:46 +0000 (23:29 +0000)]
Merge "Add content description to escalation card title." into nyc-mr1-dev

8 years agoRevert equal check in DashboardAdapter.setCondition().
Doris Ling [Wed, 13 Jul 2016 19:56:18 +0000 (12:56 -0700)]
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

8 years agoMerge "Change "ringer volume" to "ring volume"" into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 22:13:26 +0000 (22:13 +0000)]
Merge "Change "ringer volume" to "ring volume"" into nyc-mr1-dev

8 years agoMerge "Rename Night display to Night Light" into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 22:01:18 +0000 (22:01 +0000)]
Merge "Rename Night display to Night Light" into nyc-mr1-dev

8 years agoMerge "Change launch method for preference Display->Ambient Display." into nyc-mr1-dev
Doris Ling [Wed, 13 Jul 2016 21:13:53 +0000 (21:13 +0000)]
Merge "Change launch method for preference Display->Ambient Display." into nyc-mr1-dev

8 years agoMerge "Update summary and title strings for Settings Suggestions" into nyc-mr1-dev
Matthew Fritze [Wed, 13 Jul 2016 21:03:33 +0000 (21:03 +0000)]
Merge "Update summary and title strings for Settings Suggestions" into nyc-mr1-dev

8 years agoMerge "Update Safety & Regulatory Information link text" into nyc-mr1-dev
Matthew Fritze [Wed, 13 Jul 2016 20:52:45 +0000 (20:52 +0000)]
Merge "Update Safety & Regulatory Information link text" into nyc-mr1-dev

8 years agoAdd content description to escalation card title.
Fan Zhang [Wed, 13 Jul 2016 18:50:09 +0000 (11:50 -0700)]
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

8 years agoChange "ringer volume" to "ring volume"
Mike Tsao [Wed, 13 Jul 2016 19:52:32 +0000 (12:52 -0700)]
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

8 years agoMerge "Cross fade escalation card when content changes." into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 19:46:01 +0000 (19:46 +0000)]
Merge "Cross fade escalation card when content changes." into nyc-mr1-dev

8 years agoRename Night display to Night Light
Mike Tsao [Wed, 13 Jul 2016 19:31:38 +0000 (12:31 -0700)]
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

8 years agoMerge "Tweak layouts to make support UI look better." into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 18:51:54 +0000 (18:51 +0000)]
Merge "Tweak layouts to make support UI look better." into nyc-mr1-dev

8 years agoChange launch method for preference Display->Ambient Display.
Doris Ling [Wed, 13 Jul 2016 00:45:57 +0000 (17:45 -0700)]
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

8 years agoCross fade escalation card when content changes.
Fan Zhang [Wed, 13 Jul 2016 16:49:03 +0000 (09:49 -0700)]
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

8 years agoTweak layouts to make support UI look better.
Fan Zhang [Wed, 13 Jul 2016 16:22:04 +0000 (09:22 -0700)]
Tweak layouts to make support UI look better.

Fixes: 30087623

- Removed some padding and hide empty textviews.

Change-Id: Id8476aa3870d796c5f5a34c2f3fa6db34918691b

8 years agoMerge "Reduce the number of times that dataset changed is triggerd in DashboardAdapte...
Doris Ling [Wed, 13 Jul 2016 17:13:05 +0000 (17:13 +0000)]
Merge "Reduce the number of times that dataset changed is triggerd in DashboardAdapter" into nyc-mr1-dev

8 years agoMerge "Log when the storage manager is toggled on and off." into nyc-mr1-dev
Daniel Nishi [Wed, 13 Jul 2016 16:26:04 +0000 (16:26 +0000)]
Merge "Log when the storage manager is toggled on and off." into nyc-mr1-dev

8 years agoMerge "Use UM.DISALLOW_OEM_UNLOCK instead of Global.OEM_UNLOCK_DISALLOWED" into nyc...
Mahaver Chopra [Wed, 13 Jul 2016 12:27:00 +0000 (12:27 +0000)]
Merge "Use UM.DISALLOW_OEM_UNLOCK instead of Global.OEM_UNLOCK_DISALLOWED" into nyc-mr1-dev

8 years agoHide Set Wallpaper in Settings suggestion if it is not allowed
Tony Mak [Wed, 13 Jul 2016 09:57:33 +0000 (17:57 +0800)]
Hide Set Wallpaper in Settings suggestion if it is not allowed

Change-Id: I8030389f3fe945c3df241f347d58b8da04622d9e
Fix: 30089761

8 years agoUpdate summary and title strings for Settings Suggestions
TreeHugger Robot [Tue, 12 Jul 2016 21:42:03 +0000 (21:42 +0000)]
Update summary and title strings for Settings Suggestions

Setting Suggestion messages have new strings for NDR.

Change-Id: I5e76e669fac91b61a2207bb2937c107c952768c0
Fixes: 30067406

8 years agoMerge "Request support rules to refresh when account changes." into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 01:13:01 +0000 (01:13 +0000)]
Merge "Request support rules to refresh when account changes." into nyc-mr1-dev

8 years agoReduce the number of times that dataset changed is triggerd in DashboardAdapter
Doris Ling [Tue, 12 Jul 2016 01:09:15 +0000 (18:09 -0700)]
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

8 years agoMerge "Center find-sensor graphic in landscape" into nyc-mr1-dev
Maurice Lam [Wed, 13 Jul 2016 00:00:54 +0000 (00:00 +0000)]
Merge "Center find-sensor graphic in landscape" into nyc-mr1-dev

8 years agoMerge "Add ripples to negative buttons" into nyc-mr1-dev
TreeHugger Robot [Tue, 12 Jul 2016 23:43:46 +0000 (23:43 +0000)]
Merge "Add ripples to negative buttons" into nyc-mr1-dev

8 years agoRequest support rules to refresh when account changes.
Fan Zhang [Tue, 12 Jul 2016 21:10:22 +0000 (14:10 -0700)]
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

8 years agoMerge "Update preference ordering in Gestures settings." into nyc-mr1-dev
Doris Ling [Tue, 12 Jul 2016 23:38:02 +0000 (23:38 +0000)]
Merge "Update preference ordering in Gestures settings." into nyc-mr1-dev

8 years agoMerge "Update resource string for gestures settings." into nyc-mr1-dev
Doris Ling [Tue, 12 Jul 2016 23:37:38 +0000 (23:37 +0000)]
Merge "Update resource string for gestures settings." into nyc-mr1-dev

8 years agoAdd ripples to negative buttons
Maurice Lam [Tue, 12 Jul 2016 21:43:18 +0000 (14:43 -0700)]
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

8 years agoMerge "Don't show the Fingerprint suggestion if it is disabled." into nyc-mr1-dev
TreeHugger Robot [Tue, 12 Jul 2016 21:42:03 +0000 (21:42 +0000)]
Merge "Don't show the Fingerprint suggestion if it is disabled." into nyc-mr1-dev

8 years agoMerge "Use app name as summary in default home app setting." into nyc-mr1-dev
TreeHugger Robot [Tue, 12 Jul 2016 21:26:11 +0000 (21:26 +0000)]
Merge "Use app name as summary in default home app setting." into nyc-mr1-dev

8 years agoLog when the storage manager is toggled on and off.
Daniel Nishi [Tue, 12 Jul 2016 20:55:41 +0000 (13:55 -0700)]
Log when the storage manager is toggled on and off.

Bug: 30095915
Change-Id: I9fe16f842f2c2944582ec231803aa957573abead

8 years agoDon't show the Fingerprint suggestion if it is disabled.
Daniel Nishi [Mon, 11 Jul 2016 22:27:16 +0000 (15:27 -0700)]
Don't show the Fingerprint suggestion if it is disabled.

Bug: 27202317
Change-Id: I8e97e47f711961cf127fc2135dd06812236829b8

8 years agoUse app name as summary in default home app setting.
Fan Zhang [Mon, 11 Jul 2016 22:25:03 +0000 (15:25 -0700)]
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

8 years agoUpdate preference ordering in Gestures settings.
Doris Ling [Tue, 12 Jul 2016 18:25:47 +0000 (11:25 -0700)]
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

8 years agoUpdate Safety & Regulatory Information link text
Matthew Fritze [Mon, 11 Jul 2016 19:45:07 +0000 (12:45 -0700)]
Update Safety & Regulatory Information link text

The link to Safety & Regulatory Information now reads:
Safety & regulatory manual

Bug: 30037999
Change-Id: Ib72efba96b8a9a9f38bcf9686e2563d1877620a8