OSDN Git Service

android-x86/frameworks-base.git
8 years agoExifInterface: Add RAF file parse support
Jin Park [Tue, 5 Jul 2016 00:43:37 +0000 (09:43 +0900)]
ExifInterface: Add RAF file parse support

A RAF format file has a unique way of storing its data. This CL adds
code that checks whether a file is a RAF file format and parses the
data according to specifications.

Bug: 29409358
Change-Id: If37d4ba8de47cdbacd524a07148ba6c14f873259

8 years agoMerge "ExifInterface: Extract primary image length/width values"
Jin Seok Park [Wed, 13 Jul 2016 07:08:53 +0000 (07:08 +0000)]
Merge "ExifInterface: Extract primary image length/width values"

8 years agoExifInterface: Extract primary image length/width values
Jin Park [Tue, 5 Jul 2016 08:00:52 +0000 (17:00 +0900)]
ExifInterface: Extract primary image length/width values

The primary image may not contain the tags for ImageLength and
ImageWidth values if it uses the JFIF specification. This CL searches
the data to retrieve those necessary values.

Bug: 29409358
Change-Id: I850768af38b7b723e93833a70a2238f3fe1cc29b

8 years agoAdd IPv6 tethering coordinator am: 1eb8c69bed
Erik Kline [Wed, 13 Jul 2016 05:02:13 +0000 (05:02 +0000)]
Add IPv6 tethering coordinator am: 1eb8c69bed
am: 5b429166fc

Change-Id: I9a5bd7d72ec6a4b63922fc5704d15cb5eafc1e8d

8 years agoAdd IPv6 tethering coordinator
Erik Kline [Wed, 13 Jul 2016 04:57:17 +0000 (04:57 +0000)]
Add IPv6 tethering coordinator
am: 1eb8c69bed

Change-Id: Icf8034276d4edc7167ad03ff8860ac8e3d05c464

8 years agoFix build
Jaewan Kim [Wed, 13 Jul 2016 04:08:49 +0000 (04:08 +0000)]
Fix build
am: a651320c8e

Change-Id: I9877c5e1d501b84d7fdf48d1582b165a27d0d3ee

8 years agoFix build
Jaewan Kim [Wed, 13 Jul 2016 03:46:00 +0000 (12:46 +0900)]
Fix build

It's caused by my previous CL
6bd0363 resolve merge conflicts of 78120b0 to nyc-mr1-dev-plus-aosp

Change-Id: I57124b229945ebda3ea7a2fb6103e928cd9fd945

8 years agoAdd IPv6 tethering coordinator
Erik Kline [Fri, 8 Jul 2016 08:21:26 +0000 (17:21 +0900)]
Add IPv6 tethering coordinator

Add an IPv6TetheringCoordinator to TetheringMaster StateMachine, which
receives and processes NetworkState updates and passes the necessary IPv6
information to the revelant TetherInterfaceStateMachine.

Add an IPv6TetheringInterfaceServices to TetherInterfaceStateMachine, which
is responsible for adding local network routes and managing an IPv6
RouterAdvertisementDaemon.

Bug: 9580643
Change-Id: I3eaae460b80752e2115359d7bde873a1e9ea515a

8 years agoMerge \\"Don\\'t make redundant launch while updating configuration\\" into nyc-mr1...
Andrii Kulian [Wed, 13 Jul 2016 02:37:02 +0000 (02:37 +0000)]
Merge \\"Don\\'t make redundant launch while updating configuration\\" into nyc-mr1-dev am: 4c7b339411
am: 082cab4bb4

Change-Id: I33a09d4a35d36707e155eb56ca53bab79f31af06

8 years agoMerge \"Don\'t make redundant launch while updating configuration\" into nyc-mr1-dev
Andrii Kulian [Wed, 13 Jul 2016 02:32:44 +0000 (02:32 +0000)]
Merge \"Don\'t make redundant launch while updating configuration\" into nyc-mr1-dev
am: 4c7b339411

Change-Id: I84bce1a3980bf78eb20f7473b4cee687481d8bf2

8 years agoMerge "Don't make redundant launch while updating configuration" into nyc-mr1-dev
Andrii Kulian [Wed, 13 Jul 2016 02:20:11 +0000 (02:20 +0000)]
Merge "Don't make redundant launch while updating configuration" into nyc-mr1-dev

8 years agoMerge \\"Fix a few log messages that didn\\'t have a space in the SoundTriggerTestApp...
Chris Thornton [Wed, 13 Jul 2016 02:15:44 +0000 (02:15 +0000)]
Merge \\"Fix a few log messages that didn\\'t have a space in the SoundTriggerTestApp\\" into nyc-mr1-dev am: ea7999dc3f
am: 1a4507cb8e

Change-Id: I4579b7ecd4781d56cc86878d8c145aa11e56ea81

