OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Close MTP database when MtpServer's thread is terminated." into nyc-dev
Daichi Hirono [Fri, 8 Apr 2016 00:13:01 +0000 (00:13 +0000)]
Merge "Close MTP database when MtpServer's thread is terminated." into nyc-dev

8 years agoMerge "Cancel recents animations after the transition starts." into nyc-dev
Winson Chung [Thu, 7 Apr 2016 23:52:03 +0000 (23:52 +0000)]
Merge "Cancel recents animations after the transition starts." into nyc-dev

8 years agoMerge "am: do not account totalSwapPss as used RAM" into nyc-dev
Thierry Strudel [Thu, 7 Apr 2016 23:42:07 +0000 (23:42 +0000)]
Merge "am: do not account totalSwapPss as used RAM" into nyc-dev

8 years agoMerge "Dismiss docked stack when opening non-resizable activity" into nyc-dev
Jorim Jaggi [Thu, 7 Apr 2016 23:40:43 +0000 (23:40 +0000)]
Merge "Dismiss docked stack when opening non-resizable activity" into nyc-dev

8 years agoMerge "Make ext libs a part of AOSP and mandatory" into nyc-dev
Svetoslav Ganov [Thu, 7 Apr 2016 23:36:37 +0000 (23:36 +0000)]
Merge "Make ext libs a part of AOSP and mandatory" into nyc-dev

8 years agoam: do not account totalSwapPss as used RAM
Thierry Strudel [Thu, 7 Apr 2016 21:48:18 +0000 (14:48 -0700)]
am: do not account totalSwapPss as used RAM

Process PSS swapped is accounted as part of total process Pss to
get similar Pss values whether the device is using ZRAM of not.
But SwapPss is compressed in RAM so should not be accounted as
direct RAM contributor but though getZramTotalSizeKb already
taking into account.

Change-Id: I944850fb2a2b3a7342c850f8b9d69f304b53db46

8 years agoMerge "Support replace op in new pipeline" into nyc-dev
Chris Craik [Thu, 7 Apr 2016 23:21:01 +0000 (23:21 +0000)]
Merge "Support replace op in new pipeline" into nyc-dev

8 years agoMerge "Improve service start/creation tracing." into nyc-dev
Tim Murray [Thu, 7 Apr 2016 23:19:37 +0000 (23:19 +0000)]
Merge "Improve service start/creation tracing." into nyc-dev

8 years agoMerge "Fix regression breaking SurfaceView in docked." into nyc-dev
Rob Carr [Thu, 7 Apr 2016 23:17:11 +0000 (23:17 +0000)]
Merge "Fix regression breaking SurfaceView in docked." into nyc-dev

8 years agoMerge "Fixed PIN entry detecting gravity improperly" into nyc-dev
Evan Rosky [Thu, 7 Apr 2016 23:12:05 +0000 (23:12 +0000)]
Merge "Fixed PIN entry detecting gravity improperly" into nyc-dev

8 years agoMerge "Fix some edge cases" into nyc-dev
John Reck [Thu, 7 Apr 2016 23:08:09 +0000 (23:08 +0000)]
Merge "Fix some edge cases" into nyc-dev

8 years agoDismiss docked stack when opening non-resizable activity
Jorim Jaggi [Thu, 7 Apr 2016 05:16:23 +0000 (22:16 -0700)]
Dismiss docked stack when opening non-resizable activity

- Also move the toast to SysemUI as a cleanup.

Bug: 27341740
Bug: 28026841
Change-Id: Ic6196ed75511751c6fadb12fa24574c881100f65

8 years agoMerge "TIF: Fix a typo in the documentation" into nyc-dev
Dongwon Kang [Thu, 7 Apr 2016 22:56:46 +0000 (22:56 +0000)]
Merge "TIF: Fix a typo in the documentation" into nyc-dev

8 years agoMerge "Improve Animation Calculations to remove Jank" into nyc-dev
Sid Soundararajan [Thu, 7 Apr 2016 22:55:51 +0000 (22:55 +0000)]
Merge "Improve Animation Calculations to remove Jank" into nyc-dev

