Commit Graph

14455 Commits

Author SHA1 Message Date
Maurice Lam
ebd722ce5b Merge "Support hardware colors for fingerprint video" into nyc-mr1-dev 2016-07-18 23:24:18 +00:00
Adam Lesinski
d67d205999 Merge \\"Update FakeUid with new methods\\" into nyc-mr1-dev am: 30bef0a063
am: fe8e89e2fc

Change-Id: Ifb8f9e5773619509122b5a982b950da90e0d4381
2016-07-18 21:30:00 +00:00
Adam Lesinski
fe8e89e2fc Merge \"Update FakeUid with new methods\" into nyc-mr1-dev
am: 30bef0a063

Change-Id: I3d9e4240c8986fad9ee3c3e3340027e127871d0b
2016-07-18 21:16:03 +00:00
TreeHugger Robot
30bef0a063 Merge "Update FakeUid with new methods" into nyc-mr1-dev 2016-07-18 20:58:15 +00:00
Maurice Lam
5a15745ff6 Support hardware colors for fingerprint video
Bug: 28745754
Change-Id: Id86c2a6d882d4c4c4d1981da58de3e4c2059a50c
2016-07-18 13:36:59 -07:00
Christopher Wiley
9d251279ca 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
2016-07-18 11:17:14 -07:00
Wonsik Kim
1cbb9baf18 Merge \\"Refine fingerprint animation handling\\" into nyc-mr1-dev am: 534d644326
am: a1430e0a26

Change-Id: I9e88bc8a6d699da36c25854ce3fe187466257100
2016-07-18 15:42:36 +00:00
Wonsik Kim
a1430e0a26 Merge \"Refine fingerprint animation handling\" into nyc-mr1-dev
am: 534d644326

Change-Id: I39dee0085df38c687831057710645277a3d4ac96
2016-07-18 15:39:00 +00:00
Wonsik Kim
534d644326 Merge "Refine fingerprint animation handling" into nyc-mr1-dev 2016-07-18 15:31:18 +00:00
Abodunrinwa Toki
e7b3ad6726 DO NOT MERGE: InputSettings: Fix incorrect keyboard list on rotation.
This ports I1e4035f4dcff33e6b9a42d448303e962bd87c14b to MR1 dev.

Bug: 28182232
Change-Id: I292b00a21eb80577dbfec6a13f57b326571aefc7
2016-07-18 12:03:38 +01:00
Adam Lesinski
f584eaa03a Update FakeUid with new methods
Bug:28931278
Change-Id: I845337633b1840ae66bda065985624aa67b070df
2016-07-15 18:08:29 -07:00
Doris Ling
38d8582abe 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
2016-07-15 13:08:56 -07:00
Phil Weaver
3587914cef Fix return when virtual keyboard setting changes.
The OnPreferenceChangeListener for the preference to show
the virtual keyboard was returning false, indicating that the
new preference was not to be persisted, even though it was
persisting the setting. That caused the accessibility
framework not to be informed of the new value, which led
TalkBack to speak the old value rather than the new one.

Bug: 30140972
Change-Id: I02b7dc1db52cb7646650e6f2e49a1e15c2233897
2016-07-15 12:54:45 -07:00
Matthew Fritze
d5d92f4505 Merge \\"Settings ViewPager now correctly handles RTL mode\\" into nyc-mr1-dev am: b8257e6fee
am: b51d45aed0

Change-Id: I654d8fee969fe089b79d77af8135ac9fc3fdc309
2016-07-15 19:29:11 +00:00
Matthew Fritze
b51d45aed0 Merge \"Settings ViewPager now correctly handles RTL mode\" into nyc-mr1-dev
am: b8257e6fee

Change-Id: Id867babc43ed918eaf537a89284fe37d9068014d
2016-07-15 19:17:07 +00:00
Matthew Fritze
b8257e6fee Merge "Settings ViewPager now correctly handles RTL mode" into nyc-mr1-dev 2016-07-15 19:06:48 +00:00
Matthew Fritze
44564126c3 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
2016-07-15 11:55:53 -07:00
Jason Monk
45b27bb389 Merge \\"Fix up for forget storage screen\\" into nyc-mr1-dev am: f83ac369b0
am: 61305ee4d9

Change-Id: I0dc63213945ad61531756636bdd68e4cc8a04c3a
2016-07-15 18:49:15 +00:00
Jason Monk
61305ee4d9 Merge \"Fix up for forget storage screen\" into nyc-mr1-dev
am: f83ac369b0

Change-Id: Ie64332b1b99fbf0fe03046d9739f6145dc94bd66
2016-07-15 18:39:44 +00:00
TreeHugger Robot
f83ac369b0 Merge "Fix up for forget storage screen" into nyc-mr1-dev 2016-07-15 18:17:55 +00:00
Fyodor Kupolov
d5f80d59c6 Application names are now lazily loaded am: c9b9898e9a
am: 8863d4f576

Change-Id: Ib10a45d7295b3e93b68bae595b0f4a1bfc93065f
2016-07-15 17:55:58 +00:00
Jason Monk
4c5f408e26 Merge \\"Make sure to clear out preference cache when done\\" into nyc-mr1-dev am: 9b0931e986
am: d1a54dc62a

