OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Give users and devices control over sdcardfs." into nyc-dev
Jeff Sharkey [Thu, 7 Apr 2016 17:56:33 +0000 (17:56 +0000)]
Merge "Give users and devices control over sdcardfs." into nyc-dev
am: 7d66e83

* commit '7d66e8313958e8225ea6c3df2ca6696dbc6d3d79':
  Give users and devices control over sdcardfs.

Change-Id: Ie2861a3268768fd6ed55e20bc8a746bb3bc61fff

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

* commit 'e7e7cb2d057348644002e986eeb68c211c8fa071':
  add an onListenerDisconnected() callback to NLS

Change-Id: I1448b1e8c368c083313afb6c31582e32a502a684

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 "Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4" into nyc-dev
Yi Kong [Thu, 7 Apr 2016 17:46:22 +0000 (17:46 +0000)]
Merge "Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4" into nyc-dev
am: 2ada7bc

* commit '2ada7bc851ad17790a15f029802a8e4eb2af0e9a':
  Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4

Change-Id: I8c391099d14101174672e5dee04fcba8bcf71313

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 "Make it easier to reveal gear on non-clearable notifications" into nyc-dev
Mady Mellor [Thu, 7 Apr 2016 17:42:54 +0000 (17:42 +0000)]
Merge "Make it easier to reveal gear on non-clearable notifications" into nyc-dev
am: 9713651

* commit '9713651b261c33eb8c9af422eacb140160d3c481':
  Make it easier to reveal gear on non-clearable notifications

Change-Id: I5da46acd0342d6f0bf17a936bfa3ca511b746816

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 agoMerge "Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68" am: 937abc9
Yi Kong [Thu, 7 Apr 2016 17:36:18 +0000 (17:36 +0000)]
Merge "Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68" am: 937abc9
am: 4bfddce

* commit '4bfddce384836c1ab03bd851ee819bef23a83c49':
  Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68

Change-Id: I81e87a7894844ac728d32c71a122e57afcf32711

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

* commit 'aaacd001fba22ef5ed9ca882749919034f1720c4':
  Expand mediaextractor dumpsys

Change-Id: Ie70b95d73a0994285c55dca1729cd782331b35bd

8 years agoMerge "Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68"
Yi Kong [Thu, 7 Apr 2016 17:32:40 +0000 (17:32 +0000)]
Merge "Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68"
am: 937abc9

* commit '937abc9dba5b4a1f74739d1b9b0701450364c92b':
  Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68

Change-Id: Ic029ef32de41812b3decf2e1b8a9d0d42604214e

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:26:06 +0000 (17:26 +0000)]
Merge "Enable/disable WifiConnectivityManager at runtime" into nyc-dev
am: 429b9fc

* commit '429b9fcb7b8d9f22ac70643d3423c01da1a76458':
  Enable/disable WifiConnectivityManager at runtime

Change-Id: I093d1c3c3fba444a1869e910ff04e453ebb56a6b

8 years agoMerge "Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68"
Yi Kong [Thu, 7 Apr 2016 17:23:58 +0000 (17:23 +0000)]
Merge "Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68"

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:08:33 +0000 (17:08 +0000)]
Merge "Remove tests that have been moved to CTS" into nyc-dev
am: 41c1bb8

* commit '41c1bb8f4a5a1f2f0a23d6cece525eaea50f57b3':
  Remove tests that have been moved to CTS

Change-Id: I39012b182d637d37fccafbc13677089885dcbcdb

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

* commit 'f22df48067ec8f0a2c609c40ba842a0e5a0812b0':
  AAPT2: Enable windows build and make sure it builds

Change-Id: I4a576df3e8d90546bb9d510821bcf1fbc349bdca

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

* commit 'c399df7a683d831f55b5afdb6945ef86bfe0e181':
  AAPT: Dump uses-feature version in dump badging

Change-Id: I9fc30542458cd4a94ac6b00fb8dc943271961516

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 agoMerge "Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4" am: 79c76f9
Yi Kong [Thu, 7 Apr 2016 17:01:58 +0000 (17:01 +0000)]
Merge "Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4" am: 79c76f9
am: 75eb18f

* commit '75eb18f7c4adbf54b0f07002a4a8f126ae92f7ea':
  Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4

Change-Id: I426f15eba093bb8f7c750b2d8f05473b5eb1dd7e

