OSDN Git Service

android-x86/frameworks-base.git
7 years agoZygote: Additional whitelisting for legacy devices.
Narayan Kamath [Mon, 7 Nov 2016 19:59:29 +0000 (19:59 +0000)]
Zygote: Additional whitelisting for legacy devices.

On M and below, we provide a blanket whitelist for all files under
"/vendor/zygote_whitelist". This path is whitelisted purely to allow
this patch to be applied easily on legacy devices and configurations.

Note that this does not amount to a loosening of our security policy
because whitelisted files are reopened anyway.

Bug: 32691930
Test: manual
Change-Id: If5b53f6f0a707f8d36603c09bfd3f72dbfbbbb99

7 years agoZygote: Additional whitelists for runtime overlay / other static resources.
Narayan Kamath [Fri, 23 Sep 2016 08:07:11 +0000 (09:07 +0100)]
Zygote: Additional whitelists for runtime overlay / other static resources.

Partially cherry picked from commit 1c15c635785c64a.

These files are safe to reopen for the same reason that files in
/system/framework are. They're regular files and will not change after
the first zygote fork.

Bug: 32618130

Change-Id: I119e0bfcbf397cb331064adf148d92a5cd3ea92f

7 years agoDO NOT MERGE) ExifInterface: Close the file when an exception happens am: 418e0869ba...
Sungsoo [Tue, 18 Oct 2016 18:00:54 +0000 (18:00 +0000)]
DO NOT MERGE) ExifInterface: Close the file when an exception happens am: 418e0869ba am: a5affb045e am: 9a15881184  -s ours am: 21c4e6d532  -s ours am: ec44540d42
am: 583a7017ce  -s ours

Change-Id: I39976fd7bf943dd9b4e38c084270c977cf0511ca

7 years agoDO NOT MERGE) ExifInterface: Close the file when an exception happens am: 418e0869ba...
Sungsoo [Tue, 18 Oct 2016 17:54:57 +0000 (17:54 +0000)]
DO NOT MERGE) ExifInterface: Close the file when an exception happens am: 418e0869ba am: a5affb045e am: 9a15881184  -s ours am: 21c4e6d532  -s ours
am: ec44540d42

Change-Id: Id4fd3422c443d5e7363d3ff27b2ba0eeb532f1dd

7 years agoDO NOT MERGE) ExifInterface: Close the file when an exception happens am: 418e0869ba...
Sungsoo [Tue, 18 Oct 2016 17:47:58 +0000 (17:47 +0000)]
DO NOT MERGE) ExifInterface: Close the file when an exception happens am: 418e0869ba am: a5affb045e am: 9a15881184  -s ours
am: 21c4e6d532  -s ours

Change-Id: Ibf02e62ee13accd5d204c44faeb6aa8c05afb709

7 years agoDO NOT MERGE) ExifInterface: Close the file when an exception happens am: 418e0869ba...
Sungsoo [Tue, 18 Oct 2016 17:41:55 +0000 (17:41 +0000)]
DO NOT MERGE) ExifInterface: Close the file when an exception happens am: 418e0869ba am: a5affb045e
am: 9a15881184  -s ours

Change-Id: I67ba2d8b8d3c3f32fca417303ee422482acc40d8

7 years agoDO NOT MERGE) ExifInterface: Close the file when an exception happens am: 135524f2c5...
Sungsoo [Tue, 18 Oct 2016 17:41:49 +0000 (17:41 +0000)]
DO NOT MERGE) ExifInterface: Close the file when an exception happens am: 135524f2c5  -s ours am: 02cd808ab8
am: 8e2451759d  -s ours

Change-Id: Id0d69d1bddcf0d6059b53bd3a4b2b55df493899c

7 years agoDO NOT MERGE) ExifInterface: Close the file when an exception happens am: 418e0869ba
Sungsoo [Tue, 18 Oct 2016 17:35:23 +0000 (17:35 +0000)]
DO NOT MERGE) ExifInterface: Close the file when an exception happens am: 418e0869ba
am: a5affb045e

Change-Id: I4bb4440c019839073b4fcf6df54d726a02286680

7 years agoDO NOT MERGE) ExifInterface: Close the file when an exception happens am: ad74e88f1d
Sungsoo [Tue, 18 Oct 2016 17:35:22 +0000 (17:35 +0000)]
DO NOT MERGE) ExifInterface: Close the file when an exception happens am: ad74e88f1d
am: 41b775b40a  -s ours

Change-Id: I6ce63b74988fb4f87565be611a47c2f4a28cbc9b

