Commit Graph

25371 Commits

Author SHA1 Message Date
Dan Sandler
8b797c2df8 Fix CharSequence nonsense in NotificationStation.
Also clean up the lifecycle so we unbind and rebind on pause
and resume, instead of create and destroy.

Bug: 27389947
Change-Id: I2b7b7934a25a6bd528b9d399ffed487ea724b30b
2016-02-29 22:29:10 -05:00
Clara Bayarri
4a91408698 When un-unifying the personal and work locks, launch lock setup
When the user decides to have a separate work lock, it makes sense
to send them to set up that lock directly. Also fixes the issue where
we have work fingerprints in a unified state and un-unifying leaves
the work profile with no lock but fingerprints.

Bug: 27199237
Change-Id: I85dab9cdf993af69a661d8f0cd4ad2449a348cac
2016-02-29 17:57:56 -08:00
Felipe Leme
2c9911f190 Fixed padding on "Take Bug Report" dialog.
BUG: 26324085
Change-Id: If716066d8ebf35e4fb398e7a423c808abd6a159e
2016-02-29 17:21:44 -08:00
Anna Galusza
445bd53e51 Merge "Change Action Bar title in a11y SUW to match setting name. Bug: 27326637" into nyc-dev 2016-02-29 19:47:15 +00:00
Anna Galusza
e87a2c21ff Change Action Bar title in a11y SUW to match setting name.
Bug: 27326637

Change-Id: Ifddabdfef75707d5cdc164b4415e830539fd962a
2016-02-29 11:45:24 -08:00
Sanket Padawe
7e6eec5b87 Resolve merge conflicts of b9e837bc78 to nyc-dev
+ Fix merge conflict fromm mm-wireless-dev to nyc-dev

Change-Id: I8a604cec65bbe5ed61262771c9fe0489798425ed
2016-02-29 10:48:51 -08:00
Sanket Padawe
b9e837bc78 Merge "Remove displaying of WifiCalling twice in Settings search." into mm-wireless-dev 2016-02-29 18:23:56 +00:00
Geoff Mendal
5a3dec0c40 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-29 16:46:02 +00:00
Geoff Mendal
baadb43627 Import translations. DO NOT MERGE
Change-Id: I75e4543568e4d74a1cd3804a04ea13d49eb6a6d1
Auto-generated-cl: translation import
2016-02-29 07:37:40 -08:00
Jason Monk
01a4491600 Guard against apps with no permissions
Bug: 27355802
Change-Id: Iee8d9898af0e5910319cb47218ceee8da1352554
2016-02-29 09:55:19 -05:00
Nicolas Prevot
aea1702338 Make some Settings intent filters cross-profile again.
The intents:
INPUT_METHOD_SETTINGS, MANAGE_DEFAULT_APPS_SETTINGS and HOME_SETTINGS
were not handled in the parent any more. Handle them in the parent.

BUG:27240411
Change-Id: I42da3ce37901ba3e9f5c8004db53e49bc2f9ed24
2016-02-29 13:49:31 +00:00
Shweta Chahar
b17a56e07f Merge "Set the layout of seekbar as the preference_iconless_slider and remove the higher speech rate preference variables. The layout is changed to preference_iconless_slider so that the speech rate slider layout is same as the layout of seekbars in android settings." into nyc-dev 2016-02-29 10:39:29 +00:00
Andy Hung
a77940d0f5 Merge changes from topic 'update mono audio' into nyc-dev
* changes:
  Add mono audio to AccessibilitySettings
  Remove mono audio from SoundSettings
2016-02-27 02:50:06 +00:00
Julia Reynolds
1d33d59be2 Api review: AutomaticZenRule
Bug: 27364144
Change-Id: Ic0ea5d4958711cf5216e87ad8054460ad4246856
2016-02-26 18:38:50 -05:00
Andy Hung
acef55d099 Add mono audio to AccessibilitySettings
Bug: 15283594
Change-Id: If5ca14a800e1932b17ef479589beb8a5d1489b5d
2016-02-26 14:35:09 -08:00
Andy Hung
f892e21696 Remove mono audio from SoundSettings
Mono audio will move to AccessibilitySettings only.
This reverts commit 0863ea40cd.