8 years agoMerge \\"MediaDataSource: add DrmInitialization for IDataSource.\\" into nyc-mr1...
Wei Jia [Wed, 13 Jul 2016 02:15:42 +0000 (02:15 +0000)]
Merge \\"MediaDataSource: add DrmInitialization for IDataSource.\\" into nyc-mr1-dev am: e7982e05f6
am: 47efffff85

Change-Id: I49c99beced2fefd0dd9f1ce8e7365e60c0834a7e

8 years agoMerge \\"Allow LockPatternUtils usage on non-looper threads\\" into nyc-mr1-dev am...
Adrian Roos [Wed, 13 Jul 2016 02:15:39 +0000 (02:15 +0000)]
Merge \\"Allow LockPatternUtils usage on non-looper threads\\" into nyc-mr1-dev am: feaa2bfb39
am: 1642d8df0d

Change-Id: I0bfc272cef3cee1e76f1b3bc5f8f0908bd24f2e5

8 years agoMerge \\"When display is frozen prefer preserving orientation.\\" into nyc-mr1-dev...
Rob Carr [Wed, 13 Jul 2016 02:15:37 +0000 (02:15 +0000)]
Merge \\"When display is frozen prefer preserving orientation.\\" into nyc-mr1-dev am: b6a77f4786
am: 11cfba59eb

Change-Id: I18be206e0baf4530a7289c4c0522dabf2883f29b

8 years agoMerge \\"Trapping backspace at EditText level to prevent popping Docs.\\" into nyc...
Ben Lin [Wed, 13 Jul 2016 02:15:34 +0000 (02:15 +0000)]
Merge \\"Trapping backspace at EditText level to prevent popping Docs.\\" into nyc-mr1-dev am: 2df618f4cd
am: 64f4868803

Change-Id: I622f74b03dd3e201f3000b926571352a55ae10e9

8 years agoresolve merge conflicts of 78120b0 to nyc-mr1-dev-plus-aosp
Jaewan Kim [Wed, 13 Jul 2016 02:09:56 +0000 (02:09 +0000)]
resolve merge conflicts of 78120b0 to nyc-mr1-dev-plus-aosp
am: 6bd036374c

Change-Id: I9d8a1e834305dd508c5d81881b5cbe5464f43fea

8 years agoMerge \"Fix a few log messages that didn\'t have a space in the SoundTriggerTestApp...
Chris Thornton [Wed, 13 Jul 2016 02:09:12 +0000 (02:09 +0000)]
Merge \"Fix a few log messages that didn\'t have a space in the SoundTriggerTestApp\" into nyc-mr1-dev
am: ea7999dc3f

Change-Id: I27952804de098e92c50907d47198dd747f272e31

8 years agoMerge \"MediaDataSource: add DrmInitialization for IDataSource.\" into nyc-mr1-dev
Wei Jia [Wed, 13 Jul 2016 02:09:07 +0000 (02:09 +0000)]
Merge \"MediaDataSource: add DrmInitialization for IDataSource.\" into nyc-mr1-dev
am: e7982e05f6

Change-Id: I7376c0f985f1a625190481e134b24501e26ab7d2

8 years agoMerge \"Allow LockPatternUtils usage on non-looper threads\" into nyc-mr1-dev
Adrian Roos [Wed, 13 Jul 2016 02:09:03 +0000 (02:09 +0000)]
Merge \"Allow LockPatternUtils usage on non-looper threads\" into nyc-mr1-dev
am: feaa2bfb39

Change-Id: I22afcc4e7307e3c64a92fdcef82f2d1344fbb5df

8 years agoMerge \"When display is frozen prefer preserving orientation.\" into nyc-mr1-dev
Robert Carr [Wed, 13 Jul 2016 02:08:58 +0000 (02:08 +0000)]
Merge \"When display is frozen prefer preserving orientation.\" into nyc-mr1-dev
am: b6a77f4786

Change-Id: I08c34d4dd87ae9503337336a103cc048034bf4a2

8 years agoMerge \"Trapping backspace at EditText level to prevent popping Docs.\" into nyc...
Ben Lin [Wed, 13 Jul 2016 02:08:54 +0000 (02:08 +0000)]
Merge \"Trapping backspace at EditText level to prevent popping Docs.\" into nyc-mr1-dev
am: 2df618f4cd

Change-Id: I2f8a3c1d0c0c6a017e212288458429627f7c7544

8 years agoresolve merge conflicts of 78120b0 to nyc-mr1-dev-plus-aosp
Jaewan Kim [Wed, 13 Jul 2016 01:55:06 +0000 (10:55 +0900)]
resolve merge conflicts of 78120b0 to nyc-mr1-dev-plus-aosp

8 years agoMerge "Fix a few log messages that didn't have a space in the SoundTriggerTestApp...
TreeHugger Robot [Wed, 13 Jul 2016 01:54:06 +0000 (01:54 +0000)]
Merge "Fix a few log messages that didn't have a space in the SoundTriggerTestApp" into nyc-mr1-dev