8 years agoMerge "Fix top level menu lingering when submenu opens." into nyc-dev
Oren Blasberg [Thu, 7 Apr 2016 22:43:16 +0000 (22:43 +0000)]
Merge "Fix top level menu lingering when submenu opens." into nyc-dev

8 years agoImprove service start/creation tracing.
Tim Murray [Thu, 7 Apr 2016 22:25:22 +0000 (15:25 -0700)]
Improve service start/creation tracing.

bug 27998068

Change-Id: If18ab5d293f0bb0dfbfbed2f2af383c349464963

8 years agoMake ext libs a part of AOSP and mandatory
Svetoslav Ganov [Thu, 7 Apr 2016 22:26:02 +0000 (15:26 -0700)]
Make ext libs a part of AOSP and mandatory

bug:27698377

Change-Id: Ic98d18f90f9b735e49ff6a7801835b6432ec86de

8 years agoMerge "Hide unnecessary extra name constants in ClipDescription" into nyc-dev
Vladislav Kaznacheev [Thu, 7 Apr 2016 22:21:44 +0000 (22:21 +0000)]
Merge "Hide unnecessary extra name constants in ClipDescription" into nyc-dev

8 years agoMerge "HFP Client Permission" into nyc-dev
Joseph Pirozzo [Thu, 7 Apr 2016 22:09:24 +0000 (22:09 +0000)]
Merge "HFP Client Permission" into nyc-dev

8 years agoCancel recents animations after the transition starts.
Winson [Thu, 7 Apr 2016 21:23:02 +0000 (14:23 -0700)]
Cancel recents animations after the transition starts.

Bug: 27864076
Change-Id: Ibe677704245534018db9051060ad5fa99332576b

8 years agoSupport replace op in new pipeline
Chris Craik [Thu, 7 Apr 2016 20:51:07 +0000 (13:51 -0700)]
Support replace op in new pipeline

bug:26562461

Change-Id: Ie48d2da30f5e9d9abe88a5cd973dfb26e38abf63

8 years agoMerge "Only updating the header if valid bounds are generated." into nyc-dev
Winson Chung [Thu, 7 Apr 2016 21:44:33 +0000 (21:44 +0000)]
Merge "Only updating the header if valid bounds are generated." into nyc-dev

8 years agoMerge "AccountManager: fix updateCredentials API." into nyc-dev
Sandra Kwan [Thu, 7 Apr 2016 21:40:20 +0000 (21:40 +0000)]
Merge "AccountManager: fix updateCredentials API." into nyc-dev

8 years agoFixed PIN entry detecting gravity improperly
Evan Rosky [Thu, 7 Apr 2016 21:17:13 +0000 (14:17 -0700)]
Fixed PIN entry detecting gravity improperly

Bug: 28061319
Change-Id: I289584765203892b7dbac4220b515445b821d621

8 years agoOnly updating the header if valid bounds are generated.
Winson [Thu, 7 Apr 2016 21:22:12 +0000 (14:22 -0700)]
Only updating the header if valid bounds are generated.

Bug: 28059153
Change-Id: Icbc35b4600421f75ae1193e7ccf18dce0b17c3e1

8 years agoFix some edge cases
John Reck [Wed, 6 Apr 2016 14:50:47 +0000 (07:50 -0700)]
Fix some edge cases

Bug: 27709981

This desperately needs a refactor, but to keep
the current (really needed & nice) behavior of
dispatching after sync finishes would be difficult
to handle cleanly without lots of ripping so... #yolo

Change-Id: I831a06c6ae7412a062720d68ecbe3085190f0258

8 years agoImprove Animation Calculations to remove Jank
Sid Soundararajan [Wed, 6 Apr 2016 01:00:38 +0000 (18:00 -0700)]
Improve Animation Calculations to remove Jank

Add animations to back button press path.

Add scroll for launches of unfocused apps.

Part 1 of 2 to fix:

b/27876144

Change-Id: I1ac345dffb06d7926558a4087b07061ee4be731b

8 years agoFix regression breaking SurfaceView in docked.
Robert Carr [Thu, 7 Apr 2016 20:52:43 +0000 (13:52 -0700)]
Fix regression breaking SurfaceView in docked.

We don't need to subtract the insets again when
we are laying out in the attached window frame,
as pf will already have them subtracted.

