238037 Commits

Author SHA1 Message Date
Ariana Mott
0c9ac64819 Remove package AutomaticZenRules for revoked Notification Policy Access
Bug=28043240

Change-Id: If59fc043470a6dfe6b2426cd80ef53473ba8be42
2016-04-07 12:33:11 -07:00
Muyuan Li
4fe4a409bc sysui: refactor for extensibility.
1. Refactored container height calculation out of updateBottom of QSContainer;

2. Added a method in QSContainer to return min expansion height.

Bug: 27929808
Change-Id: I5a6d04ffb225bccfc56fa5f4ab98d330ed763a8c
(cherry picked from commit 9e874950195d6b76a64e28c236e8d109d551281f)
2016-04-07 19:32:26 +00:00
Yi Kong
b9aef08059 Merge "Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68" into nyc-dev 2016-04-07 19:29:19 +00:00
Roshan Pius
5a4027e26c Merge "WifiScanner: Remove pnosetting stopPno API (1/2)" into nyc-dev 2016-04-07 19:28:24 +00:00
Yi Kong
26aea7b710 Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68
Bug: 28058863
Change-Id: Id4bfeaf0f85d63b658dee3b74f91d7468c8eab95
(cherry picked from commit b443d5d171fdbe00bf9806645776c8da3f6b85ba)
(cherry picked from commit 0201c5566dd09a19a05b04ba5b803f60b4111b76)
2016-04-07 20:28:00 +01:00
Phil Weaver
155dda1e43 Treat accessibility gestures like physical ones.
Gestures now operate on the screen as the user sees it, so they are
affected by magnification. This makes gesture coordinates consistent
with the node bounds in screen and makes an eye or head tracking service
work much more easily.

Bug: 27747314
Change-Id: Idee60398d49d8c9af7405d974893c796b034c974
2016-04-07 12:20:27 -07:00
Alex Hills
fc737def02 Adds support for MessagingStyle
This change adds support for the new MessagingStyle, which
supports a fully back-and-forth messaging/chat experience
within the notification display itself.

Bug:28043958
Change-Id: Ibb9c2a0784f028d8cf01bd3cee4fecc5f72d68cd
2016-04-07 15:19:14 -04:00
Diego Perez
2155ad8204 Merge "Fix NPE when runnin testActivity" into nyc-dev 2016-04-07 19:02:34 +00:00
Jeff Sharkey
8cd2243d8c Merge "Unlock newly created managed profiles." into nyc-dev 2016-04-07 18:46:38 +00:00
Xiaohui Chen
2f3551b04d sysui: refactoring qs for extensibility
Bug: 27100060
Change-Id: I4913999e57ff1a1b473649009b8822e24c0393c8
2016-04-07 18:41:23 +00:00
Jeff Sharkey
7661a316b4 Unlock newly created managed profiles.
We only need to delay unlocking managed profiles if the parent user
is currently locked.

Bug: 28068215
Change-Id: Ic59872a10417cfc166bd6e79cf94719545c7f45a
2016-04-07 12:39:59 -06:00
Makoto Onuki
c2c5b23099 Merge "Fix sqlite time measurement." into nyc-dev 2016-04-07 18:38:42 +00:00
Sandra Kwan
1767fcd504 AccountManager: fix updateCredentials API.
Bug: 26157869
Change-Id: Icd2148db6923383263bcce5ad845bcb1411f5c4e
2016-04-07 11:01:40 -07:00
Jeff Sharkey
8b704d4474 Merge "Revert "Remove old FUSE bypass now that we have sdcardfs."" into nyc-dev 2016-04-07 17:56:21 +00:00
Jeff Sharkey
8575da1cc0 Revert "Remove old FUSE bypass now that we have sdcardfs."
This reverts commit feef8b62ee60c8418bd7238522c06098e61eecff.