Bug: 15283594
Change-Id: I2cc744c96a9f6a6454b0bf533a44bb2eb56b745a
2016-02-26 14:17:29 -08:00
Yohei Yukawa
1ea368b5d5 Handle the case where no spell checker is selected.
This follows up to a previous CL [1] that fixed Bug 26685795 that the
Settings app crashes when no spell checker is selected, but introduced
another Bug 26686710 that the user cannot re-select the spell checker
once the device has fallen into that state because the button to select
new spell checker is disabled.

This CL tries to deal with such a case more carefully and gracefully, by
adding more null checking and by showing a meaningful text
("Not selected" for English) to users when no spell checker is currently
selected.

  [1]: I65e6d269572e064aa6897807b6611ef947d90211
       093a646772

Bug: 26108333
Bug: 26685795
Bug: 26686710
Change-Id: I0ed71bbb580e3547d97e321799ac2b77b1f284a3
2016-02-26 18:12:43 +00:00
Julia Reynolds
c2bcc727d9 Merge "Introduce IMPORTANCE_MIN." into nyc-dev 2016-02-26 16:14:33 +00:00
Jason Monk
2071eda150 Workarounds to avoid removing all prefs
Removing all prefs causes ugly animations, so avoid it at all cost
and cache all the prefs (while still added) as long as possible.

Bug: 26271353
Change-Id: I33b84d751938b460f4b66c0158057407dd45d974
2016-02-26 11:00:01 -05:00
shwetachahar
6426435b4c Set the layout of seekbar as the preference_iconless_slider
and remove the higher speech rate preference variables.
The layout is changed to preference_iconless_slider so that the speech
rate slider layout is same as the layout of seekbars in android
settings.

Bug: 27136737
Change-Id: Ib75b8dec74ef07be87130a3f29249b148f4bcf0b
2016-02-26 15:09:52 +00:00
Adrian Roos
6c09bd2538 Merge "Fix crash when changing encrypt with credential" into nyc-dev 2016-02-26 00:11:07 +00:00
Adrian Roos
77181e9478 Fix crash when changing encrypt with credential
Bug: 27173979
Change-Id: If8ef7a9342bcb1b0602791df1dc7634b3e980ee7
2016-02-25 15:43:50 -08:00
Philip P. Moltmann
24264eb250 Do not count print jobs if printing is not available.
Bug: 27339883
Change-Id: I0b0761917798581e831e8b2692fdc9c5fefb1155
2016-02-25 13:07:26 -08:00
Felipe Leme
4c1cefcd3b Merge "Makes call to MetricsLogger right away when taking bugreports." into nyc-dev 2016-02-25 19:45:05 +00:00
Felipe Leme
038bf65686 Makes call to MetricsLogger right away when taking bugreports.
Previously the call was made on takeBugreport(), which caused a NPE on
interative report calls because the context was null since it was
handled by a handler.

BUG: 27354167
Change-Id: I19e91cb4b43a7aa0bfcdab440c4cd4225110fdfb
2016-02-25 11:37:56 -08:00
Julia Reynolds
518b93f565 Introduce IMPORTANCE_MIN.
Bug: 22960980
Change-Id: Ia3876e0b3b5dae19553fd467313b46408fcbb0f4
2016-02-25 13:06:57 -05:00
Muyuan Li
ab15e923a5 Fixed a bug in DisplayUtils in which the length of entries will be added
twice, causing IndexOutOfBound exception at runtime when using custom
DPI

Change-Id: Ib106f0ee8044893e2c1f3b4f334b741194171e2a
(cherry picked from commit d4ed8400ff7bc60e1391f4ea248390342a9f90dd)
2016-02-25 18:01:13 +00:00
Adrian Roos
d553f4f9a9 Add setting to allow RemoteInput on keyguard
Bug: 26440855
Change-Id: I57e02876c615f558eee279f2dc7edca8b28fc495
2016-02-25 09:22:14 -08:00
Sanket Padawe
d84467bd65 Remove displaying of WifiCalling twice in Settings search.
+ WifiCalling was getting displayed twice due to addition of
WifiCallingSettings screen in Settings ranking & index files.
+ This also solves issue of displaying WifiCalling option in non supported
carrier/platform.