Bug: 27687126
Change-Id: If9c093c5a811ceb7b62bd27a1dd17742b04d898e

8 years agoHFP Client Permission
Joseph Pirozzo [Thu, 7 Apr 2016 20:43:49 +0000 (13:43 -0700)]
HFP Client Permission

Add the permission checkbox to the bluetooth profiles in settings if an
HFP client profile exists on the local device and HFP server profile
exists on the remote device rather than relying on the remote device
attempting to connect before presenting it.

Bug: 28071400
Change-Id: I32707a709489c7383a6e1709eac844a3d17f4428

8 years agoMerge "Rename View.DragShadowBuilder#onProvideShadowMetrics parameters" into nyc-dev
Vladislav Kaznacheev [Thu, 7 Apr 2016 20:41:53 +0000 (20:41 +0000)]
Merge "Rename View.DragShadowBuilder#onProvideShadowMetrics parameters" into nyc-dev

8 years agoTIF: Fix a typo in the documentation
Dongwon Kang [Thu, 7 Apr 2016 20:38:41 +0000 (13:38 -0700)]
TIF: Fix a typo in the documentation

Change-Id: I0e4963ca6ce3f42682a7d591f913ea801987b31b

8 years agoMerge "Treat accessibility gestures like physical ones." into nyc-dev
Phil Weaver [Thu, 7 Apr 2016 20:34:33 +0000 (20:34 +0000)]
Merge "Treat accessibility gestures like physical ones." into nyc-dev

8 years agoMerge "Clarify version docs." into nyc-dev
Jeff Sharkey [Thu, 7 Apr 2016 20:08:17 +0000 (20:08 +0000)]
Merge "Clarify version docs." into nyc-dev

8 years agoMerge "sysui: refactoring qs for extensibility" into nyc-dev
Xiaohui Chen [Thu, 7 Apr 2016 20:07:29 +0000 (20:07 +0000)]
Merge "sysui: refactoring qs for extensibility" into nyc-dev

8 years agoClarify version docs.
Jeff Sharkey [Thu, 7 Apr 2016 20:07:10 +0000 (14:07 -0600)]
Clarify version docs.

Change-Id: I64cc9e5e51f12d33e770e73734efd89df20c8504

8 years agoMerge "Adds support for MessagingStyle" into nyc-dev
Alexander Hills [Thu, 7 Apr 2016 19:59:19 +0000 (19:59 +0000)]
Merge "Adds support for MessagingStyle" into nyc-dev

8 years agoMerge "Fixed a bug with talkback where the panel could be expanded" into nyc-dev
Selim Cinek [Thu, 7 Apr 2016 19:54:16 +0000 (19:54 +0000)]
Merge "Fixed a bug with talkback where the panel could be expanded" into nyc-dev

8 years agoMerge "Add Home Recents Transition Animations" into nyc-dev
Sid Soundararajan [Thu, 7 Apr 2016 19:41:46 +0000 (19:41 +0000)]
Merge "Add Home Recents Transition Animations" into nyc-dev

8 years agoMerge "Addressed API review comments and updated JavaDoc" into nyc-dev
Lifu Tang [Thu, 7 Apr 2016 19:36:01 +0000 (19:36 +0000)]
Merge "Addressed API review comments and updated JavaDoc" into nyc-dev

8 years agosysui: refactor for extensibility.
Muyuan Li [Wed, 30 Mar 2016 23:50:11 +0000 (16:50 -0700)]
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)

8 years agoMerge "Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68" into nyc-dev
Yi Kong [Thu, 7 Apr 2016 19:29:17 +0000 (19:29 +0000)]
Merge "Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68" into nyc-dev

8 years agoMerge "WifiScanner: Remove pnosetting stopPno API (1/2)" into nyc-dev
Roshan Pius [Thu, 7 Apr 2016 19:28:22 +0000 (19:28 +0000)]
Merge "WifiScanner: Remove pnosetting stopPno API (1/2)" into nyc-dev

8 years agoTrack libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68
Yi Kong [Thu, 7 Apr 2016 17:06:45 +0000 (18:06 +0100)]
Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68

Bug: 28058863
Change-Id: Id4bfeaf0f85d63b658dee3b74f91d7468c8eab95
(cherry picked from commit b443d5d171fdbe00bf9806645776c8da3f6b85ba)
(cherry picked from commit 0201c5566dd09a19a05b04ba5b803f60b4111b76)

