OSDN Git Service

android-x86/frameworks-base.git
7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility
Sungsoo [Thu, 13 Oct 2016 21:57:01 +0000 (21:57 +0000)]
DO NOT MERGE) ExifInterface: Provide backward compatibility
am: 22bd36448e  -s ours

Change-Id: I13a49444b80cd07c0cb37f6b8fb514b5b04e61bb

7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility
Sungsoo [Thu, 13 Oct 2016 03:24:16 +0000 (12:24 +0900)]
DO NOT MERGE) ExifInterface: Provide backward compatibility

ExifInterface.saveAttribute() didn't throw UnsupportedOperationException
before. Use IOException instead of UnsupportedOperationException for
backward compatibility.

Bug: 30936376, Bug: 32068647, Bug: 31319086
Change-Id: Iacc7b4d91d49edd7bece8f2e738a633a91025eca

7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility
Sungsoo [Thu, 13 Oct 2016 03:24:16 +0000 (12:24 +0900)]
DO NOT MERGE) ExifInterface: Provide backward compatibility

ExifInterface.saveAttribute() didn't throw UnsupportedOperationException
before. Use IOException instead of UnsupportedOperationException for
backward compatibility.

Bug: 30936376, Bug: 32068647, Bug: 31319086
Change-Id: Iacc7b4d91d49edd7bece8f2e738a633a91025eca

7 years agoMerge "DO NOT MERGE Fix build" into lmp-dev
Jaewan Kim [Thu, 22 Sep 2016 18:09:45 +0000 (18:09 +0000)]
Merge "DO NOT MERGE Fix build" into lmp-dev
am: fce3b76452  -s ours

Change-Id: Iea1a397f79856070d5f801193c71721a8ff69936

7 years agoDO NOT MERGE Fix build
Jaewan Kim [Thu, 22 Sep 2016 18:09:41 +0000 (18:09 +0000)]
DO NOT MERGE Fix build
am: dfedca4e43  -s ours

Change-Id: Ibf95b4c061129b2cd047e3b8a8da9f90cfea7e8f

7 years agoMerge "DO NOT MERGE Fix build" into lmp-dev
Jaewan Kim [Thu, 22 Sep 2016 17:46:56 +0000 (17:46 +0000)]
Merge "DO NOT MERGE Fix build" into lmp-dev

7 years agoDO NOT MERGE Fix build
Jaewan Kim [Thu, 22 Sep 2016 05:56:33 +0000 (14:56 +0900)]
DO NOT MERGE Fix build

Bug: 29833954
Change-Id: Ia814969b516ac7cc0ad7431ebab40cc74fdf2a05

7 years agoMerge "DO NOT MERGE Check caller for sending media key to telephony service" into...
Jaewan Kim [Thu, 22 Sep 2016 09:38:16 +0000 (09:38 +0000)]
Merge "DO NOT MERGE Check caller for sending media key to telephony service" into klp-dev am: 5b05226586 am: b38fbf9894 am: 84ecab6059  -s ours
am: 5ac79fa0a1  -s ours

Change-Id: I02b22b773537b4c37893114f85714c32de5035a2

7 years agoMerge "DO NOT MERGE Check caller for sending media key to telephony service" into...
Jaewan Kim [Thu, 22 Sep 2016 09:13:35 +0000 (09:13 +0000)]
Merge "DO NOT MERGE Check caller for sending media key to telephony service" into klp-dev am: 5b05226586 am: b38fbf9894
am: 84ecab6059  -s ours

Change-Id: I077206cbba5614e52046cbbbf6e40544c3e25f92

7 years agoDO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27...
Jaewan Kim [Thu, 22 Sep 2016 09:13:22 +0000 (09:13 +0000)]
DO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27 am: 9477c1674c am: 27d24e01cb  -s ours
am: 8dffbcd169  -s ours

Change-Id: Ida4217e4a0392c2f58b1ef3d0229bad4229c838d

7 years agoDO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27...
Jaewan Kim [Thu, 22 Sep 2016 08:07:29 +0000 (08:07 +0000)]
DO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27 am: 9477c1674c
am: 27d24e01cb  -s ours

Change-Id: Ibfec9c02db97a94476d1b6b4d7e98fd051d4aa58

7 years agoMerge "DO NOT MERGE Check caller for sending media key to telephony service" into...
Jaewan Kim [Thu, 22 Sep 2016 08:07:17 +0000 (08:07 +0000)]
Merge "DO NOT MERGE Check caller for sending media key to telephony service" into klp-dev am: 5b05226586
am: b38fbf9894

Change-Id: I6f6d600544f09aac349a626e3ced18de5e02a2eb

