Commit Graph

16618 Commits

Author SHA1 Message Date
Marie Janssen
c79470d089 Bluetooth: Make pairing notification cancellable
Add actions to the pairing service notification so the user can dismiss
the pairing request if they want to.

Add some more information to logs when the user takes an action.

Reformat the file to match android style.

Test: pair from a remote device, dismiss using the new actions
Bug: 36036358
Change-Id: Ie110044bd4caf465f454452737000f01e7430925
2017-04-20 15:22:20 -07:00
Daniel Nishi
9e107c5682 Add EXTRA_FROM_STORAGE to photos gallery intent.
Change-Id: I050149f558df0de83e7139354ac54176d7ced162
Fixes: 36991234
Test: Settings robotest
2017-04-20 14:46:28 -07:00
Sundeep Ghuman
949306bde8 Merge "Revert "Force update APs when enabling wifi in WifiSettings."" into oc-dev am: 76ed3e5344
am: e4d80f99a1

Change-Id: Ia6908c4211e3c4c872436bca7fdf0a7522db38a6
2017-04-20 20:58:13 +00:00
Sundeep Ghuman
e4d80f99a1 Merge "Revert "Force update APs when enabling wifi in WifiSettings."" into oc-dev
am: 76ed3e5344

Change-Id: I7541a423acd06f69fa944a9044a4768e62e76d68
2017-04-20 20:52:45 +00:00
Sundeep Ghuman
76ed3e5344 Merge "Revert "Force update APs when enabling wifi in WifiSettings."" into oc-dev 2017-04-20 20:45:33 +00:00
Fan Zhang
dcc0af50c6 Remove deep link to app store from app header.
The link doesn't actually work and uses wrong icon. There is a working
version at the app info screen already.

Change-Id: I16890bd66e095c3185e12d604d8daba5036ab24c
Fix: 37544209
Test: robotests
2017-04-20 13:45:23 -07:00
Anas Karbila
ada2ea57b4 Settings: PreviewPagerAdapter: copy the full theme
getThemeResId() returns the theme resource id which is defined inside AndroidManifest.xml.
If you set a theme via code (or add extra attributes using applyStyle method), the new theme will not be carried over.
Fix this by using setTo method with the context theme as argument.

Issue: https://issuetracker.google.com/37543358

Test: set new theme via code (or add extra attributes using applyStyle method) and check if they are carried over to the configContext context

Change-Id: I82739fe47b2d5b2d05da4cb3759b630b10dc8c8f
2017-04-20 20:11:00 +00:00
Daniel Nishi
4a150e75fd Merge "Gracefully handle null volumes after forgetting." into oc-dev am: d6d6185167
am: 8f68658aef

Change-Id: I1033e51c837c9ed51e424435e8b49cac7eca51dc
2017-04-20 18:54:28 +00:00
Daniel Nishi
9ef9bfb6e9 Merge "Don't show warning dialog on opening ASM settings." into oc-dev am: 81f98a8fd5
am: c7734f589e

Change-Id: Idc4760b31fa82f2e5387225f3da7c621a8decf4c
2017-04-20 18:53:59 +00:00
Phil Weaver
debcceb6b4 Merge "Fix default for a11y shortcut setting" into oc-dev am: 5ef1135b9f
am: bffd5636ff

Change-Id: I37e5b5651d3f1930791acf013bce10f9e5cb50ce
2017-04-20 18:53:23 +00:00
Ajay Nadathur
22ebdd9493 Fingerprint suggestion should not be dismissed until fingerprint added
- Do not dismiss fingerprint suggestion until atleast one fingerprint is
added.

bug: 36578142
Test: robotest & manually verified.
Change-Id: I3151c9ae971666a0964be007103a9b7ad41de5ce
(cherry picked from commit 51ef801b32)
2017-04-20 11:34:54 -07:00
Fan Zhang
b1bdf90c35 Bidi wrap keyboard names before displaying them.
This is needed because keyboard names can contain characters from mixed
locale. Without Bidi wrapping the labels will be garbled and not
readable.

Change-Id: I47668a65d7bef8828ad0424097834929ec12700d
Fix: 37353900
Test: make RunSettingsRoboTests
2017-04-20 11:23:14 -07:00
Matthew Fritze
3266e3d712 Remove duplicates between battery and display settings
Change preference keys of duplicate settings between
display and battery to avoid duplication in search.

Bug: 33701673
Test: make RunSettingsRoboTests
Change-Id: Iaad52f16ce33c478c64bcec656cc8edbe0c97283
Merged-In: I56c82e9e7f163d345065ca478849de9b14c173fe
2017-04-20 11:11:20 -07:00
Malcolm Chen
e9d96b7bc1 Reset APN when doing network reset.
Bug: 35956245
Test: Manual test