8 years agoMerge "Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4"
Yi Kong [Thu, 7 Apr 2016 16:58:28 +0000 (16:58 +0000)]
Merge "Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4"
am: 79c76f9

* commit '79c76f9e53935ae8828eeed3f60216f7b6386662':
  Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4

Change-Id: Id86531e27b622353660b89b98ebe88ff72a073a2

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

* commit '9d8da4cdf182643cd015bbf7a8ae1da9e53eb8b4':
  Only parse an APK once

Change-Id: I8e8b09edd75912d4bac7556c3788d350599e9bd8

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 "Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4"
Yi Kong [Thu, 7 Apr 2016 16:50:51 +0000 (16:50 +0000)]
Merge "Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4"

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

* commit '1b83651e7fca620589a6317d3a8559e43a19485c':
  Internal API for system apps to determine default network for other apps

Change-Id: Ia928e2621e61946cdfa70ea186e9a00036dec4de

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

* commit '1b65b01f9317f8438e53e2b76d4790d8ed11c346':
  Fix icon spacing on both MenuPopup implementations.

Change-Id: Ie5ead0b76552b7b93cd69fdc475ad74554711fed

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

* commit 'd408b995c32710f8306af83c13cccdfa70cca242':
  Allow tests to change UiAutomation flags.

Change-Id: I2b59047a63905fd8c41e08d6aa140be10c463de9

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 agoMerge "Fix a NPE" into nyc-dev
Svet Ganov [Thu, 7 Apr 2016 16:41:23 +0000 (16:41 +0000)]
Merge "Fix a NPE" into nyc-dev
am: 76cda85

* commit '76cda85895b7b18b7e13d1cc02c665a15b9cc2b4':
  Fix a NPE

Change-Id: Id1009015e1035f16b04d6245df900494e3c8751b

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 "Pass button index into inflateButton" into nyc-dev
Yorke Lee [Thu, 7 Apr 2016 16:34:43 +0000 (16:34 +0000)]
Merge "Pass button index into inflateButton" into nyc-dev
am: 6e6c647

* commit '6e6c64702e8a084d32bbb9804c26f74e47d63fb6':
  Pass button index into inflateButton

Change-Id: I4b31995b816b339ef0f9f84159c3c430e62f417d

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

* commit '8d35506e512cbbce09cedfe8e1d76653440ca3a5':
  Fix rect shadow detection

Change-Id: I499e845d9f28f094f15284f3450c2852a2046713

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 work profile screen timeout policy" into nyc-dev
Ricky Wai [Thu, 7 Apr 2016 16:28:00 +0000 (16:28 +0000)]
Merge "Fix work profile screen timeout policy" into nyc-dev
am: bdc3961

* commit 'bdc3961fef7b57f98bd6091b79fb511081237d8e':
  Fix work profile screen timeout policy

Change-Id: I4ebf3e47cfadcfe3f689e28f2a487c384278fb83

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 agoTrack libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68
Yi Kong [Thu, 7 Apr 2016 16:20:31 +0000 (17:20 +0100)]
Track libcore change c5c1e2717349a96913dc88722a20c7c1ec2cae68

Bug: 28058863
Change-Id: Id4bfeaf0f85d63b658dee3b74f91d7468c8eab95

8 years agoTrack libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4
Yi Kong [Wed, 6 Apr 2016 12:15:34 +0000 (13:15 +0100)]
Track libcore change e9d9ae3d5e57a60e20c2c01e3dceb3e51de8b9f4

Change-Id: I272d9d8a15034dce4e0858b76e1ca22e315e4acd

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:56:43 +0000 (15:56 +0000)]
Merge "Fix QS expanding" into nyc-dev
am: c2c19e3

* commit 'c2c19e34e6d2b1c68c36a2f8275a302b38ea9c83':
  Fix QS expanding

Change-Id: I0984dbddd289247c897643c12ddb7fb751a7564e

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 agoMerge "Delay unlock attempts for managed profiles." into nyc-dev
Jeff Sharkey [Thu, 7 Apr 2016 15:50:08 +0000 (15:50 +0000)]
Merge "Delay unlock attempts for managed profiles." into nyc-dev
am: 6e0b305

* commit '6e0b305fc03f7bdc8400ebd283b55a057518f040':
  Delay unlock attempts for managed profiles.