7 years agoDO NOT MERGE) ExifInterface: Close the file when an exception happens am: 135524f2c5...
Sungsoo [Tue, 18 Oct 2016 17:35:16 +0000 (17:35 +0000)]
DO NOT MERGE) ExifInterface: Close the file when an exception happens am: 135524f2c5  -s ours
am: 02cd808ab8

Change-Id: Ic14a5adecb6fb0732a5b3c2a68a28fdcf1eb1bc4

7 years agoDO NOT MERGE) ExifInterface: Close the file when an exception happens
Sungsoo [Tue, 18 Oct 2016 17:29:03 +0000 (17:29 +0000)]
DO NOT MERGE) ExifInterface: Close the file when an exception happens
am: 135524f2c5  -s ours

Change-Id: I34fc1b37171ad6ea5d79035df6c4730260a0b47b

7 years agoDO NOT MERGE) ExifInterface: Close the file when an exception happens
Sungsoo [Tue, 18 Oct 2016 17:28:58 +0000 (17:28 +0000)]
DO NOT MERGE) ExifInterface: Close the file when an exception happens
am: 418e0869ba

Change-Id: Ifad08d681f67abc4dd9ad5d8c4e82b038cbd8322

7 years agoDO NOT MERGE) ExifInterface: Close the file when an exception happens
Sungsoo [Tue, 18 Oct 2016 17:28:58 +0000 (17:28 +0000)]
DO NOT MERGE) ExifInterface: Close the file when an exception happens
am: ad74e88f1d

Change-Id: Ic8a6e5b579c028a560436cdc6c3ca68a51cbf229

7 years agoDO NOT MERGE) ExifInterface: Close the file when an exception happens
Sungsoo [Tue, 18 Oct 2016 05:12:00 +0000 (14:12 +0900)]
DO NOT MERGE) ExifInterface: Close the file when an exception happens

Bug: 32068647, Bug: 30936376
Change-Id: I22fa2384348c890ca726d2b1632cd54e59d25a8f

7 years agoDO NOT MERGE) ExifInterface: Close the file when an exception happens
Sungsoo [Tue, 18 Oct 2016 05:12:00 +0000 (14:12 +0900)]
DO NOT MERGE) ExifInterface: Close the file when an exception happens

Bug: 32068647, Bug: 30936376
Change-Id: I22fa2384348c890ca726d2b1632cd54e59d25a8f

7 years agoDO NOT MERGE) ExifInterface: Close the file when an exception happens
Sungsoo [Tue, 18 Oct 2016 05:12:00 +0000 (14:12 +0900)]
DO NOT MERGE) ExifInterface: Close the file when an exception happens

Bug: 32068647, Bug: 30936376
Change-Id: I22fa2384348c890ca726d2b1632cd54e59d25a8f

7 years agoDO NOT MERGE) ExifInterface: Close the file when an exception happens
Sungsoo [Tue, 18 Oct 2016 05:12:00 +0000 (14:12 +0900)]
DO NOT MERGE) ExifInterface: Close the file when an exception happens