Change-Id: I07e1c9725cd6880d7b974e318959cb746ab014b4
2016-07-15 17:55:57 +00:00
Esteban Talavera
cd4b145d80 Merge \\"Disallow user to block notification from OobConfig\\" into nyc-mr1-dev am: 080f794b6e
am: 67cf3e6a88

Change-Id: I635850140226144c67737689e8312aa935d2d589
2016-07-15 17:55:57 +00:00
Fyodor Kupolov
8863d4f576 Application names are now lazily loaded
am: c9b9898e9a

Change-Id: I598a0c4b44508dc96d4d18ffba8c2b53eb120a36
2016-07-15 17:41:14 +00:00
Fyodor Kupolov
c9b9898e9a 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
2016-07-15 17:32:02 +00:00
Jason Monk
8a7d0744be Fix crash from dismissing after pause
Change-Id: Ic9f655bff5aec5678d975389bc1f391b8d608099
Fixes: 29977187
2016-07-15 13:18:48 -04:00
Jason Monk
d1a54dc62a Merge \"Make sure to clear out preference cache when done\" into nyc-mr1-dev
am: 9b0931e986

Change-Id: Ifc03fb29a5c4404448e6f1bfb844c7688b7f0810
2016-07-15 17:05:47 +00:00
Jason Monk
1e03e52f42 Fix up for forget storage screen
Change-Id: Iaed41e2df377f1e2cb3026e2bdb69f29f9c2be5b
Fixes: 29904366
2016-07-15 12:58:55 -04:00
Jason Monk
9b0931e986 Merge "Make sure to clear out preference cache when done" into nyc-mr1-dev 2016-07-15 16:55:15 +00:00
Tony Mak
67cf3e6a88 Merge \"Disallow user to block notification from OobConfig\" into nyc-mr1-dev
am: 080f794b6e

Change-Id: Ia7a8bda97395cb403ba1db94cb9048e1f43ed9e8
2016-07-15 16:20:57 +00:00
Esteban Talavera
080f794b6e Merge "Disallow user to block notification from OobConfig" into nyc-mr1-dev 2016-07-15 16:14:22 +00:00
Tony Mak
f869df20c4 Merge \\"Disable instead of hiding add account preference\\" into nyc-mr1-dev am: 8738e406c8
am: c76f7fcba1

Change-Id: I5ad4443041ef51f420fa056b8dbcd9af9d8fc5a5
2016-07-15 03:51:06 +00:00
Tony Mak
c76f7fcba1 Merge \"Disable instead of hiding add account preference\" into nyc-mr1-dev
am: 8738e406c8

Change-Id: Ibe0bfa084e14dece83b19d4e62d50b96928b042a
2016-07-15 03:47:52 +00:00
Tony Mak
8738e406c8 Merge "Disable instead of hiding add account preference" into nyc-mr1-dev 2016-07-15 03:42:07 +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
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
Doris Ling
86c2c94521 Merge \\"Revert equal check in DashboardAdapter.setCondition().\\" into nyc-mr1-dev am: 3468853cef
am: 7072bd2f1c

Change-Id: I276a4b3d4ddfbf0f89b16f9d49657f685d7ed205
2016-07-14 03:46:56 +00:00
Doris Ling
7072bd2f1c Merge \"Revert equal check in DashboardAdapter.setCondition().\" into nyc-mr1-dev
am: 3468853cef

Change-Id: I136422e5b2dccf4f17ab5645bd6af48a1c47dc9a
2016-07-14 03:42:02 +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
Tony Mak
26e60afdf1 Merge \\"Hide Set Wallpaper in Settings suggestion if it is not allowed\\" into nyc-mr1-dev am: 1a8be1e372
am: 494fed5682

Change-Id: I34d7fc9602adaa3d78d1cc05069ac34d5bf7c6db
2016-07-14 01:48:33 +00:00
Tony Mak
494fed5682 Merge \"Hide Set Wallpaper in Settings suggestion if it is not allowed\" into nyc-mr1-dev
am: 1a8be1e372

Change-Id: Ic8a85dbb4b654f6df0bad993a1cce986f60ab193
2016-07-14 01:38:16 +00: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
Fan Zhang
810a21843e Merge \\"Add content description to escalation card title.\\" into nyc-mr1-dev am: 31e5d5bb4b
am: 458024f52e

Change-Id: Iddab902a2077e4aece42c3536f2dbb537febdd4c
2016-07-14 00:01:21 +00:00
Fan Zhang
458024f52e Merge \"Add content description to escalation card title.\" into nyc-mr1-dev
am: 31e5d5bb4b

Change-Id: I990a9c8a0adc41b976fcaaf177b90a74c32d4be7
2016-07-13 23:36:52 +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
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
Fan Zhang
6cd15aa33d Merge \\"Cross fade escalation card when content changes.\\" into nyc-mr1-dev am: b10df69a84
am: 7d1ef4ca3c

Change-Id: I64c941be24fba33b7ce5087e83d71e4492a5b4ec
2016-07-13 19:57:09 +00:00
Fan Zhang
7d1ef4ca3c Merge \"Cross fade escalation card when content changes.\" into nyc-mr1-dev
am: b10df69a84

Change-Id: I2fe2f2ab2cad15e1ee60ba7dafb3ccd7fd349604
2016-07-13 19:51:35 +00:00