Change-Id: I942bb9d7abe9abe3f7993636c333b8d1ff4d9a89

8 years agoDelete all work fingerprints when unified lock changes to None/Swipe
Ricky Wai [Thu, 7 Apr 2016 15:50:06 +0000 (15:50 +0000)]
Delete all work fingerprints when unified lock changes to None/Swipe
am: f86f986

* commit 'f86f986728b5844a48e2e7bbd4927d2f5500c682':
  Delete all work fingerprints when unified lock changes to None/Swipe

Change-Id: I683d05a106119af74fe920b37be4e26e158e5cbc

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 [Thu, 7 Apr 2016 15:36:48 +0000 (15:36 +0000)]
Fingerprint should confirm device lock when unified
am: 53940d4

* commit '53940d4c7f45a26d8b571982a1f8f4b8094aa5e0':
  Fingerprint should confirm device lock when unified

Change-Id: Ic4849d86219fc528862fb50e0670a243ddd60868

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 am: 492ed58
Rubin Xu [Thu, 7 Apr 2016 15:04:07 +0000 (15:04 +0000)]
Fix wrong condition am: 492ed58
am: f5c0a55

* commit 'f5c0a55d1eca29be3f63fbf07f7bd35ff5a68a62':
  Fix wrong condition

Change-Id: I677d5bed9d21dfc502897f580268f718505d1931

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:35:55 +0000 (14:35 +0000)]
Merge "Work on QS landscape fitting" into nyc-dev
am: 917c06a

* commit '917c06a0fb51bf13170759bf98f1e1c1c9f67fd5':
  Work on QS landscape fitting

Change-Id: Ib3cc80d55611d50f3b05922a8a0e45dbebf93dbe

8 years agoKeymaster init for work profile
Ricky Wai [Thu, 7 Apr 2016 14:28:55 +0000 (14:28 +0000)]
Keymaster init for work profile
am: dc283a8

* commit 'dc283a897680ffd33c4d15535ebe778ba5b42c43':
  Keymaster init for work profile

Change-Id: I131c93404eca82fa174527c6f2fb4a8aa72f7b35

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

* commit 'eb33f49232a0a7a1c20aba4bdecad4ab5da7cfc9':
  Refresh cached user array upon lockscreen settings changed

Change-Id: I1ab047796aa11a7e48d4591d5baa67bf2d9ea63b

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:06:16 +0000 (14:06 +0000)]
Merge "Add dumpsys capabilities for context hub service" into nyc-dev
am: 7d4a7fa

* commit '7d4a7fa333c4d73ed36d3729b43a5f3ae82cdc93':
  Add dumpsys capabilities for context hub service

Change-Id: Iabe5f35caa73bdb8beccc6d5e3596a0478a62266

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
Alex Hills [Thu, 7 Apr 2016 13:59:56 +0000 (13:59 +0000)]
Merge "Adds a content-intent-launching-activity flag to WearableExtender" into nyc-dev
am: a5ec16e

* commit 'a5ec16e367637ba0638f906615cbfef6f4d85d13':
  Adds a content-intent-launching-activity flag to WearableExtender

Change-Id: I7af69f8e647d055a2ee9e0ac66aec7d9ee140f0b

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:47:17 +0000 (13:47 +0000)]
Merge "Split WebViewUpdateService logic into fallback logic and update-logic." into nyc-dev
am: e1ccdd1

* commit 'e1ccdd13dcc24f8097bbd1a19844b41319daf5eb':
  Split WebViewUpdateService logic into fallback logic and update-logic.

Change-Id: I2c5bf65b4d0188acd3517b972be05ca2dc0bed2b

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

* commit 'fccb14ed8ae9521dc1a8b6dd2687fa6fe7b43d64':
  Only cancel syncs for non-existent accounts

Change-Id: I3f498492edbd07f3cc8f694b1243ea6f872d33e8

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 13:06:03 +0000 (13:06 +0000)]
Merge "Make Keyboard Shortcuts special names Context dependent" into nyc-dev
am: 22e2769

* commit '22e2769c9df9693b448f4b8608046c7dadd94658':
  Make Keyboard Shortcuts special names Context dependent