Bug: 32068647, Bug: 30936376
Change-Id: I22fa2384348c890ca726d2b1632cd54e59d25a8f

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 01:18:24 +0000 (01:18 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into klp-dev am: 6739ba0280 am: c36913e68a am: e3c0c509ea  -s ours am: 5bea7d3aee  -s ours am: 0eef6b3ff2
am: 6d7f209964  -s ours

Change-Id: Iff979c99a7aff3e68740052c49b7850275839965

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5...
Suprabh Shukla [Sat, 15 Oct 2016 01:10:39 +0000 (01:10 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5e861 am: 9df66924c0 am: e07b811d78  -s ours am: 9c78d0ad9f  -s ours am: 7dfd05f0e5
am: 2432cf3645  -s ours

Change-Id: Icbc41a48fbd9cc8f1c7423c96cac5730a52a78c9

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 01:10:15 +0000 (01:10 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into klp-dev am: 6739ba0280 am: c36913e68a am: e3c0c509ea  -s ours am: 5bea7d3aee  -s ours
am: 0eef6b3ff2

Change-Id: Ia5e16b194bb3af63506557c88ef2f5077dc58000

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5...
Suprabh Shukla [Sat, 15 Oct 2016 01:04:39 +0000 (01:04 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5e861 am: 9df66924c0 am: e07b811d78  -s ours am: 9c78d0ad9f  -s ours
am: 7dfd05f0e5

Change-Id: Icfcde7dc91379a4e69d688501a0c46797b212103

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 00:59:41 +0000 (00:59 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into klp-dev am: 6739ba0280 am: c36913e68a am: e3c0c509ea  -s ours
am: 5bea7d3aee  -s ours

Change-Id: If66e50ff4d2f4c1b91ed3204d7a11000429489d5

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5...
Suprabh Shukla [Sat, 15 Oct 2016 00:56:40 +0000 (00:56 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5e861 am: 9df66924c0 am: e07b811d78  -s ours
am: 9c78d0ad9f  -s ours

Change-Id: I6e82648a135bd8ae17337eb97518eb8856d065e0

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 00:49:46 +0000 (00:49 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into klp-dev am: 6739ba0280 am: c36913e68a
am: e3c0c509ea  -s ours

Change-Id: I287e60913bd2a3f6b46d1d5ef2413727e3e63cc2

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5...
Suprabh Shukla [Sat, 15 Oct 2016 00:48:51 +0000 (00:48 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5e861 am: 9df66924c0
am: e07b811d78  -s ours

Change-Id: Ia9271aeed1c2953a318fc4bf50ee169739147d66

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 00:43:00 +0000 (00:43 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into lmp-dev am: 35bd0fc5f0  -s ours am: 40a13c5917
am: 0645127e25  -s ours

Change-Id: I6ae49833a96e2e12420cfb916c8e080766a253e4

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 4779ee...
Suprabh Shukla [Sat, 15 Oct 2016 00:41:55 +0000 (00:41 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 4779ee70a2  -s ours am: 8d124e37f1
am: 56b525a313  -s ours

Change-Id: Iab15781f9b4c30c883db9267b06cc85cc7c0f3df

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 00:41:36 +0000 (00:41 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into klp-dev am: 6739ba0280
am: c36913e68a

Change-Id: I65ab1551a4cdbbdf58bf9ec98f718e79c6ee9fe5

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 190e66685f
Christopher Tate [Sat, 15 Oct 2016 00:41:09 +0000 (00:41 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 190e66685f
am: eafeb8becf  -s ours

Change-Id: Ia2dd7a763735ffc612a1043faba75a97e0726298

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5e861
Suprabh Shukla [Sat, 15 Oct 2016 00:40:45 +0000 (00:40 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 2aa7e5e861
am: 9df66924c0

Change-Id: I9bd2580a687037fe9c5d74765d47bb4500b4d096

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 00:38:27 +0000 (00:38 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into lmp-dev am: 35bd0fc5f0  -s ours
am: 40a13c5917

Change-Id: I15dbea28f9afc052060eb802340f745ad82a7281

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders am: 4779ee...
Suprabh Shukla [Sat, 15 Oct 2016 00:37:25 +0000 (00:37 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders am: 4779ee70a2  -s ours
am: 8d124e37f1

Change-Id: I59ee9b64743d128b3d9262b38897e84b1ed64b56

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 00:34:11 +0000 (00:34 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into klp-dev
am: 6739ba0280

Change-Id: Ib8534d2c7ae344d430a9ba2e227cb65d942f0222

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders
Suprabh Shukla [Sat, 15 Oct 2016 00:34:09 +0000 (00:34 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders
am: 2aa7e5e861

Change-Id: Ied81e1f4b517627f0ced686e7485fa035b1f4c6a

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 00:34:06 +0000 (00:34 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into lmp-dev
am: 35bd0fc5f0  -s ours

Change-Id: I852b990d1715782f3332d56bba6f08b72da403c6

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders
Suprabh Shukla [Sat, 15 Oct 2016 00:34:04 +0000 (00:34 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders
am: 4779ee70a2  -s ours

Change-Id: Ie4aef1642ca6f23d78e732f27455ebd087866121

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders
Christopher Tate [Sat, 15 Oct 2016 00:33:36 +0000 (00:33 +0000)]
DO NOT MERGE Isolated processes don't get precached system service binders
am: 190e66685f

Change-Id: I0ed530e9909811e592f966a44f41400a0146c5b6

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
Suprabh Shukla [Sat, 15 Oct 2016 00:26:18 +0000 (00:26 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into lmp-dev

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
TreeHugger Robot [Sat, 15 Oct 2016 00:24:31 +0000 (00:24 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into klp-dev

7 years agoMerge "DO NOT MERGE Isolated processes don't get precached system service binders...
TreeHugger Robot [Sat, 15 Oct 2016 00:23:48 +0000 (00:23 +0000)]
Merge "DO NOT MERGE Isolated processes don't get precached system service binders" into mnc-dev

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders
Christopher Tate [Tue, 16 Aug 2016 23:03:44 +0000 (16:03 -0700)]
DO NOT MERGE Isolated processes don't get precached system service binders

More specifically, they get a PackageManager binder -- necessary for
Android process startup and configuration -- but none of the other
usual preloaded service binders.

Bug 30202228

Change-Id: I3810649f504cd631665ece338a83d2e54d41ad05
(cherry picked from commit 2c61c57ac53cbb270b4e76b9d04465f8a3f6eadc)

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders
Suprabh Shukla [Thu, 13 Oct 2016 02:01:11 +0000 (19:01 -0700)]
DO NOT MERGE Isolated processes don't get precached system service binders

More specifically, they get a PackageManager binder -- necessary for
Android process startup and configuration -- but none of the other
usual preloaded service binders.
(backported from commit 2c61c57ac53cbb270b4e76b9d04465f8a3f6eadc)

Bug: 30202228

Change-Id: I3810649f504cd631665ece338a83d2e54d41ad05

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders
Suprabh Shukla [Thu, 13 Oct 2016 23:33:04 +0000 (16:33 -0700)]
DO NOT MERGE Isolated processes don't get precached system service binders

More specifically, they get a PackageManager binder -- necessary for
Android process startup and configuration -- but none of the other
usual preloaded service binders.
(backported from commit 2c61c57ac53cbb270b4e76b9d04465f8a3f6eadc)

Bug: 30202228

Change-Id: I3810649f504cd631665ece338a83d2e54d41ad05

7 years agoDO NOT MERGE Isolated processes don't get precached system service binders
Christopher Tate [Tue, 16 Aug 2016 23:03:44 +0000 (16:03 -0700)]
DO NOT MERGE Isolated processes don't get precached system service binders

More specifically, they get a PackageManager binder -- necessary for
Android process startup and configuration -- but none of the other
usual preloaded service binders.

Bug 30202228

Change-Id: I3810649f504cd631665ece338a83d2e54d41ad05
(cherry picked from commit 2c61c57ac53cbb270b4e76b9d04465f8a3f6eadc)

7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility am: c11f599a2f am: 29e643...
Sungsoo [Thu, 13 Oct 2016 22:22:53 +0000 (22:22 +0000)]
DO NOT MERGE) ExifInterface: Provide backward compatibility am: c11f599a2f am: 29e643bcbd am: 68aa33b9bf  -s ours am: 2a762996cb  -s ours am: a8d06257c1
am: 2179b54c9c  -s ours

Change-Id: I93f44a4deb665e4e5f8695fbc3b3e3a471260c28

7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility am: c11f599a2f am: 29e643...
Sungsoo [Thu, 13 Oct 2016 22:18:36 +0000 (22:18 +0000)]
DO NOT MERGE) ExifInterface: Provide backward compatibility am: c11f599a2f am: 29e643bcbd am: 68aa33b9bf  -s ours am: 2a762996cb  -s ours
am: a8d06257c1

Change-Id: I5f25f766a472bfddc32aa7ab7e506bc5e5d6854b

7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility am: c11f599a2f am: 29e643...
Sungsoo [Thu, 13 Oct 2016 22:12:03 +0000 (22:12 +0000)]
DO NOT MERGE) ExifInterface: Provide backward compatibility am: c11f599a2f am: 29e643bcbd am: 68aa33b9bf  -s ours
am: 2a762996cb  -s ours

Change-Id: If32418debc774a2f78eae4cc2b3f5b77457bfa1c

7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility am: c11f599a2f am: 29e643bcbd
Sungsoo [Thu, 13 Oct 2016 22:06:03 +0000 (22:06 +0000)]
DO NOT MERGE) ExifInterface: Provide backward compatibility am: c11f599a2f am: 29e643bcbd
am: 68aa33b9bf  -s ours

Change-Id: I7fe3d5dbcb7bd206233ce969840f5ed182913dd6

7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility am: 22bd36448e -s ours...
Sungsoo [Thu, 13 Oct 2016 22:06:00 +0000 (22:06 +0000)]
DO NOT MERGE) ExifInterface: Provide backward compatibility am: 22bd36448e  -s ours am: 3992742559
am: 2816a5fa5e  -s ours

Change-Id: I51df5f3d8e79c31f6c299fdbeec3fbfb9d9a300e

7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility am: c11f599a2f
Sungsoo [Thu, 13 Oct 2016 22:01:39 +0000 (22:01 +0000)]
DO NOT MERGE) ExifInterface: Provide backward compatibility am: c11f599a2f
am: 29e643bcbd

Change-Id: I413ba35abfc8999c405df78a40b8182f19472b6a

7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility am: 22bd36448e -s ours
Sungsoo [Thu, 13 Oct 2016 22:00:51 +0000 (22:00 +0000)]
DO NOT MERGE) ExifInterface: Provide backward compatibility am: 22bd36448e  -s ours
am: 3992742559

Change-Id: I0b7cbc29fa69ff1170e377bd51621c5a5e14f793

7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility am: 87a9ac70c3
Sungsoo [Thu, 13 Oct 2016 21:59:28 +0000 (21:59 +0000)]
DO NOT MERGE) ExifInterface: Provide backward compatibility am: 87a9ac70c3
am: 11b522b40f  -s ours

Change-Id: I144aee71338030bd8db42cc8ba8c12976e371762

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 21:56:56 +0000 (21:56 +0000)]
DO NOT MERGE) ExifInterface: Provide backward compatibility
am: c11f599a2f

Change-Id: If503e3361e69ad88a166f145603273d728d65652

7 years agoDO NOT MERGE) ExifInterface: Provide backward compatibility
Sungsoo [Thu, 13 Oct 2016 21:54:25 +0000 (21:54 +0000)]
DO NOT MERGE) ExifInterface: Provide backward compatibility
am: 87a9ac70c3

Change-Id: I6639c6763ee1f7d83d03cc6d5fa11cbf1516e7cc

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 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 am: fce3b76452 -s ours am: ded4df2e79...
Jaewan Kim [Thu, 22 Sep 2016 21:56:51 +0000 (21:56 +0000)]
Merge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452  -s ours am: ded4df2e79 am: 462493ee81
am: 585f642d65  -s ours

Change-Id: Ibbc592cb5fc2b035b87cbb89dcf5dee085c63e14

7 years agoDO NOT MERGE Fix build am: dfedca4e43 -s ours am: 499871ebe9 am: 3ea1f124f9
Jaewan Kim [Thu, 22 Sep 2016 21:55:51 +0000 (21:55 +0000)]
DO NOT MERGE Fix build am: dfedca4e43  -s ours am: 499871ebe9 am: 3ea1f124f9
am: ed3e26e2be  -s ours

Change-Id: Ie4fd67251243bba5f6c39320b752cd1cb9f8987e

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

Change-Id: I822c5aeb87aea023aa8dba38a4beb6de98225f4a

7 years agoDO NOT MERGE Fix build am: dfedca4e43 -s ours am: 499871ebe9
Jaewan Kim [Thu, 22 Sep 2016 20:33:24 +0000 (20:33 +0000)]
DO NOT MERGE Fix build am: dfedca4e43  -s ours am: 499871ebe9
am: 3ea1f124f9

Change-Id: I6762900887ed8ec6afb5b787fc3a2426b846a6c1

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

Change-Id: I16dd5912ae18ae4f25bdd9a8e2fa7d07ca8f1b61

7 years agoDO NOT MERGE Fix build am: dfedca4e43 -s ours
Jaewan Kim [Thu, 22 Sep 2016 20:03:57 +0000 (20:03 +0000)]
DO NOT MERGE Fix build am: dfedca4e43  -s ours
am: 499871ebe9

Change-Id: I7999092c3ba1df344f305b3e5d2befa65d1ad04a

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 13:58:30 +0000 (13:58 +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 am: 890f53a486 am: 1bf809c490
am: 6ad7c0f6ce  -s ours

Change-Id: I71157581308c3ef4be7dad8db5c7d9a637a24320

7 years agoDO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27...
Jaewan Kim [Thu, 22 Sep 2016 13:31:57 +0000 (13:31 +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 am: f140f796ea am: 7eaeeb49bb
am: 7ffaaca237  -s ours

Change-Id: I1db1ad50bfd89c038f9d226109958011aeb1496e

7 years agoMerge "DO NOT MERGE Check caller for sending media key to telephony service" into...
Jaewan Kim [Thu, 22 Sep 2016 13:10:13 +0000 (13:10 +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 am: 890f53a486
am: 1bf809c490

Change-Id: I0a316929c7654f89e435ac459bc9175434136f99

7 years agoMerge "DO NOT MERGE Check caller for sending media key to telephony service" into...
Jaewan Kim [Thu, 22 Sep 2016 12:29:19 +0000 (12:29 +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
am: 890f53a486

Change-Id: I7f85d8785ce8829cb9d01a23413c545f5e5a769a

7 years agoMerge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed...
Ajay Panicker [Thu, 22 Sep 2016 12:28:51 +0000 (12:28 +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 am: 0241b6d88a am: 0fee65e58b
am: 08fed21f2c  -s ours

Change-Id: I2e790e95077c0760d1be6d984e7e90fb62a3d9db

7 years agoDO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27...
Jaewan Kim [Thu, 22 Sep 2016 11:21:01 +0000 (11:21 +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 am: f140f796ea
am: 7eaeeb49bb

Change-Id: I21b359b1471ee527a2bc975c399253def98e40fe

7 years agoMerge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed...
Ajay Panicker [Thu, 22 Sep 2016 09:53:30 +0000 (09:53 +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 am: 0241b6d88a
am: 0fee65e58b

Change-Id: I6e5bb9fea57cf5fe9cff68952d6b2878ce005d7c

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 ago[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed am...
Ajay Panicker [Thu, 22 Sep 2016 09:38:13 +0000 (09:38 +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 am: ed82c6fac8 am: c1f8a09c1e
am: 8091a00994  -s ours

Change-Id: I51723f883566989133b0c8be92108b8c910c0981

7 years agoDO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27...
Jaewan Kim [Thu, 22 Sep 2016 09:35:44 +0000 (09:35 +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
am: f140f796ea

Change-Id: I8db6ebc6704a60d44739e873038403c2740304e3

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 ago[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed am...
Ajay Panicker [Thu, 22 Sep 2016 08:06:50 +0000 (08:06 +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 am: ed82c6fac8
am: c1f8a09c1e

Change-Id: I846d53b9f2b8ac6215d873d2dc8ae3efa20c5919

7 years agoMerge "DO NOT MERGE Check caller for sending media key to global priority session...
Jaewan Kim [Thu, 22 Sep 2016 08:06:16 +0000 (08:06 +0000)]
Merge "DO NOT MERGE Check caller for sending media key to global priority session" into lmp-dev am: 64b7b1522e  -s ours am: 5abd69e59a am: f7f452fd28
am: 8a168a7c5d  -s ours

Change-Id: Ib4a702bd653ca1083ac4846ac4a6947ef91e2e33

7 years agoDO NOT MERGE Check caller for sending media key to global priority session am: 4e9af3...
Jaewan Kim [Thu, 22 Sep 2016 08:05:11 +0000 (08:05 +0000)]
DO NOT MERGE Check caller for sending media key to global priority session am: 4e9af38ec4  -s ours am: 031fb04776 am: 2d88f87a82
am: 64110c6bf1  -s ours

Change-Id: I69062cb6535df22a743270a62fda89dcca155e87

7 years agoMerge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed...
Ajay Panicker [Thu, 22 Sep 2016 08:03:19 +0000 (08:03 +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
am: 0241b6d88a

Change-Id: Ie34765f501d780285449d792c3ebee31090a2651

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 Check caller for sending media key to global priority session...
Jaewan Kim [Thu, 22 Sep 2016 06:41:03 +0000 (06:41 +0000)]
Merge "DO NOT MERGE Check caller for sending media key to global priority session" into lmp-dev am: 64b7b1522e  -s ours am: 5abd69e59a
am: f7f452fd28

Change-Id: Iaceb27058be8f06e2e1b0a115ba914f7b0aad7e4

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 agoDO NOT MERGE Check caller for sending media key to global priority session am: 4e9af3...
Jaewan Kim [Thu, 22 Sep 2016 06:40:05 +0000 (06:40 +0000)]
DO NOT MERGE Check caller for sending media key to global priority session am: 4e9af38ec4  -s ours am: 031fb04776
am: 2d88f87a82

Change-Id: Idd9cdf4bb14b4feced73ea176f3505ae02d630e7

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 ago[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed am...
Ajay Panicker [Thu, 22 Sep 2016 06:10:41 +0000 (06:10 +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
am: ed82c6fac8

Change-Id: Idd9dd9b69ae2d5d176c0b9ff663661985658230e

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 [Thu, 22 Sep 2016 03:48:37 +0000 (03:48 +0000)]
Merge "DO NOT MERGE Check caller for sending media key to global priority session" into lmp-mr1-dev am: 162c80bf0c am: e47b5adce2
am: bea0b3ec06  -s ours

Change-Id: Ic367544242a4034b66f03568eb7d1035f90836dd