8 years agoMerge "MediaDataSource: add DrmInitialization for IDataSource." into nyc-mr1-dev
Wei Jia [Wed, 13 Jul 2016 01:48:07 +0000 (01:48 +0000)]
Merge "MediaDataSource: add DrmInitialization for IDataSource." into nyc-mr1-dev

8 years agoMerge "Allow LockPatternUtils usage on non-looper threads" into nyc-mr1-dev
Adrian Roos [Wed, 13 Jul 2016 01:41:15 +0000 (01:41 +0000)]
Merge "Allow LockPatternUtils usage on non-looper threads" into nyc-mr1-dev

8 years agoMerge "When display is frozen prefer preserving orientation." into nyc-mr1-dev
Rob Carr [Wed, 13 Jul 2016 01:37:46 +0000 (01:37 +0000)]
Merge "When display is frozen prefer preserving orientation." into nyc-mr1-dev

8 years agoMerge "Trapping backspace at EditText level to prevent popping Docs." into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 01:26:50 +0000 (01:26 +0000)]
Merge "Trapping backspace at EditText level to prevent popping Docs." into nyc-mr1-dev

8 years agoMerge \"Merge \\\"docs: fix redirects for shareables\\\" into nyc-dev am: e181729b18...
Joe Fernandez [Wed, 13 Jul 2016 01:01:39 +0000 (01:01 +0000)]
Merge \"Merge \\\"docs: fix redirects for shareables\\\" into nyc-dev am: e181729b18 am: 2364699d3a\" into nyc-mr1-dev-plus-aosp
am: 0d7175f59e

Change-Id: I7391e1fdc96da1b7913c8410c0116ec69d67bfdf

8 years agoMerge \\\"docs: fix redirects for shareables\\\" into nyc-dev am: e181729b18 am:...
Joe Fernandez [Wed, 13 Jul 2016 01:01:33 +0000 (01:01 +0000)]
Merge \\\"docs: fix redirects for shareables\\\" into nyc-dev am: e181729b18 am: b85297a182
am: 1ca81a8d23

Change-Id: If303259b71a6ce41df584b79233db86718a3c281

8 years agoMerge \\"Don\\'t show times before 2000-01-01\\" into nyc-mr1-dev am: 4786f6d958
Damien Bargiacchi [Wed, 13 Jul 2016 01:01:26 +0000 (01:01 +0000)]
Merge \\"Don\\'t show times before 2000-01-01\\" into nyc-mr1-dev am: 4786f6d958
am: c1c895b573

Change-Id: I00c20f3b012a6f183b74f5836af62de9bae7a466

8 years agoMerge "Merge \\"docs: fix redirects for shareables\\" into nyc-dev am: e181729b18...
Android Build Merger (Role) [Wed, 13 Jul 2016 00:56:51 +0000 (00:56 +0000)]
Merge "Merge \\"docs: fix redirects for shareables\\" into nyc-dev am: e181729b18 am: 2364699d3a" into nyc-mr1-dev-plus-aosp

8 years agoMerge \\"docs: fix redirects for shareables\\" into nyc-dev am: e181729b18
Joe Fernandez [Wed, 13 Jul 2016 00:56:24 +0000 (00:56 +0000)]
Merge \\"docs: fix redirects for shareables\\" into nyc-dev am: e181729b18
am: 2364699d3a

Change-Id: I859889d921dc93b0984829275d79e43d8be46692

8 years agoMerge \\"docs: fix redirects for shareables\\" into nyc-dev am: e181729b18
Joe Fernandez [Wed, 13 Jul 2016 00:55:46 +0000 (00:55 +0000)]
Merge \\"docs: fix redirects for shareables\\" into nyc-dev am: e181729b18
am: b85297a182

Change-Id: Ifcae023b83ca1caea496a53728bb2e6b03c00397

8 years agoMerge \"Don\'t show times before 2000-01-01\" into nyc-mr1-dev
Damien Bargiacchi [Wed, 13 Jul 2016 00:51:43 +0000 (00:51 +0000)]
Merge \"Don\'t show times before 2000-01-01\" into nyc-mr1-dev
am: 4786f6d958

Change-Id: Ic0eb9edf0cc94f62d808e214e19c8003dc9a7941

8 years agoMerge "MediaSessionService: Support managed profile" into nyc-mr1-dev
Jaewan Kim [Wed, 13 Jul 2016 00:46:06 +0000 (00:46 +0000)]
Merge "MediaSessionService: Support managed profile" into nyc-mr1-dev

8 years agoMerge \\"Fix issue where GnssMeasurements wouldn\\'t allow empty measurements.\\...
David Christie [Wed, 13 Jul 2016 00:45:10 +0000 (00:45 +0000)]
Merge \\"Fix issue where GnssMeasurements wouldn\\'t allow empty measurements.\\" into nyc-mr1-dev am: 6441738f45
am: ee448e78af

Change-Id: I0d6fcc8d26523eabb924df2f9d47060bb1e6996d