Change-Id: I83d25430bd8630fd530e366773f45964eac1d917

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 agoMerge "Disable fallback webview package before downgrading it." into nyc-dev
Gustav Sennton [Thu, 7 Apr 2016 12:37:32 +0000 (12:37 +0000)]
Merge "Disable fallback webview package before downgrading it." into nyc-dev
am: 0a786cf

* commit '0a786cff45cb4eeca1317784cee3619949044c3e':
  Disable fallback webview package before downgrading it.

Change-Id: Iba88c272ed693103d756e9a5d94c6a37d03f084b

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 11:07:15 +0000 (11:07 +0000)]
Merge "Do not update idle apps on OTA" into nyc-dev
am: 70f08d9

* commit '70f08d9eb176b47568b92c9486c2ac702911a864':
  Do not update idle apps on OTA

Change-Id: I7d77bd2c83a9c69534e2f925e848965f2a4544a9

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

8 years agoKeyboard shortcuts: icons for shortcut items
Andrei Stingaceanu [Thu, 7 Apr 2016 10:45:18 +0000 (10:45 +0000)]
Keyboard shortcuts: icons for shortcut items
am: d151910

* commit 'd15191076dca0500bb623dbf317d09eb2634c31e':
  Keyboard shortcuts: icons for shortcut items

Change-Id: I197295aab0651d795d2dcf742df56dc09430ff67

8 years agoKeyboard shortcuts: icons for shortcut items
Andrei Stingaceanu [Thu, 31 Mar 2016 14:53:33 +0000 (15:53 +0100)]
Keyboard shortcuts: icons for shortcut items

Introduces the ability to display a shortcut item as
an image (if it has a resource attached). Also added
vector drawables for: up, down, left, right, enter, meta
and backspace.
Note that accessibilty wise the drawables dynamically scale
to the height of the text items (which have the text size
set in sp).

Bug: 27455410
Change-Id: I49739313d83cf661bea9378108a1fa3d6c51bd2e

8 years agoMerge "Paint.hasGlyph should return false on unsupported flags." into nyc-dev
Seigo Nonaka [Thu, 7 Apr 2016 09:33:50 +0000 (09:33 +0000)]
Merge "Paint.hasGlyph should return false on unsupported flags." into nyc-dev
am: 8c83a85

* commit '8c83a85e26844a24c2f4975e248021a4d4a32f9d':
  Paint.hasGlyph should return false on unsupported flags.

Change-Id: If2161507922413e7399f68fe39b66fa85560e2b6

8 years agoMerge "Paint.hasGlyph should return false on unsupported flags." into nyc-dev
Seigo Nonaka [Thu, 7 Apr 2016 09:27:55 +0000 (09:27 +0000)]
Merge "Paint.hasGlyph should return false on unsupported flags." into nyc-dev

8 years agoMerge "Fix suggestion popup for RTL text on LTR layout." into nyc-dev
Seigo Nonaka [Thu, 7 Apr 2016 09:27:45 +0000 (09:27 +0000)]
Merge "Fix suggestion popup for RTL text on LTR layout." into nyc-dev
am: 64d1515

* commit '64d151507601a6472f85c96d105e2555b7ad221f':
  Fix suggestion popup for RTL text on LTR layout.

Change-Id: I5c2a98e6d7a55c463ec1aea00729d70294aa0e29

8 years agoDisable fallback webview package before downgrading it.
Gustav Sennton [Wed, 6 Apr 2016 16:53:04 +0000 (17:53 +0100)]
Disable fallback webview package before downgrading it.

Now that we support disabling packages before downgrading them we can
do this for the webview fallback mechanism to avoid disabling a fallback
asynchronously (downgrading a package is an asynchronous operation).

We also check that the package is an upgraded app before downgrading it,
to not try to downgrade it unnecessarily.

Bug: 27894939

Change-Id: I541c2fcfe8016e4bcc2d5afff6e393c81e2749a2

8 years agoMerge "Fix suggestion popup for RTL text on LTR layout." into nyc-dev
Seigo Nonaka [Thu, 7 Apr 2016 09:20:26 +0000 (09:20 +0000)]
Merge "Fix suggestion popup for RTL text on LTR layout." into nyc-dev