Change-Id: I90a3b8edf95cb5b631a85168671cf8b5a406d9ea
2016-04-07 17:56:06 +00:00
Fyodor Kupolov
d67ac0a906 Merge "Lock down access to getProfiles for 3P apps" into nyc-dev 2016-04-07 17:52:53 +00:00
Jeff Sharkey
7d66e83139 Merge "Give users and devices control over sdcardfs." into nyc-dev 2016-04-07 17:52:41 +00:00
Chris Wren
e7e7cb2d05 Merge "add an onListenerDisconnected() callback to NLS" into nyc-dev 2016-04-07 17:44:10 +00:00
Yi Kong
2ada7bc851 Merge "Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4" into nyc-dev 2016-04-07 17:41:55 +00:00
Yi Kong
3e31dc3804 Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4
Change-Id: I272d9d8a15034dce4e0858b76e1ca22e315e4acd
(cherry picked from commit 3f0f27f6cc35d75691b722c4841e435ac9b2d439)
(cherry picked from commit abd00ff0e742d5e4849af9fad51f9e1b6bd3463a)
2016-04-07 18:38:20 +01:00
Roshan Pius
37aeb4700b WifiScanner: Remove pnosetting stopPno API (1/2)
BUG: 27532350
Change-Id: I6df3df56e66c7bbb8443c038cd8345989cf2d57e
2016-04-07 10:32:24 -07:00
Mady Mellor
9713651b26 Merge "Make it easier to reveal gear on non-clearable notifications" into nyc-dev 2016-04-07 17:32:00 +00:00
Jeff Sharkey
33dd156ed0 Give users and devices control over sdcardfs.
Instead of relying only on kernel support for sdcardfs, give each
device the ability to quickly toggle between sdcardfs and FUSE.  Also
add the ability to users to explicitly enable/disable the behavior
for testing and debugging purposes.

Bug: 27991427
Change-Id: Ia57f12f6ead888ab85101004bdd8c8003537b116
2016-04-07 11:30:55 -06:00
Marco Nelissen
aaacd001fb Merge "Expand mediaextractor dumpsys" into nyc-dev 2016-04-07 17:26:19 +00:00
Randy Pan
429b9fcb7b Merge "Enable/disable WifiConnectivityManager at runtime" into nyc-dev 2016-04-07 17:22:49 +00:00
Rubin Xu
e420c550ee Relaunch previous activity after turning work profile on
When work profile is turned off, attempts to start work app activity is
intercepted and redirected to an information dialog, which gives the
option to turn work profile back on. When the user does turn it back on,
the original activity should be relaunched.

Bug: 27740167
Change-Id: I4c9d5bc949499bdb5d9f2394e13e670a48d43629
2016-04-07 18:18:07 +01:00
Andrei Stingaceanu
12e9803d4f Keyboard shortcuts: icons for application group
Query the package manager and if the user has default
applications for categories (email, browser, etc.) then
show the default app icon else do not show an entry in
the group.

PS: tested with 10x apps and did not notice any visible
jank or delay.

Bug: 27453985
Change-Id: Ic8b73419518c81e3b19278341f83e91bb547c5f7
2016-04-07 18:13:08 +01:00
Chris Wren
5717bd6ddb add an onListenerDisconnected() callback to NLS
Also block all callbacks if the listener is not connected.

Also update the documentation to make lifecycle restictions
more clear.

Bug: 27582839
Change-Id: I029304e1fb87bd8d754cfb4641ba8cc095fc2b2e
2016-04-07 13:12:21 -04:00
Jack Yu
66a6be3a4c Excluded certain APNs (e.g. IMS) from mobile data usage.
Added not_metered capability to a mobile network if none
of its associated APN types are metered. Also used not_metered
capability to determine if a network should be accounted for
data usage or not instead of using network type, which is
always MOBILE after refactoring. Will add VT usage support
in next phase.