8 years agoMerge \"docs: fix redirects for shareables\" into nyc-dev
Joe Fernandez [Wed, 13 Jul 2016 00:45:10 +0000 (00:45 +0000)]
Merge \"docs: fix redirects for shareables\" into nyc-dev
am: e181729b18

Change-Id: I5aff432f11ac7af3d653a367a79c42cbb01547b6

8 years agoMerge \"docs: fix redirects for shareables\" into nyc-dev
Joe Fernandez [Wed, 13 Jul 2016 00:44:36 +0000 (00:44 +0000)]
Merge \"docs: fix redirects for shareables\" into nyc-dev
am: e181729b18

Change-Id: Ifc0ca35213e38efa516e070b1bf42fb29536d338

8 years agoMerge "Don't show times before 2000-01-01" into nyc-mr1-dev
Damien Bargiacchi [Wed, 13 Jul 2016 00:40:06 +0000 (00:40 +0000)]
Merge "Don't show times before 2000-01-01" into nyc-mr1-dev

8 years agoMerge "docs: fix redirects for shareables" into nyc-dev
Joe Fernandez [Wed, 13 Jul 2016 00:37:11 +0000 (00:37 +0000)]
Merge "docs: fix redirects for shareables" into nyc-dev

8 years agoMerge \\"Wakelock timeout for AnyMotionDetector. Bug: 29959125\\" into nyc-mr1-dev...
Kevin Gabayan [Wed, 13 Jul 2016 00:34:55 +0000 (00:34 +0000)]
Merge \\"Wakelock timeout for AnyMotionDetector. Bug: 29959125\\" into nyc-mr1-dev am: 33759a993d
am: ef759ca10e

Change-Id: Id0f533b0a913633b364a200832518f3535da856e

8 years agoMerge \"Fix docs for View.DRAG_FLAG_GLOBAL am: 9a44eaec53 am: 8496bb82d2\" into nyc...
Vladislav Kaznacheev [Wed, 13 Jul 2016 00:34:52 +0000 (00:34 +0000)]
Merge \"Fix docs for View.DRAG_FLAG_GLOBAL am: 9a44eaec53 am: 8496bb82d2\" into nyc-mr1-dev-plus-aosp
am: f7d96e5557

Change-Id: Iffb3086a366f99246510e79e489e5d30ae11ec78

8 years agoMerge \"Fix issue where GnssMeasurements wouldn\'t allow empty measurements.\" into...
David Christie [Wed, 13 Jul 2016 00:31:53 +0000 (00:31 +0000)]
Merge \"Fix issue where GnssMeasurements wouldn\'t allow empty measurements.\" into nyc-mr1-dev
am: 6441738f45

Change-Id: Ic127d17bde42fef81d6509fc408384c6f581687f

8 years agoMerge \"Wakelock timeout for AnyMotionDetector. Bug: 29959125\" into nyc-mr1-dev
Kevin Gabayan [Wed, 13 Jul 2016 00:27:14 +0000 (00:27 +0000)]
Merge \"Wakelock timeout for AnyMotionDetector. Bug: 29959125\" into nyc-mr1-dev
am: 33759a993d

Change-Id: I9ca9b5835b0fbddca4447fcb8e6fc606880bf69e

8 years agoFix docs for View.DRAG_FLAG_GLOBAL am: 9a44eaec53 am: 9ac6a460c8
Vladislav Kaznacheev [Wed, 13 Jul 2016 00:27:07 +0000 (00:27 +0000)]
Fix docs for View.DRAG_FLAG_GLOBAL am: 9a44eaec53 am: 9ac6a460c8
am: 9c225d60e0

Change-Id: I5876ea6cfe8e1711f446c9f9246770ff49fb7380

8 years agoMerge "Fix issue where GnssMeasurements wouldn't allow empty measurements." into...
David Christie [Wed, 13 Jul 2016 00:21:19 +0000 (00:21 +0000)]
Merge "Fix issue where GnssMeasurements wouldn't allow empty measurements." into nyc-mr1-dev

8 years agoMerge "Fix docs for View.DRAG_FLAG_GLOBAL am: 9a44eaec53 am: 8496bb82d2" into nyc...
Android Build Merger (Role) [Wed, 13 Jul 2016 00:18:22 +0000 (00:18 +0000)]
Merge "Fix docs for View.DRAG_FLAG_GLOBAL am: 9a44eaec53 am: 8496bb82d2" into nyc-mr1-dev-plus-aosp

8 years agoFix docs for View.DRAG_FLAG_GLOBAL am: 9a44eaec53
Vladislav Kaznacheev [Wed, 13 Jul 2016 00:18:00 +0000 (00:18 +0000)]
Fix docs for View.DRAG_FLAG_GLOBAL am: 9a44eaec53
am: 8496bb82d2

Change-Id: Ia9b23c5412d44197ca0403f693931bf64e5c4790