8 years agoTreat accessibility gestures like physical ones.
Phil Weaver [Thu, 7 Apr 2016 18:06:02 +0000 (11:06 -0700)]
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

8 years agoAdds support for MessagingStyle
Alex Hills [Wed, 23 Mar 2016 21:33:02 +0000 (17:33 -0400)]
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

8 years agoMerge "Fix NPE when runnin testActivity" into nyc-dev
Diego Perez [Thu, 7 Apr 2016 19:02:33 +0000 (19:02 +0000)]
Merge "Fix NPE when runnin testActivity" into nyc-dev

8 years agoMerge "Unlock newly created managed profiles." into nyc-dev
Jeff Sharkey [Thu, 7 Apr 2016 18:46:36 +0000 (18:46 +0000)]
Merge "Unlock newly created managed profiles." into nyc-dev

8 years agosysui: refactoring qs for extensibility
Xiaohui Chen [Thu, 7 Apr 2016 17:37:25 +0000 (10:37 -0700)]
sysui: refactoring qs for extensibility

Bug: 27100060
Change-Id: I4913999e57ff1a1b473649009b8822e24c0393c8

8 years agoUnlock newly created managed profiles.
Jeff Sharkey [Thu, 7 Apr 2016 18:39:57 +0000 (12:39 -0600)]
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

8 years agoMerge "Fix sqlite time measurement." into nyc-dev
Makoto Onuki [Thu, 7 Apr 2016 18:38:41 +0000 (18:38 +0000)]
Merge "Fix sqlite time measurement." into nyc-dev

8 years agoAccountManager: fix updateCredentials API.
Sandra Kwan [Thu, 7 Apr 2016 17:58:27 +0000 (10:58 -0700)]
AccountManager: fix updateCredentials API.

Bug: 26157869
Change-Id: Icd2148db6923383263bcce5ad845bcb1411f5c4e

8 years agoMerge "Revert "Remove old FUSE bypass now that we have sdcardfs."" into nyc-dev
Jeff Sharkey [Thu, 7 Apr 2016 17:56:20 +0000 (17:56 +0000)]
Merge "Revert "Remove old FUSE bypass now that we have sdcardfs."" into nyc-dev

8 years agoRevert "Remove old FUSE bypass now that we have sdcardfs."
Jeff Sharkey [Thu, 7 Apr 2016 17:56:06 +0000 (17:56 +0000)]
Revert "Remove old FUSE bypass now that we have sdcardfs."

This reverts commit feef8b62ee60c8418bd7238522c06098e61eecff.

Change-Id: I90a3b8edf95cb5b631a85168671cf8b5a406d9ea

8 years agoMerge "Lock down access to getProfiles for 3P apps" into nyc-dev
Fyodor Kupolov [Thu, 7 Apr 2016 17:52:52 +0000 (17:52 +0000)]
Merge "Lock down access to getProfiles for 3P apps" into nyc-dev

8 years agoMerge "Give users and devices control over sdcardfs." into nyc-dev
Jeff Sharkey [Thu, 7 Apr 2016 17:52:39 +0000 (17:52 +0000)]
Merge "Give users and devices control over sdcardfs." into nyc-dev

8 years agoMerge "add an onListenerDisconnected() callback to NLS" into nyc-dev
Chris Wren [Thu, 7 Apr 2016 17:44:09 +0000 (17:44 +0000)]
Merge "add an onListenerDisconnected() callback to NLS" into nyc-dev

8 years agoMerge "Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4" into nyc-dev
Yi Kong [Thu, 7 Apr 2016 17:41:54 +0000 (17:41 +0000)]
Merge "Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4" into nyc-dev

8 years agoTrack libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4
Yi Kong [Thu, 7 Apr 2016 16:48:19 +0000 (17:48 +0100)]
Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4

Change-Id: I272d9d8a15034dce4e0858b76e1ca22e315e4acd
(cherry picked from commit 3f0f27f6cc35d75691b722c4841e435ac9b2d439)
(cherry picked from commit abd00ff0e742d5e4849af9fad51f9e1b6bd3463a)