Change-Id: Iadb00c55d41a51204be1678bb77c2367e1bcb775
2017-04-20 10:58:32 -07:00
Sundeep Ghuman
b2bdc8f17b Revert "Force update APs when enabling wifi in WifiSettings."
This reverts commit 1c231d32b1.

Reason for revert: b/37530557 - ANR in Settings due to deadlock

Change-Id: I85d70aa957dca76189b7600d7b39cb9a09437e91
2017-04-20 17:49:20 +00:00
Daniel Nishi
8f68658aef Merge "Gracefully handle null volumes after forgetting." into oc-dev
am: d6d6185167

Change-Id: I55411a233e2dfb6239d4d2f8e17f32dc2c9fdc73
2017-04-20 17:18:27 +00:00
Daniel Nishi
d6d6185167 Merge "Gracefully handle null volumes after forgetting." into oc-dev 2017-04-20 17:05:29 +00:00
Daniel Nishi
c7734f589e Merge "Don't show warning dialog on opening ASM settings." into oc-dev
am: 81f98a8fd5

Change-Id: I70516ed0b6bbc7720d3da33461fed52a0aa8adda
2017-04-20 17:04:50 +00:00
Phil Weaver
bffd5636ff Merge "Fix default for a11y shortcut setting" into oc-dev
am: 5ef1135b9f

Change-Id: Ifd07d03a81c62e6f82afec9cb964bc9bc007a54e
2017-04-20 17:04:28 +00:00
Daniel Nishi
81f98a8fd5 Merge "Don't show warning dialog on opening ASM settings." into oc-dev 2017-04-20 16:55:29 +00:00
Gustav Sennton
cad1d15586 Merge "Remove WebView MultiProcess Developer Option." into oc-dev am: ae72f1eeef
am: b54f96015f

Change-Id: I6dc23db7a2043310860e56d7f5aa0f591f2813ce
2017-04-20 16:37:22 +00:00
Gustav Sennton
b54f96015f Merge "Remove WebView MultiProcess Developer Option." into oc-dev
am: ae72f1eeef

Change-Id: I93b5db79f458b8808935f0d005e3a5631d96e496
2017-04-20 16:04:02 +00:00
Lenka Trochtova
33707767be Check for user restrictions disallowing BT in BluetoothEnabler.
am: 363b3303c0

Change-Id: I6c85b31a44930e174a8caff04696d70884fc1dbc
2017-04-20 16:03:26 +00:00
Phil Weaver
5ef1135b9f Merge "Fix default for a11y shortcut setting" into oc-dev 2017-04-20 14:52:23 +00:00
TreeHugger Robot
ae72f1eeef Merge "Remove WebView MultiProcess Developer Option." into oc-dev 2017-04-20 12:59:34 +00:00
Gustav Sennton
c14e09bde0 Remove WebView MultiProcess Developer Option.
Now that MultiProcess WebView is enabled by default we can remove the
Developer Option that lets users choose whether to enable MultiProcess
for WebView.

Bug: 36513859
Test: Ensure the WebView MultiProcess Dev Setting no longer exists.
Change-Id: Ib2eab3831b5d8b56daeaf4c7a06337075804a1d4
2017-04-20 11:51:46 +01:00
Lenka Trochtova
363b3303c0 Check for user restrictions disallowing BT in BluetoothEnabler.
Test: make RunSettingsRoboTests -j40
Test: manual

BUG: 35596982
BUG: 32895313

Change-Id: Ie8f53b665a4aad4e6b17b20602cbe5502998d7a2
(cherry picked from commit 479d197196)
2017-04-20 10:26:14 +00:00
TreeHugger Robot
8e4abb13d0 Merge "Check for user restrictions disallowing BT in BluetoothEnabler." 2017-04-20 10:23:10 +00:00
Sundeep Ghuman
ebde427ebb Merge "Fix scanning settings link clickability in Talkback mode." into oc-dev am: 2ba8f10717
am: 638a864cd5

Change-Id: I3a58f97a7a43902b90af33c265f079c756eead51
2017-04-20 01:16:57 +00:00
Daniel Nishi
9c9c2b5871 Merge "Change how we calculate system size." into oc-dev am: 0b75d39312
am: aebda427d8

Change-Id: I7a0efbf7745fe52d9dbefe94ead07be603b6f96e
2017-04-20 00:58:05 +00:00
Fan Zhang
c76b85317e Merge "Display and parse numbers properly in all locales" into oc-dev am: 28e5271c61
am: feea41f6cc