8 years agoFix docs for View.DRAG_FLAG_GLOBAL am: 9a44eaec53
Vladislav Kaznacheev [Wed, 13 Jul 2016 00:17:39 +0000 (00:17 +0000)]
Fix docs for View.DRAG_FLAG_GLOBAL am: 9a44eaec53
am: 9ac6a460c8

Change-Id: I62af5eba6621e25c51cbcbfe7f9670e7be1449a3

8 years agoFix a few log messages that didn't have a space in the SoundTriggerTestApp
Chris Thornton [Tue, 12 Jul 2016 22:05:18 +0000 (15:05 -0700)]
Fix a few log messages that didn't have a space in the SoundTriggerTestApp

Change-Id: If3b5ac6533429843d4be733bd31f2bb83e1d5971

8 years agoMerge "Wakelock timeout for AnyMotionDetector. Bug: 29959125" into nyc-mr1-dev
Kevin Gabayan [Wed, 13 Jul 2016 00:14:21 +0000 (00:14 +0000)]
Merge "Wakelock timeout for AnyMotionDetector. Bug: 29959125" into nyc-mr1-dev

8 years agodocs: fix redirects for shareables
Joe Fernandez [Wed, 13 Jul 2016 00:13:55 +0000 (17:13 -0700)]
docs: fix redirects for shareables

b/30037099

Change-Id: I201b428d156a7f3eb49d92c6f5539b8f2c1998bb

8 years agoMediaDataSource: add DrmInitialization for IDataSource.
Wei Jia [Thu, 7 Jul 2016 23:08:30 +0000 (16:08 -0700)]
MediaDataSource: add DrmInitialization for IDataSource.

Bug: 29342399
Bug: 28901867
Change-Id: Ib2049566582aa08783ff588dd25afef4e1c0b5e2

8 years agoDon't make redundant launch while updating configuration
Andrii Kulian [Wed, 13 Jul 2016 00:11:35 +0000 (17:11 -0700)]
Don't make redundant launch while updating configuration

If the configuration changed the same time when the app was launched,
from ActivityStackSupervisor#realStartActivityLocked we updated
configuration, which lead to resuming top activity in focused stack.
This caused second redundant launch of already launching activity.

Bug: 29516875
Change-Id: I2babe1936dfb53b5a440deee34874731913db2eb

8 years agoFix docs for View.DRAG_FLAG_GLOBAL
Vladislav Kaznacheev [Wed, 13 Jul 2016 00:08:52 +0000 (00:08 +0000)]
Fix docs for View.DRAG_FLAG_GLOBAL
am: 9a44eaec53

Change-Id: I4b0548a4fb7bff0312d2cd73217f64f361216c50

8 years agoFix docs for View.DRAG_FLAG_GLOBAL
Vladislav Kaznacheev [Wed, 13 Jul 2016 00:08:50 +0000 (00:08 +0000)]
Fix docs for View.DRAG_FLAG_GLOBAL
am: 9a44eaec53

Change-Id: I82786f107815361b73655b92dc4e54ee255296d9

8 years agoMerge \\"Fix issue #30013670: Phone AP crash when testing VT call\\" into nyc-mr1...
Dianne Hackborn [Tue, 12 Jul 2016 23:47:26 +0000 (23:47 +0000)]
Merge \\"Fix issue #30013670: Phone AP crash when testing VT call\\" into nyc-mr1-dev am: ab1b52a0c4
am: aa055e7f2d

Change-Id: I8b27b4e09bb563fe8088f49415eb2e06720ac522

8 years agoMerge \\"SoundTriggerDetector should look at the return code to honour success\\...
Chris Thornton [Tue, 12 Jul 2016 23:47:23 +0000 (23:47 +0000)]
Merge \\"SoundTriggerDetector should look at the return code to honour success\\" into nyc-mr1-dev am: 9b550cb188
am: 0359337b9b

Change-Id: Idabd2180b88dbb8cef6039825cdebaf3026eaf8d

8 years agoMerge \\"Move grantDefaultPermissions back to onNewUserCreated\\" into nyc-mr1-dev...
Fyodor Kupolov [Tue, 12 Jul 2016 23:47:20 +0000 (23:47 +0000)]
Merge \\"Move grantDefaultPermissions back to onNewUserCreated\\" into nyc-mr1-dev am: 9cf5bf04d2
am: 6d2170ee5d

Change-Id: I047b104b2f1735c072e636ccfe366de411e3204c

8 years agoWakelock timeout for AnyMotionDetector.
Kevin Gabayan [Fri, 8 Jul 2016 17:41:24 +0000 (10:41 -0700)]
Wakelock timeout for AnyMotionDetector.
Bug: 29959125

Change-Id: I7260fd1640b87884bb550ff428eb9cd1dc111512

8 years agoTrapping backspace at EditText level to prevent popping Docs.
Ben Lin [Mon, 11 Jul 2016 23:25:33 +0000 (16:25 -0700)]
Trapping backspace at EditText level to prevent popping Docs.

