Commit Graph

27255 Commits

Author SHA1 Message Date
Daniel Nishi
e8869e8a23 Update the Bluetooth pin pairing view to the new spec.
Bug: 30191613
Change-Id: Ib7b5f1758be0af33f6ea60d581a27df4801fc835
2016-07-20 14:17:42 -07:00
Tony Mak
9d83a9fbbb Merge "Should not report unsuccessful attempt if pattern size < minimal size" into nyc-mr1-dev 2016-07-20 19:20:55 +00:00
Julia Reynolds
0bb60ada96 Display days of week in locale order.
Change-Id: Id5d5920089a5da1fbdc7802431ca2909f72d7e12
Fixes: 21304061
2016-07-20 15:15:16 -04:00
Abodunrinwa Toki
5af83786f7 Merge "DO NOT MERGE: InputSettings: Fix incorrect keyboard list on rotation." into nyc-mr1-dev 2016-07-20 18:50:16 +00:00
Doris Ling
7e70fd1166 Merge "Combine setCategories() and setSuggestions() in DashboardAdapter." into nyc-mr1-dev 2016-07-20 18:02:43 +00:00
Daniel Nishi
dd1c51a3e4 Merge "Add a help item for the Help & Feedback for the Storage Manager." into nyc-mr1-dev 2016-07-20 17:33:40 +00:00
TreeHugger Robot
111e1dc6b3 Merge "Color transforms are now color modes." into nyc-mr1-dev 2016-07-20 17:21:36 +00:00
TreeHugger Robot
19d0f73c48 Merge "Let talkback announce category name in Settings." into nyc-mr1-dev 2016-07-20 16:51:13 +00:00
Bill Yi
b5c2131de4 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 30202203
Change-Id: Ieb3d22c6a8d1608dce6d9bce23d85f31a75be58a
2016-07-20 07:34:39 -07:00
Bill Yi
708c6264ac Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 30202203
Change-Id: I3fefeaaa89f3c3707b1e7c84c431689733547ca4
2016-07-20 07:09:37 -07:00
Jason Monk
bd6a4f9066 Merge "Protect against work conditional crash" into nyc-mr1-dev 2016-07-20 13:28:13 +00:00
Tony Mak
818312d962 Should not report unsuccessful attempt if pattern size < minimal size
It is to align the behavior in personal side lock screen.

Change-Id: I811e72405615fbed85c2a4dc6b6cec51e4ad54f0
Fix: 30215101
2016-07-20 09:55:25 +01:00
TreeHugger Robot
b57ee0e02f Merge "Add Night display settings conditional" into nyc-mr1-dev 2016-07-20 01:00:25 +00:00
TreeHugger Robot
99da60a35f Merge "Add ripple effect on all preference tiles." into nyc-mr1-dev 2016-07-20 00:49:38 +00:00
Matthew Fritze
ae63c3db14 Error colors to point to frameworks instead of hard-coding them
Rather than have each instance of the system error color hard code
the argb values, they now point to frameworks/base/core/res/.

Bug: 30021554
Change-Id: I6ec0512c5e69bc822810745b1745fa9feff95150
2016-07-19 16:10:31 -07:00
Fan Zhang
c9fca1a1ee Add ripple effect on all preference tiles.
Bug: 30201359
Change-Id: If02b7b08c05c23a4db3a0455ce12df31c4b7bf42
2016-07-19 16:04:28 -07:00
Daniel Nishi
f21465e14f Add a help item for the Help & Feedback for the Storage Manager.
Bug: 29793176
Change-Id: Ic4104525961e7f173212df54f19857a06c0fac05
2016-07-19 15:47:10 -07:00
Andrew Sapperstein
85902750a5 Merge "Fix a bunch of straggler themes." into nyc-mr1-dev 2016-07-19 21:42:27 +00:00
Justin Klaassen
d60f09edaf Add Night display settings conditional
Bug: 30043281
Change-Id: I2464cd90f1f7f379aabf123f602e6150a87120cf
2016-07-19 14:31:46 -07:00
Mark Salyzyn
bdbd2d984e Settings: trampoline persist.logd.logpersistd to logd.logpersistd
- Deal with trampoline, where we read logd.logpersistd and
  logd.logpersistd.buffer, write to persist.logd.logpersistd and
  persist.logd.logpersistd.buffer and logd.logpersistd*
- Deal with an as designed requirement that empty values do not
  automatically trampoline, to properly communicate state.
- check logd.logpersistd.enable boolean for support

Bug: 28813587
Bug: 28936216
Bug: 29831823
Change-Id: Ib460ca90738ffdee17084349c1035701301c52bc
2016-07-19 14:02:32 -07:00
Mark Salyzyn
78dd2e2c74 Settings: add logpersist kernel only selection
Bug: 28813587
Bug: 28936216
Bug: 29831823
Change-Id: I9bfbb2717c2d4d39bfda6b92221a38985a4f4973
2016-07-19 14:01:41 -07:00
Mark Salyzyn
c8b1c3ec22 Settings: add logpersist selection (actions)
- Only add logpersist menu if debuggable.
- Only enable logpersist menu if Logging is On.
- Add selection for Off, All and All minus radio.
- Pop up warning box that persistent storage is to be cleared when
  selecting Off (but not if turned off by Logging Size Off or
  Disabling Debugger Options).

Bug: 28813587
Bug: 28936216
Change-Id: Ic0a58abdcd6ca41069efb818d1dcef4e3927d2de
2016-07-19 13:59:56 -07:00
Jason Monk
69ce586155 Merge \"Pre-setup restrictions\" into nyc-dev
am: 5a3d1c17f2

Change-Id: I0bc7e426b0dfc4d233b9caa263e5361f94dbf6f2
2016-07-19 20:39:18 +00:00
Jason Monk
5a3d1c17f2 Merge "Pre-setup restrictions" into nyc-dev 2016-07-19 20:31:15 +00:00
Doris Ling
c2733db43f Merge "Fix janky scrolling for Gestures Settings." into nyc-mr1-dev 2016-07-19 20:30:12 +00:00
Doris Ling
bd3ac3bf22 Merge "Add Gestures settings to search index." into nyc-mr1-dev 2016-07-19 20:19:05 +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
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
TreeHugger Robot
62edbf484e Merge "Do not use TetherUtil.setWifiTethering" into nyc-mr1-dev 2016-07-19 15:55:32 +00:00
Jason Monk
8cb8dd05a2 Merge "Fix crash from dismissing after pause" into nyc-mr1-dev 2016-07-19 14:28:50 +00:00
TreeHugger Robot
b2f60d2974 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-07-19 09:49:06 +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
ebd722ce5b Merge "Support hardware colors for fingerprint video" into nyc-mr1-dev 2016-07-18 23:24:18 +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
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
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