Commit Graph

30261 Commits

Author SHA1 Message Date
Doris Ling
bd3ac3bf22 Merge "Add Gestures settings to search index." into nyc-mr1-dev 2016-07-19 20:19:05 +00:00
Fan Zhang
b4cdc90ec7 Merge \\"Clarify string translation.\\" into nyc-mr1-dev am: 677cf28f6d
am: f465a1b635

Change-Id: I85e0dcbc16915bfe3f2480078576113c31ac0626
2016-07-19 19:37:51 +00:00
Fan Zhang
f465a1b635 Merge \"Clarify string translation.\" into nyc-mr1-dev
am: 677cf28f6d

Change-Id: I8513be5787aeae513d44c17221f4b40beb15f92a
2016-07-19 19:35:06 +00:00
TreeHugger Robot
677cf28f6d Merge "Clarify string translation." into nyc-mr1-dev 2016-07-19 19:30:44 +00:00
Doris Ling
ffb87f7e2a 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
2016-07-19 11:45:03 -07:00
Jason Monk
31678f14e9 Protect against work conditional crash
Change-Id: Iba6e7281c622e3ba34fa6bd4672b2380b0329808
Fixes: 30014085
2016-07-19 14:22:14 -04:00
Chad Brubaker
616b3fe9ca Dont use FLAG_ENCRYPT for certificates
Bug: 24966591
Change-Id: Iabe7946a3ef3e64b99f194b0c71c72eca99ea50b
2016-07-19 11:13:46 -07:00
Fan Zhang
9b95b3fc3d Clarify string translation.
Bug: 30196308

Clarify ringtong volume string format and add an example.

Change-Id: I52769d5d274c7502f73ac25e8e1ce9ae6d0b87a5
2016-07-19 09:40:31 -07:00
Christopher Wiley
85cb9073c9 Merge \\"Do not use TetherUtil.setWifiTethering\\" into nyc-mr1-dev am: 62edbf484e
am: 9170100f6c

Change-Id: If1ddb743ac63cced7ef6a75f8f87d3465051a782
2016-07-19 16:07:26 +00:00
Christopher Wiley
9170100f6c Merge \"Do not use TetherUtil.setWifiTethering\" into nyc-mr1-dev
am: 62edbf484e

Change-Id: I023592acc146cbddb2917556a0fb7c3dade417f4
2016-07-19 16:02:42 +00:00
TreeHugger Robot
62edbf484e Merge "Do not use TetherUtil.setWifiTethering" into nyc-mr1-dev 2016-07-19 15:55:32 +00:00
Jason Monk
6263c2f6d4 Merge \\"Fix crash from dismissing after pause\\" into nyc-mr1-dev am: 8cb8dd05a2
am: 44c13b223f

Change-Id: I155ca86eb959fe9b5553be59842e15639c19d4a2
2016-07-19 14:35:53 +00:00
Jason Monk
44c13b223f Merge \"Fix crash from dismissing after pause\" into nyc-mr1-dev
am: 8cb8dd05a2

Change-Id: I6ffd30d4c9dfa7e1c335a13495c1e7d823066c79
2016-07-19 14:33:16 +00:00
Jason Monk
8cb8dd05a2 Merge "Fix crash from dismissing after pause" into nyc-mr1-dev 2016-07-19 14:28:50 +00:00
Bill Yi
5757ce529f Merge \\"Import translations. DO NOT MERGE\\" into nyc-mr1-dev am: b2f60d2974 -s ours
am: 46669d91c6  -s ours

Change-Id: Ie70fca4ec38bcdc1d13b8a7774702fb0423e77a3
2016-07-19 10:04:17 +00:00
Bill Yi
46669d91c6 Merge \"Import translations. DO NOT MERGE\" into nyc-mr1-dev
am: b2f60d2974  -s ours

Change-Id: Ib24f1486b64a2aa2588e0142ae671d3ba79c8232
2016-07-19 09:56:23 +00:00
TreeHugger Robot
b2f60d2974 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-07-19 09:49:06 +00:00
TreeHugger Robot
8b91ae0caa Merge "Import translations. DO NOT MERGE" 2016-07-19 09:49:01 +00:00
Maurice Lam
479d2350dd Merge \\"Lock the orientation for FallbackHome\\" into nyc-mr1-dev am: 78626fadb4
am: 0680b8c471

Change-Id: I864634828c41911e26f8765a9500022dc3b65ae8
2016-07-19 02:02:20 +00:00
Maurice Lam
0680b8c471 Merge \"Lock the orientation for FallbackHome\" into nyc-mr1-dev
am: 78626fadb4

Change-Id: Ic15676a02afb4c4acf1eacc3975415108ef2b99c
2016-07-19 01:47:34 +00:00
Maurice Lam
78626fadb4 Merge "Lock the orientation for FallbackHome" into nyc-mr1-dev 2016-07-19 01:30:08 +00:00
Doris Ling
9345e4b3b6 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
2016-07-18 18:13:55 -07:00
Bill Yi
89912fee23 Import translations. DO NOT MERGE
Change-Id: I34ef9d17f926e12706029e3825182e6dd0e1c24e
Auto-generated-cl: translation import
2016-07-18 16:43:22 -07:00
Maurice Lam
b9af36fcfb Merge \\"Support hardware colors for fingerprint video\\" into nyc-mr1-dev am: ebd722ce5b
am: c203aeb1c8

Change-Id: I54f7e6f085f658f5b546f1c4d3468509e447bb7b
2016-07-18 23:39:01 +00:00
Maurice Lam
c203aeb1c8 Merge \"Support hardware colors for fingerprint video\" into nyc-mr1-dev
am: ebd722ce5b

Change-Id: Ibe34d29438026e2e5bfd233e9a245025a9e66931
2016-07-18 23:36:15 +00:00
Maurice Lam
ebd722ce5b Merge "Support hardware colors for fingerprint video" into nyc-mr1-dev 2016-07-18 23:24:18 +00:00
Bill Yi
e2202bff87 Import translations. DO NOT MERGE
Change-Id: I7d981db41c95b851c9e98f733b83dc55efb08ec0
Auto-generated-cl: translation import
2016-07-18 15:57:45 -07: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
Andrew Sapperstein
7e15743275 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
2016-07-18 10:03:52 -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
Maurice Lam
6e79c0235f 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
2016-07-16 01:21:39 +00:00
Adam Lesinski
f584eaa03a Update FakeUid with new methods
Bug:28931278
Change-Id: I845337633b1840ae66bda065985624aa67b070df
2016-07-15 18:08:29 -07:00
Fan Zhang
ccc8641d71 Let talkback announce category name in Settings.
Bug: 30082459
Change-Id: Id88e5b6d361ebc6863a30a765323a74345657c39
2016-07-15 13:14:09 -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