8 years agoWifiScanner: Remove pnosetting stopPno API (1/2)
Roshan Pius [Thu, 7 Apr 2016 17:31:23 +0000 (10:31 -0700)]
WifiScanner: Remove pnosetting stopPno API (1/2)

BUG: 27532350
Change-Id: I6df3df56e66c7bbb8443c038cd8345989cf2d57e

8 years agoMerge "Make it easier to reveal gear on non-clearable notifications" into nyc-dev
Mady Mellor [Thu, 7 Apr 2016 17:31:58 +0000 (17:31 +0000)]
Merge "Make it easier to reveal gear on non-clearable notifications" into nyc-dev

8 years agoGive users and devices control over sdcardfs.
Jeff Sharkey [Thu, 7 Apr 2016 17:05:33 +0000 (11:05 -0600)]
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

8 years agoMerge "Expand mediaextractor dumpsys" into nyc-dev
Marco Nelissen [Thu, 7 Apr 2016 17:26:17 +0000 (17:26 +0000)]
Merge "Expand mediaextractor dumpsys" into nyc-dev

8 years agoMerge "Enable/disable WifiConnectivityManager at runtime" into nyc-dev
Randy Pan [Thu, 7 Apr 2016 17:22:47 +0000 (17:22 +0000)]
Merge "Enable/disable WifiConnectivityManager at runtime" into nyc-dev

8 years agoadd an onListenerDisconnected() callback to NLS
Chris Wren [Wed, 6 Apr 2016 22:15:46 +0000 (18:15 -0400)]
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

8 years agoMerge "Remove tests that have been moved to CTS" into nyc-dev
Adam Lesinski [Thu, 7 Apr 2016 17:04:12 +0000 (17:04 +0000)]
Merge "Remove tests that have been moved to CTS" into nyc-dev

8 years agoMerge "AAPT2: Enable windows build and make sure it builds" into nyc-dev
Adam Lesinski [Thu, 7 Apr 2016 17:03:54 +0000 (17:03 +0000)]
Merge "AAPT2: Enable windows build and make sure it builds" into nyc-dev

8 years agoMerge "AAPT: Dump uses-feature version in dump badging" into nyc-dev
Adam Lesinski [Thu, 7 Apr 2016 17:03:21 +0000 (17:03 +0000)]
Merge "AAPT: Dump uses-feature version in dump badging" into nyc-dev

8 years agoFix NPE when runnin testActivity
Diego Perez [Thu, 7 Apr 2016 17:00:17 +0000 (18:00 +0100)]
Fix NPE when runnin testActivity

Change-Id: I7ac81cb286b8d5593ae7f5fedb99bfd0fda791c5

8 years agoMerge "Only parse an APK once" into nyc-dev
Todd Kennedy [Thu, 7 Apr 2016 16:51:10 +0000 (16:51 +0000)]
Merge "Only parse an APK once" into nyc-dev

8 years agoMerge "Internal API for system apps to determine default network for other apps"...
Robin Lee [Thu, 7 Apr 2016 16:43:13 +0000 (16:43 +0000)]
Merge "Internal API for system apps to determine default network for other apps" into nyc-dev

8 years agoFix sqlite time measurement.
Makoto Onuki [Thu, 7 Apr 2016 16:07:04 +0000 (09:07 -0700)]
Fix sqlite time measurement.

SystemClock.uptimeMillis() should be used to calculate duration.

Bug 28054535

Change-Id: Idadee1ee47cea22d58dba2163cb843402e39b196

8 years agoMerge "Fix icon spacing on both MenuPopup implementations." into nyc-dev
Oren Blasberg [Thu, 7 Apr 2016 16:37:46 +0000 (16:37 +0000)]
Merge "Fix icon spacing on both MenuPopup implementations." into nyc-dev

8 years agoMerge "Allow tests to change UiAutomation flags." into nyc-dev
Phil Weaver [Thu, 7 Apr 2016 16:35:25 +0000 (16:35 +0000)]
Merge "Allow tests to change UiAutomation flags." into nyc-dev

8 years agoMerge "Fix a NPE" into nyc-dev
Svetoslav Ganov [Thu, 7 Apr 2016 16:32:00 +0000 (16:32 +0000)]
Merge "Fix a NPE" into nyc-dev

