Commit Graph

27124 Commits

Author SHA1 Message Date
Anna Galusza
798b35ac09 Fix font and display size settings pages for small screens.
This was particularly broken in split-screen mode.

Bug: 29835212
Change-Id: I141f659e2d2d282d5af1ae97d6c798e53f71f766
2016-07-22 20:06:42 +00:00
Justin Klaassen
eae3d9f932 Add NightDisplaySettingsActivity
- The Settings#ACTION_NIGHT_DISPLAY_SETTINGS action can be used by apps
  to launch Night display settings directly.

Bug: 30291948
Change-Id: I5545bb7f0a467116454e5c44e207cbe91ddf9d43
2016-07-22 19:40:17 +00:00
Fan Zhang
2a84bbcddb Don't allow changing data usage setting if uid is not app.
Bug: 30262890

Changing non-app UID's (eg system, firewalld) data usage will just crash.

Change-Id: I1c3f2504aae75f514f962fd54f4dcf240b3bcd81
2016-07-22 10:07:12 -07:00
Doris Ling
7b03ae69df Merge "Check for null activity before getting dashboard categories." into nyc-mr1-dev 2016-07-21 20:58:22 +00:00
Fan Zhang
cafe6972a9 Fix crash when starting Settings -> Display -> Font size
Change-Id: I26f81d02e31b0b7c8120395231aa6b81be6be7be
Fixes: 30279736
2016-07-21 13:30:54 -07:00
Doris Ling
b7e650c6f7 Check for null activity before getting dashboard categories.
In DashboardSummary, when async task finishes running, ensure that the
fragment is still associated with the activity before getting the
dashboard categories from the activity.

Change-Id: If23cd27a0d3e3429d900ae41ef6f24ed03b9e8d6
Fixes: 30278854
2016-07-21 12:22:17 -07:00
Sunny Goyal
fe9bf6d9d1 Merge "Updating the shortcut icons for Settings app" into nyc-mr1-dev 2016-07-21 18:27:33 +00:00
Sunny Goyal
b67291a274 Updating the shortcut icons for Settings app
Bug: 30224034
Bug: 30280907
Change-Id: I6ebf85dbf2941c1cf55e443d611655cdb765da66
2016-07-21 11:26:52 -07:00
Makoto Onuki
8e8bcb6900 Improve string comment
Bug 30210359
Bug 30207992

Change-Id: I27f8166b4fbd8f3b3e01c71e1fcc114c2a713231
2016-07-21 10:35:47 -07:00
TreeHugger Robot
2ece9e4894 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-07-21 04:32:48 +00:00
Thierry Strudel
8f3c7dd719 Merge changes from topic 'enable_persist_kernel_log' into nyc-mr1-dev
* changes:
  Settings: trampoline persist.logd.logpersistd to logd.logpersistd
  Settings: add logpersist kernel only selection
  Settings: add logpersist selection (actions)
2016-07-21 04:07:25 +00:00
Bill Yi
1dc5c8bcbf Import translations. DO NOT MERGE
Change-Id: I2135a4c00d05ba973eae29159fa7ab87d4dc8bd4
Auto-generated-cl: translation import
2016-07-20 20:05:32 -07:00
TreeHugger Robot
fd922cabd9 Merge "Get gestures animation preview image in async loader." into nyc-mr1-dev 2016-07-21 02:43:37 +00:00
Doris Ling
de991f457d Get gestures animation preview image in async loader.
When user scrolls in Gestures Settings, the textureview used for the
animation video will be destroyed if the view is scrolled outside the
screen. When the view is scrolled back in, a slight flicker is seen as
the animation video is not instantly made available on the new surface
texture. We are now retrieving the preview image in an async loader
after the preference is created, so that it will not delay the original
loading of the gestures settings page, but the preview will be made
available while we initialize the animation video in the new surface
texture.

Bug: 29790087
Change-Id: I83f4a5bc4f24b7aab4c0cc851cb524c10e74f328
2016-07-20 18:13:55 -07:00
Matthew Fritze
d739ea38fb Merge "Revert "Revert "Error colors to point to frameworks instead of hard-coding them""" into nyc-mr1-dev 2016-07-21 01:04:26 +00:00
Matthew Fritze
892a54696b Revert "Revert "Error colors to point to frameworks instead of hard-coding them""
This reverts commit f179f845e5.

Change-Id: Ie57507b0d6ca76ba9b77836bc4e133f27a3664c7
2016-07-21 01:03:45 +00:00
Andrew Sapperstein
c49c496f1c Merge "Revert "Error colors to point to frameworks instead of hard-coding them"" into nyc-mr1-dev 2016-07-21 00:57:02 +00:00
Matthew Fritze
f179f845e5 Revert "Error colors to point to frameworks instead of hard-coding them"
This reverts commit ae63c3db14.

Change-Id: I2d3069eb5b23aa7df3fc1efc2eb085b493b5564c
2016-07-21 00:55:21 +00:00
Daniel Nishi
391f67e484 Merge "Update the Bluetooth pin pairing view to the new spec." into nyc-mr1-dev 2016-07-20 23:52:59 +00:00
Matthew Fritze
d25148c8f7 Merge "Error colors to point to frameworks instead of hard-coding them" into nyc-mr1-dev 2016-07-20 23:34:42 +00:00
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
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