8 years agoMerge "Set correct bounds when docked stack is removed v2" into nyc-dev
Andrii Kulian [Thu, 7 Apr 2016 08:13:49 +0000 (08:13 +0000)]
Merge "Set correct bounds when docked stack is removed v2" into nyc-dev
am: 3ed501c

* commit '3ed501c12ad82c3791c4431cbf497572c754c943':
  Set correct bounds when docked stack is removed v2

Change-Id: I6e00fa605ef4e6a5986daf5fe658bea29b2e7799

8 years agoMerge "Set correct bounds when docked stack is removed v2" into nyc-dev
Andrii Kulian [Thu, 7 Apr 2016 08:08:26 +0000 (08:08 +0000)]
Merge "Set correct bounds when docked stack is removed v2" into nyc-dev

8 years agoFix suggestion popup for RTL text on LTR layout.
Seigo Nonaka [Thu, 7 Apr 2016 07:23:21 +0000 (16:23 +0900)]
Fix suggestion popup for RTL text on LTR layout.

By setting width to the ListView, the width of the containing text view
won't match with parent.

I locally verified this doesn't revive issue 27341560.

Bug: 28034210

Change-Id: I67886a752ef110d3433dddd6aa8447a9027f8e19

8 years agoMerge "Automatically trace messages on shared loopers." into nyc-dev
Jeff Sharkey [Thu, 7 Apr 2016 07:26:28 +0000 (07:26 +0000)]
Merge "Automatically trace messages on shared loopers." into nyc-dev
am: 94cac07

* commit '94cac0730a23525559ded53bfaaee5a529b80aab':
  Automatically trace messages on shared loopers.

Change-Id: Ifbc34c8d15b23ca55782ecee0973e36f33441c72

8 years agoDelay unlock attempts for managed profiles.
Jeff Sharkey [Thu, 7 Apr 2016 07:20:58 +0000 (01:20 -0600)]
Delay unlock attempts for managed profiles.

Managed profiles may not have a credential challenge, so we need to
make sure we don't unlock them until their parent user has been
unlocked.  Otherwise the managed profile will get into all sorts of
trouble trying to reach into its still-locked parent.

Bug: 2805110927457806
Change-Id: If2ca59834024e5ad039f659d611ef708ed751fad

8 years agoMerge "Automatically trace messages on shared loopers." into nyc-dev
Jeff Sharkey [Thu, 7 Apr 2016 07:19:02 +0000 (07:19 +0000)]
Merge "Automatically trace messages on shared loopers." into nyc-dev

8 years agoAutomatically trace messages on shared loopers.
Jeff Sharkey [Wed, 6 Apr 2016 23:40:54 +0000 (17:40 -0600)]
Automatically trace messages on shared loopers.

There are a handful of looper threads in the system_process that
are shared by dozens of different internal services.  To help track
down what these operations are, tag the processing of each message
with a string that tries describing where it originated from: the
class name of the Handler, and the message number or class name of the
Runnable.

Bug: 28046299
Change-Id: I409ec43fea8daaae4fd70df05d4fed929a7249ae

8 years agoMerge "Invalidate HandleView when handle position may have to be changed." into nyc-dev
Keisuke Kuroyanagi [Thu, 7 Apr 2016 05:28:31 +0000 (05:28 +0000)]
Merge "Invalidate HandleView when handle position may have to be changed." into nyc-dev
am: 03f1e02

* commit '03f1e026996a7665aefcda947ed97faae009735e':
  Invalidate HandleView when handle position may have to be changed.

Change-Id: Ida7d9b65486177b28071c6ab7ca09d8085c4ed59

8 years agoMerge "Invalidate HandleView when handle position may have to be changed." into nyc-dev
Keisuke Kuroyanagi [Thu, 7 Apr 2016 05:22:35 +0000 (05:22 +0000)]
Merge "Invalidate HandleView when handle position may have to be changed." into nyc-dev

8 years agoMerge "Remove unused state in DocumentsUI." into nyc-dev
Tomasz Mikolajewski [Thu, 7 Apr 2016 04:48:54 +0000 (04:48 +0000)]
Merge "Remove unused state in DocumentsUI." into nyc-dev
am: 64f2ffa

* commit '64f2ffaa7ef237a6d8181c03bb0a3bdbbc879792':
  Remove unused state in DocumentsUI.

Change-Id: Iadd35d32b512418882af1504642ca63b663459b3