When the EditText is empty, pressing backspace on soft/hardware keyboard
will call on the EditText's OnKeyListener. Since we don't handle
backspace, it will then bubble up to Activity-level, which will then pop
the document stack due to the feature of using backspace as navigation.
This will trap the call correctly if the EditText is empty.

Bug: 30066261
Change-Id: I231507b9469bfa52478872491f1d2713a1ac58ba

8 years agoMerge \"Fix issue #30013670: Phone AP crash when testing VT call\" into nyc-mr1-dev
Dianne Hackborn [Tue, 12 Jul 2016 23:37:25 +0000 (23:37 +0000)]
Merge \"Fix issue #30013670: Phone AP crash when testing VT call\" into nyc-mr1-dev
am: ab1b52a0c4

Change-Id: I8c707c615ce3e74cd51db321581c0e7e123c0d95

8 years agoMerge \"SoundTriggerDetector should look at the return code to honour success\" into...
Chris Thornton [Tue, 12 Jul 2016 23:37:18 +0000 (23:37 +0000)]
Merge \"SoundTriggerDetector should look at the return code to honour success\" into nyc-mr1-dev
am: 9b550cb188

Change-Id: Iafbd6b758768fc0f87651ac9086333fa74e07fdc

8 years agoMerge \"Move grantDefaultPermissions back to onNewUserCreated\" into nyc-mr1-dev
Fyodor Kupolov [Tue, 12 Jul 2016 23:37:08 +0000 (23:37 +0000)]
Merge \"Move grantDefaultPermissions back to onNewUserCreated\" into nyc-mr1-dev
am: 9cf5bf04d2

Change-Id: Id776e0b5f87bf5325a9bc48e198d168c9c555c18

8 years agoMerge "Fix issue #30013670: Phone AP crash when testing VT call" into nyc-mr1-dev
Dianne Hackborn [Tue, 12 Jul 2016 23:28:37 +0000 (23:28 +0000)]
Merge "Fix issue #30013670: Phone AP crash when testing VT call" into nyc-mr1-dev

8 years agoMerge "Don't count zero width space in hasGlyph layout"
Raph Levien [Tue, 12 Jul 2016 23:26:15 +0000 (23:26 +0000)]
Merge "Don't count zero width space in hasGlyph layout"

8 years agoMerge "Patch out part of the emoji tests."
Raph Levien [Tue, 12 Jul 2016 23:25:59 +0000 (23:25 +0000)]
Merge "Patch out part of the emoji tests."

8 years agoMerge "SoundTriggerDetector should look at the return code to honour success" into...
Chris Thornton [Tue, 12 Jul 2016 23:24:40 +0000 (23:24 +0000)]
Merge "SoundTriggerDetector should look at the return code to honour success" into nyc-mr1-dev

8 years agoMerge "Move grantDefaultPermissions back to onNewUserCreated" into nyc-mr1-dev
TreeHugger Robot [Tue, 12 Jul 2016 23:22:43 +0000 (23:22 +0000)]
Merge "Move grantDefaultPermissions back to onNewUserCreated" into nyc-mr1-dev

8 years agoMerge \\"Don\\'t hold lock calling into PackageMgr\\" into nyc-mr1-dev am: c8967160aa
Todd Kennedy [Tue, 12 Jul 2016 23:09:18 +0000 (23:09 +0000)]
Merge \\"Don\\'t hold lock calling into PackageMgr\\" into nyc-mr1-dev am: c8967160aa
am: b5a2e31e57

Change-Id: I53f9fa9aed56ff9307894a8fa07ca337f2e41e0f

8 years agoMerge \\"Explicitly flush compress/encrypt stream before close\\" into nyc-mr1-dev...
Chris Tate [Tue, 12 Jul 2016 23:04:06 +0000 (23:04 +0000)]
Merge \\"Explicitly flush compress/encrypt stream before close\\" into nyc-mr1-dev am: 69818781f3
am: 0d99301cb4

Change-Id: Ie0a3a2b93d30278a94893c3b513befaa5edf32ca

8 years agoMerge \"Don\'t hold lock calling into PackageMgr\" into nyc-mr1-dev
Todd Kennedy [Tue, 12 Jul 2016 23:03:39 +0000 (23:03 +0000)]
Merge \"Don\'t hold lock calling into PackageMgr\" into nyc-mr1-dev
am: c8967160aa

Change-Id: I9e4faf9115c35a7d2995ddc5ad82ed12df6f2a9b

8 years agoDon't show times before 2000-01-01
Damien Bargiacchi [Tue, 12 Jul 2016 22:53:40 +0000 (15:53 -0700)]
Don't show times before 2000-01-01

BUG=27802041

Change-Id: Iaa826e029c3b887e2bda6d12bc7c372d862ed320

8 years agoMerge \"Explicitly flush compress/encrypt stream before close\" into nyc-mr1-dev
Christopher Tate [Tue, 12 Jul 2016 22:58:27 +0000 (22:58 +0000)]
Merge \"Explicitly flush compress/encrypt stream before close\" into nyc-mr1-dev
am: 69818781f3