bug: 20888836
Change-Id: Id692cb856be9a47d0e918371112630128965b1bb
2016-04-07 10:07:31 -07:00
Adam Lesinski
41c1bb8f4a Merge "Remove tests that have been moved to CTS" into nyc-dev 2016-04-07 17:04:13 +00:00
Adam Lesinski
f22df48067 Merge "AAPT2: Enable windows build and make sure it builds" into nyc-dev 2016-04-07 17:03:55 +00:00
Adam Lesinski
c399df7a68 Merge "AAPT: Dump uses-feature version in dump badging" into nyc-dev 2016-04-07 17:03:23 +00:00
Diego Perez
8cdf61a02e Fix NPE when runnin testActivity
Change-Id: I7ac81cb286b8d5593ae7f5fedb99bfd0fda791c5
2016-04-07 18:00:17 +01:00
Todd Kennedy
9d8da4cdf1 Merge "Only parse an APK once" into nyc-dev 2016-04-07 16:51:11 +00:00
Alan Viverette
d703f1bea4 Dialog fixed width is 100% when screen width is under 320dp
Bug: 28050773
Change-Id: I16c0271bd1f95eed6d24b9aa4bd577c652db8271
2016-04-07 12:48:12 -04:00
Robin Lee
1b83651e7f Merge "Internal API for system apps to determine default network for other apps" into nyc-dev 2016-04-07 16:43:15 +00:00
Makoto Onuki
3443670828 Fix sqlite time measurement.
SystemClock.uptimeMillis() should be used to calculate duration.

Bug 28054535

Change-Id: Idadee1ee47cea22d58dba2163cb843402e39b196
2016-04-07 09:42:17 -07:00
Oren Blasberg
1b65b01f93 Merge "Fix icon spacing on both MenuPopup implementations." into nyc-dev 2016-04-07 16:37:47 +00:00
Phil Weaver
d408b995c3 Merge "Allow tests to change UiAutomation flags." into nyc-dev 2016-04-07 16:35:27 +00:00
Svetoslav Ganov
76cda85895 Merge "Fix a NPE" into nyc-dev 2016-04-07 16:32:01 +00:00
Yorke Lee
6e6c64702e Merge "Pass button index into inflateButton" into nyc-dev 2016-04-07 16:31:40 +00:00
Svet Ganov
819c2f8fda Fix a NPE
bug:27999133

Change-Id: Icacb8f440bca2f720c15ee5548495fad50502fa0
2016-04-07 09:28:01 -07:00
Diego Perez
8d35506e51 Merge "Fix rect shadow detection" into nyc-dev 2016-04-07 16:27:00 +00:00
Ricky Wai
bdc3961fef Merge "Fix work profile screen timeout policy" into nyc-dev 2016-04-07 16:20:43 +00:00
Ricky Wai
035e924470 Fix work profile screen timeout policy
Settings screen should apply both primary and managed maximum
timeout policy, even separate profile challenge is enabled.

Bug: 27493348
Change-Id: Ia1ec1cafc7665c54816833af64e0f446a77a55b2
2016-04-07 17:16:03 +01:00
Jason Monk
c2c19e34e6 Merge "Fix QS expanding" into nyc-dev 2016-04-07 15:51:05 +00:00
Jason Monk
324ed2378a Fix QS expanding
The QS host triggers the expand by clicking on a view that will
expand QS, but the header itself doesn't handle expands anymore,
it is handled by the expand indicator.

Bug: 28060735
Change-Id: I4daaeb754d294d5e6647dedf36ab2161c6a0fa56
2016-04-07 11:48:49 -04:00
Jeff Sharkey
6e0b305fc0 Merge "Delay unlock attempts for managed profiles." into nyc-dev 2016-04-07 15:42:50 +00:00
Ricky Wai
f86f986728 Delete all work fingerprints when unified lock changes to None/Swipe
Bug: 27551139
Change-Id: Ida398a922d9c42e65001b0a10e13552505824d2d
2016-04-07 15:40:54 +00:00
Ricky Wai
53940d4c7f Fingerprint should confirm device lock when unified
When unified and adding a fingerprint, the user is prompted to set up
a backup

Bug:27419438
Change-Id: I3e857fa07c50ee0904f685b721595ef6cfe729f9
2016-04-07 15:11:34 +00:00