8 years agoMerge "Pass button index into inflateButton" into nyc-dev
Yorke Lee [Thu, 7 Apr 2016 16:31:39 +0000 (16:31 +0000)]
Merge "Pass button index into inflateButton" into nyc-dev

8 years agoFix a NPE
Svet Ganov [Thu, 7 Apr 2016 16:27:58 +0000 (09:27 -0700)]
Fix a NPE

bug:27999133

Change-Id: Icacb8f440bca2f720c15ee5548495fad50502fa0

8 years agoMerge "Fix rect shadow detection" into nyc-dev
Diego Perez [Thu, 7 Apr 2016 16:26:58 +0000 (16:26 +0000)]
Merge "Fix rect shadow detection" into nyc-dev

8 years agoMerge "Fix work profile screen timeout policy" into nyc-dev
Ricky Wai [Thu, 7 Apr 2016 16:20:42 +0000 (16:20 +0000)]
Merge "Fix work profile screen timeout policy" into nyc-dev

8 years agoFix work profile screen timeout policy
Ricky Wai [Fri, 18 Mar 2016 16:43:31 +0000 (16:43 +0000)]
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

8 years agoMerge "Fix QS expanding" into nyc-dev
Jason Monk [Thu, 7 Apr 2016 15:51:04 +0000 (15:51 +0000)]
Merge "Fix QS expanding" into nyc-dev

8 years agoFix QS expanding
Jason Monk [Thu, 7 Apr 2016 15:48:49 +0000 (11:48 -0400)]
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

8 years agoMerge "Delay unlock attempts for managed profiles." into nyc-dev
Jeff Sharkey [Thu, 7 Apr 2016 15:42:48 +0000 (15:42 +0000)]
Merge "Delay unlock attempts for managed profiles." into nyc-dev

8 years agoDelete all work fingerprints when unified lock changes to None/Swipe
Ricky Wai [Wed, 23 Mar 2016 12:05:42 +0000 (12:05 +0000)]
Delete all work fingerprints when unified lock changes to None/Swipe

Bug: 27551139
Change-Id: Ida398a922d9c42e65001b0a10e13552505824d2d

8 years agoFingerprint should confirm device lock when unified
Ricky Wai [Tue, 5 Apr 2016 14:29:24 +0000 (15:29 +0100)]
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

8 years agoFix wrong condition
Rubin Xu [Thu, 7 Apr 2016 15:00:59 +0000 (15:00 +0000)]
Fix wrong condition
am: 492ed58

* commit '492ed589df3609a15dd6a33709fc8d855ec1072d':
  Fix wrong condition

Change-Id: I23f23c4b77d19286915e501bea482e4d1fe7e714

8 years agoInternal API for system apps to determine default network for other apps
Robin Lee [Thu, 24 Mar 2016 12:07:00 +0000 (12:07 +0000)]
Internal API for system apps to determine default network for other apps

Callers with CONNECTIVITY_INTERNAL permission can read off the netId
that an application is assigned to by default.

Necessary for making connections as the default network for a client
app eg. when downloading stuff on its behalf.

Bug: 27074270
Change-Id: I8d35e8e99126875f55f3c545090326f3e9be43fb

8 years agoMerge "Work on QS landscape fitting" into nyc-dev
Jason Monk [Thu, 7 Apr 2016 14:27:41 +0000 (14:27 +0000)]
Merge "Work on QS landscape fitting" into nyc-dev

8 years agoKeymaster init for work profile
Ricky Wai [Thu, 24 Mar 2016 19:55:08 +0000 (19:55 +0000)]
Keymaster init for work profile

Changes:
(1) When unified work challenge is enabled and screen lock is secure
  - Store work profile secure key in primary profile
  - When primary user keystore unlocked, unlock work profile keystore
  - When primary user change lock to none, remove work secure key
(2) When unified work challenge is enabled but screen lock is not secure
  - When screen lock changes to secure, store work secure key in primary
(3) When user changes work challenge from unified to separated
  - Remove work secure key in primary
(4) When user changes work challenge from separate to unified
  - Do (1) and (2)

Bug: 27460698

Change-Id: I8f77bde5dc6b8e59c90256e75c5990100e93366b