Change-Id: Ib31ffe531a4c6d27f10d1432c8ab68507c14abaf

8 years agoMerge "Don't hold lock calling into PackageMgr" into nyc-mr1-dev
TreeHugger Robot [Tue, 12 Jul 2016 22:52:28 +0000 (22:52 +0000)]
Merge "Don't hold lock calling into PackageMgr" into nyc-mr1-dev

8 years agoMerge "Explicitly flush compress/encrypt stream before close" into nyc-mr1-dev
Chris Tate [Tue, 12 Jul 2016 22:46:59 +0000 (22:46 +0000)]
Merge "Explicitly flush compress/encrypt stream before close" into nyc-mr1-dev

8 years agoWhen display is frozen prefer preserving orientation.
Robert Carr [Tue, 12 Jul 2016 21:14:49 +0000 (14:14 -0700)]
When display is frozen prefer preserving orientation.

While the display is frozen, we just want to preserve the orientation
from changing. Otherwise we will have strange loops as
SHOW_WHEN_LOCKED windows appear/dissapear over relaunch.

Bug: 29994732
Bug: 29542506
Bug: 29942346
Change-Id: Iec5f79db0cf5001c3c8e5d6a7a0136b758e0a934

8 years agoAllow LockPatternUtils usage on non-looper threads
Adrian Roos [Tue, 12 Jul 2016 22:31:55 +0000 (15:31 -0700)]
Allow LockPatternUtils usage on non-looper threads

Fixes an issue where LPU could no longer
be used on a non-looper thread even though
the looper is only used for a certain callback.

Now only using that callback mechanism is fatal
on a non-looper thread.

Change-Id: I2d766bd6c913e345ed6a3500b486263c8bc12b07
Fixes: 30076804

8 years agoFix docs for View.DRAG_FLAG_GLOBAL
Vladislav Kaznacheev [Tue, 12 Jul 2016 22:24:48 +0000 (15:24 -0700)]
Fix docs for View.DRAG_FLAG_GLOBAL

Document that cross-app drags only involve apps compiled for API 24 or later.

Bug: 30076806
Change-Id: Ia630f4623c23d787b52692ff1f6475408cefa177

8 years agoMerge \\"Don\\'t backup & restore disabled shortcuts.\\" into nyc-mr1-dev am: 4885b274c1
Makoto Onuki [Tue, 12 Jul 2016 22:20:06 +0000 (22:20 +0000)]
Merge \\"Don\\'t backup & restore disabled shortcuts.\\" into nyc-mr1-dev am: 4885b274c1
am: bc15e3ca2b

Change-Id: I457db12fdcc884a121b82320b7d32646133632ca

8 years agoMerge \"Don\'t backup & restore disabled shortcuts.\" into nyc-mr1-dev
Makoto Onuki [Tue, 12 Jul 2016 22:11:54 +0000 (22:11 +0000)]
Merge \"Don\'t backup & restore disabled shortcuts.\" into nyc-mr1-dev
am: 4885b274c1

Change-Id: I23c46fa144ac1b4989a4cd93cf442b812c7d1324

8 years agoMerge "Don't backup & restore disabled shortcuts." into nyc-mr1-dev
Makoto Onuki [Tue, 12 Jul 2016 22:01:07 +0000 (22:01 +0000)]
Merge "Don't backup & restore disabled shortcuts." into nyc-mr1-dev

8 years agoMerge "Pull clipping related classes to a separate package."
TreeHugger Robot [Tue, 12 Jul 2016 21:58:23 +0000 (21:58 +0000)]
Merge "Pull clipping related classes to a separate package."

8 years agoMove grantDefaultPermissions back to onNewUserCreated
Fyodor Kupolov [Tue, 12 Jul 2016 21:46:19 +0000 (14:46 -0700)]
Move grantDefaultPermissions back to onNewUserCreated

Otherwise pre-grants may not work on managed profiles because apps could be
uninstalled when the user is started

Bug: 29955102
Change-Id: I8fafaf1ca6193c1a13bd2f0b463ee30fe473e6b5

8 years agoMerge \\"Do remove starting windows for activities in an invisible stack\\" into...
Wale Ogunwale [Tue, 12 Jul 2016 21:43:51 +0000 (21:43 +0000)]
Merge \\"Do remove starting windows for activities in an invisible stack\\" into nyc-mr1-dev am: 1ae277831d
am: d0c3bc327d

Change-Id: I1887cfae7a32817dc8ef4f87eec20496e8e5aa81

8 years agoMerge \"Do remove starting windows for activities in an invisible stack\" into nyc...
Wale Ogunwale [Tue, 12 Jul 2016 21:38:22 +0000 (21:38 +0000)]
Merge \"Do remove starting windows for activities in an invisible stack\" into nyc-mr1-dev
am: 1ae277831d