7 years agoDO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27
Jaewan Kim [Thu, 22 Sep 2016 07:35:37 +0000 (07:35 +0000)]
DO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27
am: 9477c1674c

Change-Id: If2edd8d386cd57f00221fedff3f118e6887cab61

7 years agoMerge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed...
Ajay Panicker [Thu, 22 Sep 2016 06:41:02 +0000 (06:41 +0000)]
Merge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed" into klp-dev am: c119a677c4 am: 35d1b45b0f am: dc0f9fa9c9  -s ours
am: 8919cc83bb  -s ours

Change-Id: I3370b5bb190ab5c7749e729fefdec33f06523899

7 years agoMerge "DO NOT MERGE Check caller for sending media key to telephony service" into...
Jaewan Kim [Thu, 22 Sep 2016 06:39:33 +0000 (06:39 +0000)]
Merge "DO NOT MERGE Check caller for sending media key to telephony service" into klp-dev
am: 5b05226586

Change-Id: I0b0b672c42a7a4bd75ccbeb2c3a1047eebda5076

7 years agoDO NOT MERGE Check caller for sending media key to telephony service
Jaewan Kim [Thu, 22 Sep 2016 06:39:24 +0000 (06:39 +0000)]
DO NOT MERGE Check caller for sending media key to telephony service
am: d1641e8c27

Change-Id: I5be1d931c3a2f2748e69158d442172c327199ef5

7 years agoMerge "DO NOT MERGE Check caller for sending media key to telephony service" into...
Jaewan Kim [Thu, 22 Sep 2016 05:19:34 +0000 (05:19 +0000)]
Merge "DO NOT MERGE Check caller for sending media key to telephony service" into klp-dev