Change-Id: I3d9ffaa6f13a1d2859c6d591dfcb1c573c7cd11e
2017-04-20 00:57:30 +00:00
Sundeep Ghuman
638a864cd5 Merge "Fix scanning settings link clickability in Talkback mode." into oc-dev
am: 2ba8f10717

Change-Id: If7d84b22d7f232e80b2ad43db828c2566d9145a5
2017-04-20 00:18:05 +00:00
Daniel Nishi
aebda427d8 Merge "Change how we calculate system size." into oc-dev
am: 0b75d39312

Change-Id: Icaf7f87f280cd60ed37e02608821ab07815abbad
2017-04-19 23:56:54 +00:00
Fan Zhang
feea41f6cc Merge "Display and parse numbers properly in all locales" into oc-dev
am: 28e5271c61

Change-Id: I209c67664d3713609cdc10bde9598f796b167139
2017-04-19 23:56:32 +00:00
TreeHugger Robot
2ba8f10717 Merge "Fix scanning settings link clickability in Talkback mode." into oc-dev 2017-04-19 23:49:03 +00:00
TreeHugger Robot
c037add5dc Merge "Prevent search crashes from uninstalled apps" 2017-04-19 23:45:44 +00:00
TreeHugger Robot
0b75d39312 Merge "Change how we calculate system size." into oc-dev 2017-04-19 23:33:58 +00:00
TreeHugger Robot
28e5271c61 Merge "Display and parse numbers properly in all locales" into oc-dev 2017-04-19 23:30:08 +00:00
TreeHugger Robot
8968e61b95 Merge "Remove duplicates between battery and display settings" 2017-04-19 23:05:03 +00:00
TreeHugger Robot
f9b6ccf9fd Merge "Use the new OemLockService to get OEM lock state." 2017-04-19 22:53:13 +00:00
Matthew Fritze
af89d062b4 Merge "Revert "Listen to brigtness updates to update brightness summary."" into oc-dev
am: 552fc2922a

Change-Id: I535dbb31e1951869220b50b4f822c068f9cea0f3
2017-04-19 22:36:11 +00:00
TreeHugger Robot
552fc2922a Merge "Revert "Listen to brigtness updates to update brightness summary."" into oc-dev 2017-04-19 22:29:25 +00:00
Sundeep Ghuman
5ac900b5da Merge "Force update APs when enabling wifi in WifiSettings." into oc-dev am: 8025906b7c
am: 05f252ec53

Change-Id: I77d68fe604e84e16aa545b119be96241b855abf6
2017-04-19 22:14:15 +00:00
Matthew Fritze
359bce4f50 Prevent search crashes from uninstalled apps
All search results are now refreshed when resuming the
search fragment, to prevent crashes from results that
no longer exist.

Bug: 34817357
Test: make RunSettingsRoboTests
Change-Id: I96a0cbfee711ab9dee49d56bfdc4e885202d9ecd
2017-04-19 15:06:39 -07:00
Sundeep Ghuman
05f252ec53 Merge "Force update APs when enabling wifi in WifiSettings." into oc-dev
am: 8025906b7c

Change-Id: Icfe7abd987ad1f4b6a0475904759cc87eb61a00a
2017-04-19 21:54:21 +00:00
TreeHugger Robot
8025906b7c Merge "Force update APs when enabling wifi in WifiSettings." into oc-dev 2017-04-19 21:48:19 +00:00
Matthew Fritze
c6f2638009 Remove duplicates between battery and display settings
Change preference keys of duplicate settings between
display and battery to avoid duplication in search.

Bug: 33701673
Test: make RunSettingsRoboTests
Change-Id: I56c82e9e7f163d345065ca478849de9b14c173fe
2017-04-19 14:34:13 -07:00
Fan Zhang
8648c5ed3d Display and parse numbers properly in all locales
Change-Id: Iddf74fd6ed3139eede27733b69a31ce2fa7d1a92
Fix: 37311645
Test: make RunSettingsRoboTests
2017-04-19 14:30:19 -07:00
Sundeep Ghuman
b3b0250be8 Fix scanning settings link clickability in Talkback mode.
Bug: b/37431709
Test: make RunSettingsRoboTests
Change-Id: I0dc0a524a3c4abd1743748ebc8ebf20937018047
2017-04-19 14:29:11 -07:00
Daniel Nishi
fa3766a220 Don't show warning dialog on opening ASM settings.
On older devices, the activation warning dialog would show upon the
switchbar changing to On. This was occurring when the page opens
because the status was changing onResume. By shuffling the switchbar
changes into the ASMSwitchBarController, we can register our listener
after the initialization of the switch bar's first status.

Change-Id: I3610d07345684d1e66444981a8059d1c2965e955
Fixes: 37472724
Test: Settings robotests
2017-04-19 14:04:50 -07:00