Bug: 25669303
Change-Id: I179128d1f3c876a4d3f826e0365cbb2b761d57dd
2016-02-24 17:47:03 -08:00
Fyodor Kupolov
52ae05314d Do not allow removing current user if it's in a call
Bug: 20652663
Change-Id: I2eb91bc73259e25b3fa68337df2a0576a438244a
2016-02-24 15:56:13 -08:00
Noah Wang
b671780528 Merge "Fix sensitive labels for font size settings." into nyc-dev 2016-02-24 22:57:28 +00:00
Jason Monk
06663375ca Merge "Update suggestion text" into nyc-dev 2016-02-24 22:45:46 +00:00
Jason Monk
ec1f28e50c Update suggestion text
Bug: 27151995
Change-Id: If7c9620b816ae4f08b5a41dd7c88469184efe234
2016-02-24 17:39:29 -05:00
Makoto Onuki
9dd15f1bfa Merge "Allow disabling non-system device admins" into nyc-dev 2016-02-24 22:20:06 +00:00
Bo Hu
9b9ca65db9 Merge "Emulator: avoid accessing null BluetoothAdapter" into nyc-dev 2016-02-24 22:18:12 +00:00
Noah Wang
72cf2f246b Fix sensitive labels for font size settings.
bug: 27122995
Change-Id: I6d549fa417a46ee565a38269ccfb1fccae425b53
2016-02-24 13:26:43 -08:00
Makoto Onuki
7cdaa52161 Allow disabling non-system device admins
In safe mode, PM.queryXxx() doesn't return non-system apps.
Use IPM.getReceiverInfo() instead.

Bug 27108276

Change-Id: I391a41eb07e414ba224a808a362125912b177de2
2016-02-24 13:14:56 -08:00
Anna Galusza
fa3816d771 Merge "Update font size preview strings. Bug: 27225672" into nyc-dev 2016-02-24 20:30:36 +00:00
Julia Reynolds
c4835dc6e3 Merge "Replace slider with switches; move slider to tuner." into nyc-dev 2016-02-24 19:44:17 +00:00
Anna Galusza
29c93d4e08 Update font size preview strings.
Bug: 27225672

Change-Id: I777d33127971bc7cda0241c941a60095f131b057
2016-02-24 11:34:59 -08:00
Robin Lee
34ecc000ae Merge "Use KeyChain instead of Credentials to delete certs" into nyc-dev 2016-02-24 19:10:50 +00:00
Gustav Sennton
0f1e17b76c Merge "Block the user from enabling or disabling webview fallback packages." into nyc-dev 2016-02-24 19:00:35 +00:00
Robin Lee
da7bc51615 Use KeyChain instead of Credentials to delete certs
Credentials is a bit too low-level. KeyChain will call into the same API
but also arrange deletion of grants, send out STORAGE_CHANGED broadcast
and anything else that might be needed in future.

Bug: 27335182
Change-Id: I764ffa3c5539ddec2b9a776bd3fec6a78a043248
2016-02-24 18:58:31 +00:00
Akshay Kannan
c4b8c70e8a Merge "Restrict ICE to system image only in settings." into nyc-dev 2016-02-24 18:26:10 +00:00
Akshay Kannan
5cddcf2408 Restrict ICE to system image only in settings.
Bug: 23591361
Change-Id: I56767e94eb5f30bc175a097bb8cae340cb9dfb3a
2016-02-24 10:07:27 -08:00
Julia Reynolds
d4559a8035 Replace slider with switches; move slider to tuner.
Bug: 22451710
Change-Id: I86a57479757b3c7a43a789b0b3d7a81afb6d0cf9
2016-02-24 12:52:31 -05:00
Noah Wang
e0255a7197 Merge "Read out confirmation message upon selecting options on LabeledSeekBar." into nyc-dev 2016-02-24 17:15:24 +00:00
Paul Lawrence
642e1d9b59 Merge "Show second warning screen before converting to FBE" into nyc-dev 2016-02-24 16:56:52 +00:00
Jason Monk
5d052a38e5 Merge "Show gear for apps that provide general settings intent" into nyc-dev 2016-02-24 16:23:01 +00:00
Mihai Niță
ceb80c9888 Merge "Fix various UX bugs." into nyc-dev 2016-02-24 16:08:17 +00:00