7 years ago[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed am...
Ajay Panicker [Thu, 22 Sep 2016 04:54:32 +0000 (04:54 +0000)]
[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed am: 786e2694b1 am: 8fd324c33f am: 438cc52ca1  -s ours
am: 7f84596929  -s ours

Change-Id: Ia1485d87e224d8fb870b50bc73f4ee6e93dd48e4

7 years agoDO NOT MERGE Check caller for sending media key to telephony service
Jaewan Kim [Wed, 21 Sep 2016 02:20:54 +0000 (11:20 +0900)]
DO NOT MERGE Check caller for sending media key to telephony service

Prevent sending media key events from the non-system app to the
telephony service through the AudioManager.dispatchMediaKeyEvent()
or sending media key broadcast directly.

Bug: 29833954
Tested: Installed malicious apps and confirmed that they don't work.
Tested: Run CtsTelecomTestCases and CtsMediaTestCases
Change-Id: I2a9e78196ba7455324e485f098f095d03b47ee15

7 years agoMerge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed...
Ajay Panicker [Thu, 22 Sep 2016 03:50:02 +0000 (03:50 +0000)]
Merge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed" into klp-dev am: c119a677c4 am: 35d1b45b0f
am: dc0f9fa9c9  -s ours

Change-Id: I75e0e5a61d15b2e6c4a1fec70b807165c8768987

7 years ago[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed am...
Ajay Panicker [Thu, 22 Sep 2016 03:48:40 +0000 (03:48 +0000)]
[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed am: 786e2694b1 am: 8fd324c33f
am: 438cc52ca1  -s ours

Change-Id: Iabaa5642ffa6c3417b5e027e2da9b33666b1aacf

7 years agoMerge "DO NOT MERGE Check caller for sending media key to global priority session...
Jaewan Kim [Wed, 21 Sep 2016 22:53:42 +0000 (22:53 +0000)]
Merge "DO NOT MERGE Check caller for sending media key to global priority session" into lmp-dev
am: 64b7b1522e  -s ours

Change-Id: I1aaad42b1a3a82753aca4d55d743116cc3b674bd

7 years agoDO NOT MERGE Check caller for sending media key to global priority session
Jaewan Kim [Wed, 21 Sep 2016 22:53:38 +0000 (22:53 +0000)]
DO NOT MERGE Check caller for sending media key to global priority session
am: 4e9af38ec4  -s ours

Change-Id: I416843909b0b49378d8b6dc4eb92032ae7a1418e

7 years agoMerge "DO NOT MERGE Check caller for sending media key to global priority session...
Jaewan Kim [Wed, 21 Sep 2016 22:21:03 +0000 (22:21 +0000)]
Merge "DO NOT MERGE Check caller for sending media key to global priority session" into lmp-dev

7 years agoMerge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed...
Ajay Panicker [Wed, 21 Sep 2016 21:56:49 +0000 (21:56 +0000)]
Merge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed" into klp-dev am: c119a677c4
am: 35d1b45b0f

Change-Id: I0417ea58275604b9ac1fca6e79c14697d965397a

7 years ago[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed am...
Ajay Panicker [Wed, 21 Sep 2016 21:55:46 +0000 (21:55 +0000)]
[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed am: 786e2694b1
am: 8fd324c33f

Change-Id: Idbe61150d738e5e41d5606fa6d89c0a5b604a86d

7 years agoMerge "DO NOT MERGE Check caller for sending media key to global priority session...
TreeHugger Robot [Wed, 21 Sep 2016 21:46:51 +0000 (21:46 +0000)]
Merge "DO NOT MERGE Check caller for sending media key to global priority session" into lmp-mr1-dev

7 years agoMerge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed...
Ajay Panicker [Wed, 21 Sep 2016 21:15:59 +0000 (21:15 +0000)]
Merge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed" into klp-dev
am: c119a677c4

Change-Id: I7f1a7c5d09d38cfbd3fca0ee158f6401233e8f6d

7 years ago[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed
Ajay Panicker [Wed, 21 Sep 2016 21:15:56 +0000 (21:15 +0000)]
[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed
am: 786e2694b1

Change-Id: Ia40c3fc57b5c17910c67faf40b940bdd944dd4e3

7 years agoMerge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed...
Ajay Panicker [Wed, 21 Sep 2016 21:15:40 +0000 (21:15 +0000)]
Merge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed" into lmp-dev
am: f78ff48d0d  -s ours

Change-Id: I82e447c8dbbabd40977805bc1d233de832296e6b

7 years ago[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed
Ajay Panicker [Wed, 21 Sep 2016 21:15:37 +0000 (21:15 +0000)]
[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed
am: 27b3d578b9  -s ours

Change-Id: Ia29f66f121813b3e03a16a665f7bdae2d75ed09b

7 years agoMerge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed...
Ajay Panicker [Wed, 21 Sep 2016 21:08:07 +0000 (21:08 +0000)]
Merge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed" into lmp-mr1-dev

7 years agoMerge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed...
Ajay Panicker [Wed, 21 Sep 2016 21:08:04 +0000 (21:08 +0000)]
Merge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed" into lmp-dev

7 years agoMerge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed...
Ajay Panicker [Wed, 21 Sep 2016 21:08:01 +0000 (21:08 +0000)]
Merge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed" into klp-dev

7 years agoDO NOT MERGE Check caller for sending media key to global priority session
Jaewan Kim [Wed, 21 Sep 2016 01:07:24 +0000 (10:07 +0900)]
DO NOT MERGE Check caller for sending media key to global priority session

Prevent sending media key events from the non-system app to the global
priority session through the MediaSessionManager.dispatchMediaKeyEvent().
Note that any app can use the API indirectly with
the public API AudioManager.dispatchMediaKeyEvent().

Bug: 29833954
Tested: Installed malicious apps and confirmed that they don't work.
Tested: Run CtsTelecomTestCases and CtsMediaTestCases
Change-Id: I2a9e78196ba7455324e485f098f095d03b47ee15

7 years agoDO NOT MERGE Check caller for sending media key to global priority session
Jaewan Kim [Mon, 19 Sep 2016 12:19:55 +0000 (21:19 +0900)]
DO NOT MERGE Check caller for sending media key to global priority session

Prevent sending media key events from the non-system app to the global
priority session through the MediaSessionManager.dispatchMediaKeyEvent().
Note that any app can use the API indirectly with
the public API AudioManager.dispatchMediaKeyEvent().

Bug: 29833954
Tested: Installed malicious apps and confirmed that they don't work.
Tested: Run CtsTelecomTestCases and CtsMediaTestCases
Change-Id: I2a9e78196ba7455324e485f098f095d03b47ee15

7 years agoMerge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into lmp...
TreeHugger Robot [Wed, 21 Sep 2016 00:52:46 +0000 (00:52 +0000)]
Merge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into lmp-mr1-dev

7 years agoMerge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into lmp-dev
Ajay Panicker [Wed, 21 Sep 2016 00:17:48 +0000 (00:17 +0000)]
Merge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into lmp-dev
am: 19b09dd0d3  -s ours

Change-Id: Id030cd83f6759c255c1a5cfbea8b90a92610a02d

7 years ago[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)
Ajay Panicker [Wed, 21 Sep 2016 00:13:03 +0000 (00:13 +0000)]
[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)
am: 0ea21bc70e  -s ours

Change-Id: I24d8a2df435e4df43cc39d0e0314796e53e30429

7 years agoMerge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into klp...
Ajay Panicker [Wed, 21 Sep 2016 00:12:20 +0000 (00:12 +0000)]
Merge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into klp-dev am: 204da8aa9e am: a278a1e660 am: 3d995d6f5f  -s ours
am: 4f77ca16e4  -s ours

Change-Id: I6be29367b410ffc98e61d49450bb1d9905fbf3f8

7 years ago[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2) am: edae39d59a...
Ajay Panicker [Wed, 21 Sep 2016 00:10:52 +0000 (00:10 +0000)]
[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2) am: edae39d59a am: 271e34dbd5 am: 3758253ae8  -s ours
am: cb970f408e  -s ours

Change-Id: I385bc1700aebf53fb2846a149995925dcb00b5e8

7 years agoMerge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into lmp-dev
TreeHugger Robot [Wed, 21 Sep 2016 00:07:34 +0000 (00:07 +0000)]
Merge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into lmp-dev

7 years agoMerge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into klp...
Ajay Panicker [Wed, 21 Sep 2016 00:04:35 +0000 (00:04 +0000)]
Merge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into klp-dev am: 204da8aa9e am: a278a1e660
am: 3d995d6f5f  -s ours

Change-Id: I9e410ce2d5302eda87aea9628cb58ca203a212c5

7 years ago[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2) am: edae39d59a...
Ajay Panicker [Wed, 21 Sep 2016 00:03:23 +0000 (00:03 +0000)]
[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2) am: edae39d59a am: 271e34dbd5
am: 3758253ae8  -s ours

Change-Id: I0836ddb1649084a6814c461bccc41135cb475337

7 years agoMerge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into klp...
Ajay Panicker [Tue, 20 Sep 2016 23:56:48 +0000 (23:56 +0000)]
Merge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into klp-dev am: 204da8aa9e
am: a278a1e660

Change-Id: I22838d21bdd289ca34b78260ade59adafbdc408a

7 years ago[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2) am: edae39d59a
Ajay Panicker [Tue, 20 Sep 2016 23:55:44 +0000 (23:55 +0000)]
[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2) am: edae39d59a
am: 271e34dbd5

Change-Id: I954b8f2d9333fa6bb549dc812733d2b8f71220b9

7 years agoMerge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into klp-dev
Ajay Panicker [Tue, 20 Sep 2016 23:49:13 +0000 (23:49 +0000)]
Merge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into klp-dev
am: 204da8aa9e

Change-Id: I0ff3b20fc2f3318070e343dfe6dc29b2979284ef

7 years ago[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)
Ajay Panicker [Tue, 20 Sep 2016 23:49:05 +0000 (23:49 +0000)]
[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)
am: edae39d59a

Change-Id: I2bdf5c6fc24fd370e2555585e8492558040c0d10

7 years ago[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)
Ajay Panicker [Thu, 8 Sep 2016 18:01:29 +0000 (11:01 -0700)]
[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)

setPairingConfirmation was set to only require BLUETOOTH_ADMIN
permission which shouldn't be able to set the confirmation itself.

This is restricted to BLUETOOTH_PRIVILEGED permission.

Bug: 29043989
Change-Id: Iddc935f0b02f5ff56e930914b4b664377e786184

7 years agoMerge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into klp-dev
TreeHugger Robot [Tue, 20 Sep 2016 23:44:57 +0000 (23:44 +0000)]
Merge "[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)" into klp-dev

7 years agoMerge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into klp-dev am: d1e3e...
Sudheer Shanka [Tue, 20 Sep 2016 00:12:50 +0000 (00:12 +0000)]
Merge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into klp-dev am: d1e3e53d79 am: a4c9bbefdf am: 3fca892d3e  -s ours
am: 1d053b3be8  -s ours

Change-Id: I359bae35d6698349370b4f9a51427f10eb2bbdf3

7 years agoMerge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into klp-dev am: d1e3e...
Sudheer Shanka [Mon, 19 Sep 2016 23:24:48 +0000 (23:24 +0000)]
Merge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into klp-dev am: d1e3e53d79 am: a4c9bbefdf
am: 3fca892d3e  -s ours

Change-Id: I4d66089c6ec8743f119dd4aab641b22ebdad7b5c

7 years agoDO NOT MERGE: Fix deadlock in AcitivityManagerService. am: dce4be63bb am: a437e7f3f1...
Sudheer Shanka [Mon, 19 Sep 2016 23:02:54 +0000 (23:02 +0000)]
DO NOT MERGE: Fix deadlock in AcitivityManagerService. am: dce4be63bb am: a437e7f3f1 am: c1b2e6db98  -s ours
am: ff9a8d74c7  -s ours

Change-Id: I14d6109858bcf02b5f55eb3e207d6bc1918e746a

7 years agoDO NOT MERGE: Fix deadlock in AcitivityManagerService. am: dce4be63bb am: a437e7f3f1
Sudheer Shanka [Mon, 19 Sep 2016 21:50:49 +0000 (21:50 +0000)]
DO NOT MERGE: Fix deadlock in AcitivityManagerService. am: dce4be63bb am: a437e7f3f1
am: c1b2e6db98  -s ours

Change-Id: I006233ce7258467da7d5c09c9925bd6048d85ed3

7 years agoMerge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into klp-dev am: d1e3e...
Sudheer Shanka [Mon, 19 Sep 2016 21:50:47 +0000 (21:50 +0000)]
Merge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into klp-dev am: d1e3e53d79
am: a4c9bbefdf

Change-Id: I224c2cf56d53acf091a11372f82d1305052c6f18

7 years agoDO NOT MERGE: Fix deadlock in AcitivityManagerService. am: dce4be63bb
Sudheer Shanka [Mon, 19 Sep 2016 21:02:53 +0000 (21:02 +0000)]
DO NOT MERGE: Fix deadlock in AcitivityManagerService. am: dce4be63bb
am: a437e7f3f1

Change-Id: I13fdcfc2ecca2e5e1d178d61ef8ec6990a0fc3af

7 years agoMerge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into klp-dev
Sudheer Shanka [Mon, 19 Sep 2016 20:16:17 +0000 (20:16 +0000)]
Merge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into klp-dev
am: d1e3e53d79

Change-Id: Id794cb9cd3792317d2786671f2f84a6ad8bbd404

7 years agoDO NOT MERGE: Fix deadlock in AcitivityManagerService.
Sudheer Shanka [Mon, 19 Sep 2016 20:16:13 +0000 (20:16 +0000)]
DO NOT MERGE: Fix deadlock in AcitivityManagerService.
am: dce4be63bb

Change-Id: Ia1db0d226d84ed07da6712f554327b49c9fe59c0

7 years agoMerge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into lmp-dev
Sudheer Shanka [Mon, 19 Sep 2016 20:14:20 +0000 (20:14 +0000)]
Merge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into lmp-dev
am: b358ee3558  -s ours

Change-Id: Idf726fba98ec0e78135498248d111d8571324657

7 years agoDO NOT MERGE: Fix deadlock in AcitivityManagerService.
Sudheer Shanka [Mon, 19 Sep 2016 20:14:16 +0000 (20:14 +0000)]
DO NOT MERGE: Fix deadlock in AcitivityManagerService.
am: 2d608378f4  -s ours

Change-Id: Ie6c10a3ef11ea0ec560f20ef49f14f46184d1a4d

7 years agoMerge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into lmp-dev
Sudheer Shanka [Mon, 19 Sep 2016 20:01:47 +0000 (20:01 +0000)]
Merge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into lmp-dev

7 years agoMerge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into klp-dev
Sudheer Shanka [Mon, 19 Sep 2016 19:59:18 +0000 (19:59 +0000)]
Merge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into klp-dev

7 years agoMerge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into lmp-mr1-dev
Sudheer Shanka [Mon, 19 Sep 2016 19:59:14 +0000 (19:59 +0000)]
Merge "DO NOT MERGE: Fix deadlock in AcitivityManagerService." into lmp-mr1-dev

7 years agoFix build break due to automerge of 7d2198b5
Paul Jensen [Mon, 19 Sep 2016 12:53:20 +0000 (08:53 -0400)]
Fix build break due to automerge of 7d2198b5

Bug: 30100884

Change-Id: I8fa379a74b5d9467b5b9498bd18de2a043963c6f

7 years agoMerge "Avoid crashing when downloading MitM'd PAC that is too big" into klp-dev am...
Paul Jensen [Mon, 19 Sep 2016 11:40:02 +0000 (11:40 +0000)]
Merge "Avoid crashing when downloading MitM'd PAC that is too big" into klp-dev am: 96c045807b am: 7c08c4d5cc am: 963ca6f947
am: 3532f10fcb

Change-Id: I9dc833de510da32d47c4e6b0a78eae4cc7a38832

7 years agoAvoid crashing when downloading MitM'd PAC that is too big am: 7d2198b586 am: 9c1cb7a...
Paul Jensen [Mon, 19 Sep 2016 11:37:54 +0000 (11:37 +0000)]
Avoid crashing when downloading MitM'd PAC that is too big am: 7d2198b586 am: 9c1cb7a273 am: 6634e90ad7
am: 66ee2296a9

Change-Id: Ib0023b44e521b936ab2f9450ad367b1feda64492

7 years agoMerge "Avoid crashing when downloading MitM'd PAC that is too big" into klp-dev am...
Paul Jensen [Mon, 19 Sep 2016 11:34:00 +0000 (11:34 +0000)]
Merge "Avoid crashing when downloading MitM'd PAC that is too big" into klp-dev am: 96c045807b am: 7c08c4d5cc
am: 963ca6f947

Change-Id: I1a509c39640e7f9d76bd2e420764aeb3d823a3df

7 years agoAvoid crashing when downloading MitM'd PAC that is too big am: 7d2198b586 am: 9c1cb7a273
Paul Jensen [Mon, 19 Sep 2016 11:31:54 +0000 (11:31 +0000)]
Avoid crashing when downloading MitM'd PAC that is too big am: 7d2198b586 am: 9c1cb7a273
am: 6634e90ad7

Change-Id: Id46b32b80d47f6b7e2bfab2740978377a6b711cf

7 years agoMerge "Avoid crashing when downloading MitM'd PAC that is too big" into klp-dev am...
Paul Jensen [Mon, 19 Sep 2016 11:27:47 +0000 (11:27 +0000)]
Merge "Avoid crashing when downloading MitM'd PAC that is too big" into klp-dev am: 96c045807b
am: 7c08c4d5cc

Change-Id: Idd0a3598ffac808a39703a23238b47a02bca66ed

7 years agoAvoid crashing when downloading MitM'd PAC that is too big am: 7d2198b586
Paul Jensen [Mon, 19 Sep 2016 11:25:21 +0000 (11:25 +0000)]
Avoid crashing when downloading MitM'd PAC that is too big am: 7d2198b586
am: 9c1cb7a273

Change-Id: I8cd4b0d33da22bc29abd176672659c3eeb8c7d5b

7 years agoMerge "Avoid crashing when downloading MitM'd PAC that is too big" into klp-dev
Paul Jensen [Mon, 19 Sep 2016 11:19:16 +0000 (11:19 +0000)]
Merge "Avoid crashing when downloading MitM'd PAC that is too big" into klp-dev
am: 96c045807b

Change-Id: Ia20ba679f7b0445567b43aa74eef27f751453d4e

7 years agoAvoid crashing when downloading MitM'd PAC that is too big
Paul Jensen [Mon, 19 Sep 2016 11:19:13 +0000 (11:19 +0000)]
Avoid crashing when downloading MitM'd PAC that is too big
am: 7d2198b586

Change-Id: I512d6f9de6a92dd3cabec93bcadf437f5cf2e16d

7 years agoMerge "Avoid crashing when downloading MitM'd PAC that is too big" into klp-dev
Paul Jensen [Mon, 19 Sep 2016 11:10:59 +0000 (11:10 +0000)]
Merge "Avoid crashing when downloading MitM'd PAC that is too big" into klp-dev

7 years agoDO NOT MERGE: Catch all exceptions when parsing IME meta data am: f71d2cddf1 am:...
Tadashi G. Takaoka [Sun, 18 Sep 2016 12:47:22 +0000 (12:47 +0000)]
DO NOT MERGE: Catch all exceptions when parsing IME meta data am: f71d2cddf1 am: 57454cf15e am: 29f2e1d93a  -s ours
am: 2578264b86  -s ours

Change-Id: I0f5483480d7ba6c5a5386635fabc0db0bb5aefdb

7 years agoDO NOT MERGE: Catch all exceptions when parsing IME meta data am: f71d2cddf1 am:...
Tadashi G. Takaoka [Sun, 18 Sep 2016 12:22:55 +0000 (12:22 +0000)]
DO NOT MERGE: Catch all exceptions when parsing IME meta data am: f71d2cddf1 am: 57454cf15e
am: 29f2e1d93a  -s ours

Change-Id: Iaed8d1cc6e6a6bf00a9602ebb829d008f8c4e56e

7 years agoDO NOT MERGE: Catch all exceptions when parsing IME meta data am: f71d2cddf1
Tadashi G. Takaoka [Sun, 18 Sep 2016 12:17:17 +0000 (12:17 +0000)]
DO NOT MERGE: Catch all exceptions when parsing IME meta data am: f71d2cddf1
am: 57454cf15e

Change-Id: I2620580fca624c6ab4520f0a31c42cef42bafa01

7 years agoMerge "DO NOT MERGE: Catch all exceptions when parsing IME meta data" into lmp-dev
Tadashi G. Takaoka [Sun, 18 Sep 2016 12:04:06 +0000 (12:04 +0000)]
Merge "DO NOT MERGE: Catch all exceptions when parsing IME meta data" into lmp-dev
am: 5fa097311c  -s ours

Change-Id: I4c06dd7ff10cafcf15d0e4ece474c97343f608ae

7 years agoDO NOT MERGE: Catch all exceptions when parsing IME meta data
Tadashi G. Takaoka [Sun, 18 Sep 2016 12:04:03 +0000 (12:04 +0000)]
DO NOT MERGE: Catch all exceptions when parsing IME meta data
am: c6fc6c3b55  -s ours

Change-Id: I1433140b2805ca127956f210a3faa81f83dd3069

7 years agoDO NOT MERGE: Catch all exceptions when parsing IME meta data
Tadashi G. Takaoka [Sun, 18 Sep 2016 12:03:59 +0000 (12:03 +0000)]
DO NOT MERGE: Catch all exceptions when parsing IME meta data
am: f71d2cddf1

Change-Id: Iaa5041d4b5fc61860f7ce95ecce60d39bbd5023b

7 years agoMerge "DO NOT MERGE: Catch all exceptions when parsing IME meta data" into lmp-mr1-dev
Tadashi G. Takaoka [Sun, 18 Sep 2016 11:55:55 +0000 (11:55 +0000)]
Merge "DO NOT MERGE: Catch all exceptions when parsing IME meta data" into lmp-mr1-dev

7 years agoMerge "DO NOT MERGE: Catch all exceptions when parsing IME meta data" into lmp-dev
Tadashi G. Takaoka [Sun, 18 Sep 2016 11:55:33 +0000 (11:55 +0000)]
Merge "DO NOT MERGE: Catch all exceptions when parsing IME meta data" into lmp-dev

7 years agoUse "all_downloads" instead of "my_downloads".
Jeff Sharkey [Fri, 16 Sep 2016 21:48:24 +0000 (21:48 +0000)]
Use "all_downloads" instead of "my_downloads".
am: 1547194418

Change-Id: I6dabba1f82ef1989eb2a52c3c493127a174ff315

7 years agoUse "all_downloads" instead of "my_downloads".
Jeff Sharkey [Fri, 16 Sep 2016 18:04:05 +0000 (12:04 -0600)]
Use "all_downloads" instead of "my_downloads".

We can no longer return the "my_downloads" paths: if those Uris were
shared beyond the app that requested the download, access would be
denied.  Instead, we need to switch to using "all_downloads" Uris so
that permission grants can be issued to third-party viewer apps.

Since an app requesting a download doesn't normally have permission
to "all_downloads" paths, DownloadProvider now issues narrow grants
toward the owner of each download, both at device boot and when new
downloads are started.

Bug: 3053711530945409
Change-Id: I533125b36444877f54373d88922f2acc777e250b

7 years agoDO NOT MERGE: Catch all exceptions when parsing IME meta data
Tadashi G. Takaoka [Fri, 16 Sep 2016 03:12:14 +0000 (12:12 +0900)]
DO NOT MERGE: Catch all exceptions when parsing IME meta data

Bug: 30568284
Change-Id: I0b613f8ce0f014320c5ac1bf445699ea2702a0a2
(manually cherry picked from 9b2997d22e6ce2a15065d8e7608dd77b316c2065)

7 years agoDO NOT MERGE: Catch all exceptions when parsing IME meta data
Tadashi G. Takaoka [Fri, 16 Sep 2016 03:12:14 +0000 (12:12 +0900)]
DO NOT MERGE: Catch all exceptions when parsing IME meta data

Bug: 30568284
Change-Id: I0b613f8ce0f014320c5ac1bf445699ea2702a0a2
(manually cherry picked from 9b2997d22e6ce2a15065d8e7608dd77b316c2065)

7 years agoDO NOT MERGE: Catch all exceptions when parsing IME meta data
Tadashi G. Takaoka [Fri, 16 Sep 2016 03:00:57 +0000 (12:00 +0900)]
DO NOT MERGE: Catch all exceptions when parsing IME meta data

Bug: 30568284
Change-Id: I0b613f8ce0f014320c5ac1bf445699ea2702a0a2
(manually cherry picked from 9b2997d22e6ce2a15065d8e7608dd77b316c2065)

7 years agoDO NOT MERGE: Fix deadlock in AcitivityManagerService.
Sudheer Shanka [Fri, 16 Sep 2016 02:00:43 +0000 (19:00 -0700)]
DO NOT MERGE: Fix deadlock in AcitivityManagerService.

Don't hold mPidsSelfLocked lock when calling
cleanUpApplicationRecordLocked.

Bug: 31463143
Change-Id: I1fddd06f5e35b67fea041741f5746c57a39208ba

7 years agoDO NOT MERGE: Fix deadlock in AcitivityManagerService.
Sudheer Shanka [Wed, 14 Sep 2016 21:37:14 +0000 (14:37 -0700)]
DO NOT MERGE: Fix deadlock in AcitivityManagerService.

Don't hold mPidsSelfLocked lock when calling
cleanUpApplicationRecordLocked.

Bug: 31463143
Change-Id: I421962cbfd7c466662edcef805c3e27321dc5a98

7 years agoDO NOT MERGE: Fix deadlock in AcitivityManagerService.
Sudheer Shanka [Wed, 14 Sep 2016 21:37:14 +0000 (14:37 -0700)]
DO NOT MERGE: Fix deadlock in AcitivityManagerService.

Don't hold mPidsSelfLocked lock when calling
cleanUpApplicationRecordLocked.

Bug: 31463143
Change-Id: I421962cbfd7c466662edcef805c3e27321dc5a98

7 years ago[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed
Ajay Panicker [Thu, 8 Sep 2016 20:23:02 +0000 (13:23 -0700)]
[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed

Bug: 28672558
Change-Id: I4bc14bd7f098e34012c2ae1eeba2d439145901f0

7 years ago[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed
Ajay Panicker [Thu, 8 Sep 2016 20:23:02 +0000 (13:23 -0700)]
[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed

Bug: 28672558
Change-Id: I4bc14bd7f098e34012c2ae1eeba2d439145901f0

7 years agoDO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change...
Sungsoo [Fri, 9 Sep 2016 23:08:29 +0000 (23:08 +0000)]
DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change am: 1bdd10a953 am: b336cce830 am: d07324fe85  -s ours
am: f495cf6944  -s ours

Change-Id: If47c5a777ad3c7e4cca070ca633ec01442444c8e

7 years agoDO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change...
Sungsoo [Fri, 9 Sep 2016 23:00:35 +0000 (23:00 +0000)]
DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change am: 1bdd10a953 am: b336cce830
am: d07324fe85  -s ours

Change-Id: Ie3049cea7663d06632b0e3139f30f01e7dba5df0

7 years agoDO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change
Sungsoo [Fri, 9 Sep 2016 22:54:32 +0000 (22:54 +0000)]
DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change
am: aebe2347a7  -s ours

Change-Id: I58dd093cb10fd89e44d59867f5a4c1a378a61661

7 years agoDO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change...
Sungsoo [Fri, 9 Sep 2016 22:54:12 +0000 (22:54 +0000)]
DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change am: 1bdd10a953
am: b336cce830

Change-Id: Ib90b72ce9abefc6a7ceab1070555ded45dc8567d

7 years agoDO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change
Sungsoo [Fri, 9 Sep 2016 22:46:23 +0000 (22:46 +0000)]
DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change
am: 1bdd10a953

Change-Id: I644f8187ed6f5957fc273b98c10ed0c602ed1879

7 years ago[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed
Ajay Panicker [Thu, 8 Sep 2016 20:23:02 +0000 (13:23 -0700)]
[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed

Bug: 28672558
Change-Id: I4bc14bd7f098e34012c2ae1eeba2d439145901f0

7 years ago[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)
Ajay Panicker [Thu, 8 Sep 2016 18:01:29 +0000 (11:01 -0700)]
[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)

setPairingConfirmation was set to only require BLUETOOTH_ADMIN
permission which shouldn't be able to set the confirmation itself.

This is restricted to BLUETOOTH_PRIVILEGED permission.

Bug: 29043989
Change-Id: Iddc935f0b02f5ff56e930914b4b664377e786184

7 years ago[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)
Ajay Panicker [Thu, 8 Sep 2016 18:01:29 +0000 (11:01 -0700)]
[DO NOT MERGE] Fix setPairingConfirmation permissions issue (2/2)

setPairingConfirmation was set to only require BLUETOOTH_ADMIN
permission which shouldn't be able to set the confirmation itself.

This is restricted to BLUETOOTH_PRIVILEGED permission.

Bug: 29043989
Change-Id: Iddc935f0b02f5ff56e930914b4b664377e786184

8 years agoDO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change
Sungsoo [Thu, 8 Sep 2016 07:04:44 +0000 (16:04 +0900)]
DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change

ExifInterface object can be created with a unsupported file format.
If saveAttribute is called with an unsupported file format, ExifInterface
makes the file corrupted. This CL prevents those cases by throwing
an exception before making any change on the file.

Bug: 30936376
Change-Id: I915f56b00ec9422b53591ac5534e070a1d6798e6