Change-Id: If0e30f9f03a499d9ff5613268e2ea3311476ab3c

8 years agoMerge "Do remove starting windows for activities in an invisible stack" into nyc...
TreeHugger Robot [Tue, 12 Jul 2016 21:32:36 +0000 (21:32 +0000)]
Merge "Do remove starting windows for activities in an invisible stack" into nyc-mr1-dev

8 years agoDo remove starting windows for activities in an invisible stack
Wale Ogunwale [Tue, 12 Jul 2016 17:29:12 +0000 (10:29 -0700)]
Do remove starting windows for activities in an invisible stack

Depending on app launch timing it is possible for the initializing
activity that is the top of an invisible stack to still have its
starting window visible since we skip removing orphaned starting
window for the top activity in a stack. We now remove starting
windows for all activities in an invisible stack.

Bug: 28173906
Change-Id: Ie5284c9681d06969f647cbe46a77dd072ca61435

8 years agoMerge "Remove unused SurfaceView state."
Rob Carr [Tue, 12 Jul 2016 21:20:01 +0000 (21:20 +0000)]
Merge "Remove unused SurfaceView state."

8 years agoMerge \\"Harden framework against backup transport crashes\\" into nyc-mr1-dev am...
Chris Tate [Tue, 12 Jul 2016 21:14:09 +0000 (21:14 +0000)]
Merge \\"Harden framework against backup transport crashes\\" into nyc-mr1-dev am: 1165790f70
am: 77f5ea02a5

Change-Id: If83f16847ddded66ed3d462ffb45016187bcae7f

8 years agoMerge \"Harden framework against backup transport crashes\" into nyc-mr1-dev
Christopher Tate [Tue, 12 Jul 2016 21:10:10 +0000 (21:10 +0000)]
Merge \"Harden framework against backup transport crashes\" into nyc-mr1-dev
am: 1165790f70

Change-Id: Icec9fab284cd476ffca3721d1d5f8eaaf1300ff8

8 years agoDon't hold lock calling into PackageMgr
Todd Kennedy [Tue, 12 Jul 2016 21:07:40 +0000 (14:07 -0700)]
Don't hold lock calling into PackageMgr

There's a subtle deadlock; when dumping state, we obtain the package manager
lock before trying to obtain the package installer session lock. Meanwhile,
creating a new session obtains the locks in the reverse -- the package
installer takes the package installer session lock and then tries to obtain
the package manager lock.

Here, we avoid holding the package installer session lock before we call
into the package manager. Alternatively, we could consider not holding the
package manager lock when dumping package installer state. But, given the
scope of the dumping logic, that's a bigger change with other, unknown
side effects.

Change-Id: I11f08484cd335bb7ad3bc557808eb48d14bd29cf
Fixes: 30089638

8 years agoMerge "Harden framework against backup transport crashes" into nyc-mr1-dev
Chris Tate [Tue, 12 Jul 2016 21:00:28 +0000 (21:00 +0000)]
Merge "Harden framework against backup transport crashes" into nyc-mr1-dev

8 years agoMerge \\"Prevent back button from being handled by app after waking device\\" into...
Anthony Hugh [Tue, 12 Jul 2016 20:57:26 +0000 (20:57 +0000)]
Merge \\"Prevent back button from being handled by app after waking device\\" into nyc-mr1-dev am: 1b7c5631c4
am: dd476c8e57

Change-Id: I367456961363134903b4df8ccbaa00f92f36e290

8 years agoMerge \"Prevent back button from being handled by app after waking device\" into...
Anthony Hugh [Tue, 12 Jul 2016 20:49:37 +0000 (20:49 +0000)]
Merge \"Prevent back button from being handled by app after waking device\" into nyc-mr1-dev
am: 1b7c5631c4

Change-Id: I0a0dae375e9528040483e4471d3093679a94533c

8 years agoMerge "Add layout perf test into APCT"
Tenghui Zhu [Tue, 12 Jul 2016 20:41:57 +0000 (20:41 +0000)]
Merge "Add layout perf test into APCT"

8 years agoMerge "Prevent back button from being handled by app after waking device" into nyc...
Anthony Hugh [Tue, 12 Jul 2016 20:39:04 +0000 (20:39 +0000)]
Merge "Prevent back button from being handled by app after waking device" into nyc-mr1-dev

8 years agoFix issue #30013670: Phone AP crash when testing VT call
Dianne Hackborn [Tue, 12 Jul 2016 20:36:02 +0000 (13:36 -0700)]
Fix issue #30013670: Phone AP crash when testing VT call

Intent categories may be null.

Change-Id: Ic2e0438460741b264ddbfe77d2a14973f9af7d95

8 years agoPull clipping related classes to a separate package.
Garfield, Tan [Tue, 12 Jul 2016 18:02:09 +0000 (11:02 -0700)]
Pull clipping related classes to a separate package.

Change-Id: I125d1c34e475f9465e82014cb869f88c9c7cebc4