8 years agoMerge "Refresh cached user array upon lockscreen settings changed" into nyc-dev
Daniel U [Thu, 7 Apr 2016 14:20:13 +0000 (14:20 +0000)]
Merge "Refresh cached user array upon lockscreen settings changed" into nyc-dev

8 years agoMerge "Add dumpsys capabilities for context hub service" into nyc-dev
Ashutosh Joshi [Thu, 7 Apr 2016 14:00:48 +0000 (14:00 +0000)]
Merge "Add dumpsys capabilities for context hub service" into nyc-dev

8 years agoMerge "Adds a content-intent-launching-activity flag to WearableExtender" into nyc-dev
Alexander Hills [Thu, 7 Apr 2016 13:52:56 +0000 (13:52 +0000)]
Merge "Adds a content-intent-launching-activity flag to WearableExtender" into nyc-dev

8 years agoMerge "Split WebViewUpdateService logic into fallback logic and update-logic." into...
Gustav Sennton [Thu, 7 Apr 2016 13:42:24 +0000 (13:42 +0000)]
Merge "Split WebViewUpdateService logic into fallback logic and update-logic." into nyc-dev

8 years agoMerge "Only cancel syncs for non-existent accounts" into nyc-dev
Rubin Xu [Thu, 7 Apr 2016 13:40:28 +0000 (13:40 +0000)]
Merge "Only cancel syncs for non-existent accounts" into nyc-dev

8 years agoMerge "Make Keyboard Shortcuts special names Context dependent" into nyc-dev
Clara Bayarri [Thu, 7 Apr 2016 12:58:48 +0000 (12:58 +0000)]
Merge "Make Keyboard Shortcuts special names Context dependent" into nyc-dev

8 years agoOnly cancel syncs for non-existent accounts
Rubin Xu [Fri, 1 Apr 2016 16:47:28 +0000 (17:47 +0100)]
Only cancel syncs for non-existent accounts

updateRunningAccountsH() should check syncs against all accounts
on the device, not only running accounts.

Also add code to restore wrongly-canceled periodic syncs, saving
users from a bad state where the only alternative is to remove and
readd affected accounts.

Bug: 27733283
Change-Id: I96bce87571c3b7c6cd1934cc967f11257f891f55

8 years agoSplit WebViewUpdateService logic into fallback logic and update-logic.
Gustav Sennton [Tue, 5 Apr 2016 13:09:09 +0000 (14:09 +0100)]
Split WebViewUpdateService logic into fallback logic and update-logic.

Add an inner class for the updating-logic to differentiate that logic
from the rest of the service (logic such as keeping track of
relro-creation and the current WebView implementation).
The fallback logic doesn't hold any state but instead just checks the
state of the system to determine whether to enable/disable the fallback
package and therefore that logic doesn't really need its own class.

Since the minimumVersionCode check stores state we here move that into
the inner class containing the updating-logic.

Bug: 27635535

Change-Id: I0afdb74c12139439ca66bfbd1c173ad98662ed31

8 years agoMake Keyboard Shortcuts special names Context dependent
Clara Bayarri [Wed, 6 Apr 2016 15:02:35 +0000 (16:02 +0100)]
Make Keyboard Shortcuts special names Context dependent

These were static, but since we load Strings from a given context
we should load them each time (e.g. Locale might have changed).

Bug: 28035606
Change-Id: I3dd654c29a2632bfd93ea791457fac5d9d0f6aa8

8 years agoMerge "Disable fallback webview package before downgrading it." into nyc-dev
Gustav Sennton [Thu, 7 Apr 2016 12:30:02 +0000 (12:30 +0000)]
Merge "Disable fallback webview package before downgrading it." into nyc-dev

8 years agoFix wrong condition
Rubin Xu [Thu, 7 Apr 2016 11:09:27 +0000 (12:09 +0100)]
Fix wrong condition

Bug: 28050399
Change-Id: If729ee2bcc5496b5ee381e490f72c751da04dc09

8 years agoMerge "Do not update idle apps on OTA" into nyc-dev
David Brazdil [Thu, 7 Apr 2016 10:59:47 +0000 (10:59 +0000)]
Merge "Do not update idle apps on OTA" into nyc-dev