OSDN Git Service

android-x86/frameworks-base.git
7 years agoZygote : Block SIGCHLD during fork. am: dfcc79ee8e
Narayan Kamath [Thu, 10 Nov 2016 10:21:57 +0000 (10:21 +0000)]
Zygote : Block SIGCHLD during fork. am: dfcc79ee8e
am: 720fcbc1f7

Change-Id: I18aeb47e1a4f061d5afe55a2aa936ae1d1cc61ff

7 years agoZygote : Block SIGCHLD during fork.
Narayan Kamath [Thu, 10 Nov 2016 10:15:56 +0000 (10:15 +0000)]
Zygote : Block SIGCHLD during fork.
am: dfcc79ee8e

Change-Id: I64b380e54d73c777898ece33ba62b838b556921b

7 years agoMerge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmal...
Xin Li [Wed, 9 Nov 2016 20:52:19 +0000 (20:52 +0000)]
Merge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow-dev" into mnc-dev." into mnc-dev am: cc115c5931 am: eda0b0078e am: 71e62a4058 am: 503661118a  -s ours am: 4146229e69
am: 0bf282606f

Change-Id: I52dc31670838c2d067bf262981885f5bf2be3445

7 years agoMerge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow...
Xin Li [Wed, 9 Nov 2016 20:51:08 +0000 (20:51 +0000)]
Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow-dev" into mnc-dev. am: ee2903686f  -s ours am: 6166af96ba am: 63c9a312a2 am: 84a9614947  -s ours am: d167a27c1f
am: 892385f520

Change-Id: Icd01d06e42adc1995f555cc6e6bc146baee0fce1

7 years agoMerge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmal...
Xin Li [Wed, 9 Nov 2016 20:45:40 +0000 (20:45 +0000)]
Merge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow-dev" into mnc-dev." into mnc-dev am: cc115c5931 am: eda0b0078e am: 71e62a4058 am: 503661118a  -s ours
am: 4146229e69

Change-Id: I5530c638ccd5ad8af4115e6d8c5f85351948811d

7 years agoMerge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow...
Xin Li [Wed, 9 Nov 2016 20:44:35 +0000 (20:44 +0000)]
Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow-dev" into mnc-dev. am: ee2903686f  -s ours am: 6166af96ba am: 63c9a312a2 am: 84a9614947  -s ours
am: d167a27c1f

Change-Id: I6301865f95712e610ab75031fe401386a8010efd

7 years agoMerge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmal...
Xin Li [Wed, 9 Nov 2016 20:36:11 +0000 (20:36 +0000)]
Merge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow-dev" into mnc-dev." into mnc-dev am: cc115c5931 am: eda0b0078e am: 71e62a4058
am: 503661118a  -s ours

Change-Id: I1dc24f01552359d8cdaea875f399878fa55ea2e0

7 years agoMerge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow...
Xin Li [Wed, 9 Nov 2016 20:34:42 +0000 (20:34 +0000)]
Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow-dev" into mnc-dev. am: ee2903686f  -s ours am: 6166af96ba am: 63c9a312a2
am: 84a9614947  -s ours

Change-Id: I0a1887ae82111b39e1dea53fadea452bc522c2ae

7 years agoMerge "Zygote: Additional whitelists for runtime overlay / other static resources...
Narayan Kamath [Wed, 9 Nov 2016 20:26:18 +0000 (20:26 +0000)]
Merge "Zygote: Additional whitelists for runtime overlay / other static resources." into nyc-dev am: 12f98789bf
am: acdb6bb1aa

Change-Id: I363a163de6d9856ca84cc153ce3ef7a4485dc22e

7 years agoZygote: Additional whitelists for runtime overlay / other static resources. am: 25cd0...
Narayan Kamath [Wed, 9 Nov 2016 20:25:13 +0000 (20:25 +0000)]
Zygote: Additional whitelists for runtime overlay / other static resources. am: 25cd01cc69
am: 4f65baa12f

Change-Id: Ib482d999552ca44ccc000a4a2f5604e920db2079

7 years agoMerge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmal...
Xin Li [Wed, 9 Nov 2016 20:24:23 +0000 (20:24 +0000)]
Merge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow-dev" into mnc-dev." into mnc-dev am: cc115c5931 am: eda0b0078e
am: 71e62a4058

Change-Id: I0d66e9689c9ec4a2537cdd23a73ec4dbb74cfd1a

7 years agoMerge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into nougat...
Xin Li [Wed, 9 Nov 2016 20:24:23 +0000 (20:24 +0000)]
Merge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into nougat-dev" into nyc-dev." into nyc-dev am: 49b144e630
am: 1a06ebfcac

Change-Id: I062b547da4a7190f27de0979b9859d4ce4307b00

7 years agoMerge "Merge "DO NOT MERGE - Added Emergency affordance feature" into nougat-dev...
Xin Li [Wed, 9 Nov 2016 20:23:02 +0000 (20:23 +0000)]
Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into nougat-dev" into nyc-dev. am: 9b9906e9c0  -s ours
am: b9634f3081

Change-Id: Icd07d2224a1b58800f7344ff3b7928b335904446

7 years agoMerge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow...
Xin Li [Wed, 9 Nov 2016 20:23:01 +0000 (20:23 +0000)]
Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow-dev" into mnc-dev. am: ee2903686f  -s ours am: 6166af96ba
am: 63c9a312a2

Change-Id: I5123223d1ba04f94d52261ab77d6ec33a0c7dc75

7 years agoMerge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmal...
Xin Li [Wed, 9 Nov 2016 20:17:53 +0000 (20:17 +0000)]
Merge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow-dev" into mnc-dev." into mnc-dev am: cc115c5931
am: eda0b0078e

Change-Id: Ibf745e727c36dd04b5cb30b574cca4b5709b9f4b

7 years agoMerge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow...
Xin Li [Wed, 9 Nov 2016 20:17:00 +0000 (20:17 +0000)]
Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow-dev" into mnc-dev. am: ee2903686f  -s ours
am: 6166af96ba

Change-Id: I591eb39cc8f7e3528a35ae1d98f641fdf12c4082

7 years agoMerge "Zygote: Additional whitelists for runtime overlay / other static resources...
Narayan Kamath [Wed, 9 Nov 2016 20:13:19 +0000 (20:13 +0000)]
Merge "Zygote: Additional whitelists for runtime overlay / other static resources." into nyc-dev
am: 12f98789bf

Change-Id: Ib86b20a2e51cac443adc73d5c18bca73ac316613

7 years agoZygote: Additional whitelists for runtime overlay / other static resources.
Narayan Kamath [Wed, 9 Nov 2016 20:13:16 +0000 (20:13 +0000)]
Zygote: Additional whitelists for runtime overlay / other static resources.
am: 25cd01cc69

Change-Id: I64dce88921b36a58dc66cd4b89e571ce9b8114eb

7 years agoMerge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into nougat...
Xin Li [Wed, 9 Nov 2016 20:11:43 +0000 (20:11 +0000)]
Merge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into nougat-dev" into nyc-dev." into nyc-dev
am: 49b144e630

Change-Id: Ib96a27383309fee13040dae1e12c23802a17f19f

7 years agoMerge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmal...
Xin Li [Wed, 9 Nov 2016 20:11:42 +0000 (20:11 +0000)]
Merge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow-dev" into mnc-dev." into mnc-dev
am: cc115c5931

Change-Id: I9e226ffdca4c3633061f0202da367e2be0eeeb1f

7 years agoMerge "Merge "DO NOT MERGE - Added Emergency affordance feature" into nougat-dev...
Xin Li [Wed, 9 Nov 2016 20:11:38 +0000 (20:11 +0000)]
Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into nougat-dev" into nyc-dev.
am: 9b9906e9c0  -s ours

Change-Id: I3456ce6db555dfed284003579ef24d70ae99d13c

7 years agoMerge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow...
Xin Li [Wed, 9 Nov 2016 20:11:37 +0000 (20:11 +0000)]
Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow-dev" into mnc-dev.
am: ee2903686f  -s ours

Change-Id: I565953c9962f328055512615185de735c33a50bb

7 years agoZygote : Block SIGCHLD during fork.
Narayan Kamath [Mon, 7 Nov 2016 16:22:48 +0000 (16:22 +0000)]
Zygote : Block SIGCHLD during fork.

We close the android logging related sockets prior as late as possible
before every fork to avoid having to whitelist them. If one of the
zygote's children dies after this point (but prior to the fork), we can
end up reopening the logging sockets from the SIGCHLD signal handler.

To prevent this from happening, block SIGCHLD during this critical
section.

Bug: 32693692
Test: Manual

(cherry picked from commit e9a525829a354c92983a35455ccab16d1b0d3892)

Zygote: Unblock SIGCHLD in the parent after fork.

Follow up to change e9a525829a354c92983a. Allows the zygote to
receive SIGCHLD again and prevents the zygote from getting into a
zombie state if it's killed.

Contributed-By: rhed_jao <rhed_jao@htc.com>
Bug: 32693692
Test: manual

(cherry picked from commit c7161f756e86b98f2244a04d9207b47149965fd7)

Change-Id: If89903a29c84dfc9b056f9e19618046874bba689

7 years agoMerge "Zygote: Additional whitelists for runtime overlay / other static resources...
Narayan Kamath [Wed, 9 Nov 2016 09:48:38 +0000 (09:48 +0000)]
Merge "Zygote: Additional whitelists for runtime overlay / other static resources." into nyc-dev

7 years agoMerge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmal...
Xin Li [Tue, 8 Nov 2016 21:25:38 +0000 (21:25 +0000)]
Merge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow-dev" into mnc-dev." into mnc-dev

7 years agoMerge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into nougat...
Xin Li [Tue, 8 Nov 2016 21:24:55 +0000 (21:24 +0000)]
Merge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into nougat-dev" into nyc-dev." into nyc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 8 Nov 2016 11:53:17 +0000 (11:53 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 8 Nov 2016 10:03:00 +0000 (02:03 -0800)]
Import translations. DO NOT MERGE

Change-Id: I1caa69921dbde7442c433f3373f17a442d1b48b3
Auto-generated-cl: translation import

7 years agoMerge "Public volumes belong to a single user." into mnc-dr-dev am: b232177c61 am...
Jeff Sharkey [Tue, 8 Nov 2016 00:49:41 +0000 (00:49 +0000)]
Merge "Public volumes belong to a single user." into mnc-dr-dev am: b232177c61 am: 0a23c1a995 am: 09e10e54f8 am: a61e5fb9f6
am: e9cd3aea19

Change-Id: I3b61d8fa4e3ad2ba0ba99e6918ace3a5871e128e

7 years agoPublic volumes belong to a single user. am: 6b0079d3bc am: dc89fb9390 am: babd7e06d3...
Jeff Sharkey [Tue, 8 Nov 2016 00:47:56 +0000 (00:47 +0000)]
Public volumes belong to a single user. am: 6b0079d3bc am: dc89fb9390 am: babd7e06d3 am: 8554f2d934
am: acdcb74361

Change-Id: I78abfa2adb14c2065117be41568d0fba90a277f7

7 years agoMerge "Public volumes belong to a single user." into mnc-dev am: 34849c22e7 am: 60acc...
Jeff Sharkey [Tue, 8 Nov 2016 00:42:43 +0000 (00:42 +0000)]
Merge "Public volumes belong to a single user." into mnc-dev am: 34849c22e7 am: 60acc3e6ab am: 7738ebcd5c am: 8e803f734a am: 874a7af9f7
am: aaeb6286fe

Change-Id: I33a40f027ecbd233f7e8cafd61f50479ff565dd8

7 years agoPublic volumes belong to a single user. am: 3a062a67fa am: e80720a731 am: 59bb608433...
Jeff Sharkey [Tue, 8 Nov 2016 00:35:26 +0000 (00:35 +0000)]
Public volumes belong to a single user. am: 3a062a67fa am: e80720a731 am: 59bb608433 am: 84ef9e69fc am: e4419f474e
am: d93ed63baa

Change-Id: I1d2a9bd0af847b8316720651bc2192151f999bcd

7 years agoMerge "Public volumes belong to a single user." into mnc-dr-dev am: b232177c61 am...
Jeff Sharkey [Tue, 8 Nov 2016 00:33:50 +0000 (00:33 +0000)]
Merge "Public volumes belong to a single user." into mnc-dr-dev am: b232177c61 am: 0a23c1a995 am: 09e10e54f8
am: a61e5fb9f6

Change-Id: I3716aa9bfc3816e9a0159560daf755fcf89904f1

7 years agoPublic volumes belong to a single user. am: 6b0079d3bc am: dc89fb9390 am: babd7e06d3
Jeff Sharkey [Tue, 8 Nov 2016 00:32:05 +0000 (00:32 +0000)]
Public volumes belong to a single user. am: 6b0079d3bc am: dc89fb9390 am: babd7e06d3
am: 8554f2d934

Change-Id: I81c9598e3434fe44f1324a4115a9eda39047070d

7 years agoMerge "Public volumes belong to a single user." into mnc-dev am: 34849c22e7 am: 60acc...
Jeff Sharkey [Tue, 8 Nov 2016 00:29:22 +0000 (00:29 +0000)]
Merge "Public volumes belong to a single user." into mnc-dev am: 34849c22e7 am: 60acc3e6ab am: 7738ebcd5c am: 8e803f734a
am: 874a7af9f7

Change-Id: Ia13bf45bfb0ac5057a2a8899b0bd543c238d7d3e

7 years agoPublic volumes belong to a single user. am: 3a062a67fa am: e80720a731 am: 59bb608433...
Jeff Sharkey [Tue, 8 Nov 2016 00:25:31 +0000 (00:25 +0000)]
Public volumes belong to a single user. am: 3a062a67fa am: e80720a731 am: 59bb608433 am: 84ef9e69fc
am: e4419f474e

Change-Id: Ic7ac4b928536fb5d7b18957d35e2ca1aea832fed

7 years agoPublic volumes belong to a single user. am: def2123f56 -s ours am: de221f06a3
Jeff Sharkey [Tue, 8 Nov 2016 00:19:39 +0000 (00:19 +0000)]
Public volumes belong to a single user. am: def2123f56  -s ours am: de221f06a3
am: 9854b1707c

Change-Id: I35e050710d0af31631ac2b0f823ed2fcabf174e2

7 years agoMerge "Public volumes belong to a single user." into mnc-dr-dev am: b232177c61 am...
Jeff Sharkey [Tue, 8 Nov 2016 00:17:51 +0000 (00:17 +0000)]
Merge "Public volumes belong to a single user." into mnc-dr-dev am: b232177c61 am: 0a23c1a995
am: 09e10e54f8

Change-Id: I1bb3bc5f0db563797262a8e4485f4ede25db4c99

7 years agoPublic volumes belong to a single user. am: 6b0079d3bc am: dc89fb9390
Jeff Sharkey [Tue, 8 Nov 2016 00:16:13 +0000 (00:16 +0000)]
Public volumes belong to a single user. am: 6b0079d3bc am: dc89fb9390
am: babd7e06d3

Change-Id: Ib810882924443e195b31d505f8d1657914c6edfe

7 years agoMerge "Public volumes belong to a single user." into mnc-dev am: 34849c22e7 am: 60acc...
Jeff Sharkey [Tue, 8 Nov 2016 00:13:51 +0000 (00:13 +0000)]
Merge "Public volumes belong to a single user." into mnc-dev am: 34849c22e7 am: 60acc3e6ab am: 7738ebcd5c
am: 8e803f734a

Change-Id: I80f21d5df3b37c27a9c56c1412ae942b88264349

7 years agoPublic volumes belong to a single user. am: 3a062a67fa am: e80720a731 am: 59bb608433
Jeff Sharkey [Tue, 8 Nov 2016 00:10:32 +0000 (00:10 +0000)]
Public volumes belong to a single user. am: 3a062a67fa am: e80720a731 am: 59bb608433
am: 84ef9e69fc

Change-Id: Icf8d31fa28b1223d3f789ff653bbecfbcf87bcfb

7 years agoPublic volumes belong to a single user. am: def2123f56 -s ours
Jeff Sharkey [Tue, 8 Nov 2016 00:09:41 +0000 (00:09 +0000)]
Public volumes belong to a single user. am: def2123f56  -s ours
am: de221f06a3

Change-Id: I73f0c785931688020dcdc5bd16f54449f0bf6f51

7 years agoMerge "Public volumes belong to a single user." into mnc-dr-dev am: b232177c61
Jeff Sharkey [Tue, 8 Nov 2016 00:04:28 +0000 (00:04 +0000)]
Merge "Public volumes belong to a single user." into mnc-dr-dev am: b232177c61
am: 0a23c1a995

Change-Id: Ib501fa0ed255de6ac64aae58ad12eaec4889d46e

7 years agoPublic volumes belong to a single user. am: 6b0079d3bc
Jeff Sharkey [Tue, 8 Nov 2016 00:03:04 +0000 (00:03 +0000)]
Public volumes belong to a single user. am: 6b0079d3bc
am: dc89fb9390

Change-Id: I2b4587edb6ae1a7c4c0eb4532a7af36143c20da5

7 years agoMerge "Public volumes belong to a single user." into mnc-dev am: 34849c22e7 am: 60acc...
Jeff Sharkey [Tue, 8 Nov 2016 00:01:30 +0000 (00:01 +0000)]
Merge "Public volumes belong to a single user." into mnc-dev am: 34849c22e7 am: 60acc3e6ab
am: 7738ebcd5c

Change-Id: Ib812b973ddb26098f10bd88a7ec19573bdf900c0

7 years agoPublic volumes belong to a single user.
Jeff Sharkey [Mon, 7 Nov 2016 23:59:45 +0000 (23:59 +0000)]
Public volumes belong to a single user.
am: def2123f56  -s ours

Change-Id: I2e71df725f742ab1e29f9b0f7f89285f659f8a35

7 years agoPublic volumes belong to a single user. am: 3a062a67fa am: e80720a731
Jeff Sharkey [Mon, 7 Nov 2016 23:59:38 +0000 (23:59 +0000)]
Public volumes belong to a single user. am: 3a062a67fa am: e80720a731
am: 59bb608433

Change-Id: I6cdf548573e909e11239e9a7a2f4190750a79758

7 years agoMerge "Public volumes belong to a single user." into mnc-dr-dev
Jeff Sharkey [Mon, 7 Nov 2016 23:54:41 +0000 (23:54 +0000)]
Merge "Public volumes belong to a single user." into mnc-dr-dev
am: b232177c61

Change-Id: I0188c9744af905133ad36ab45705828d5286b804

7 years agoPublic volumes belong to a single user.
Jeff Sharkey [Mon, 7 Nov 2016 23:54:35 +0000 (23:54 +0000)]
Public volumes belong to a single user.
am: 6b0079d3bc

Change-Id: Ibcd6221eaa3e15dddd0682c21eae2460cdf1683f

7 years agoMerge "Public volumes belong to a single user." into nyc-dev am: d537f76b88
Jeff Sharkey [Mon, 7 Nov 2016 23:51:20 +0000 (23:51 +0000)]
Merge "Public volumes belong to a single user." into nyc-dev am: d537f76b88
am: 930e77314b

Change-Id: I0dfbf6667e2a8c9f696274aaca08124b6a41d378

7 years agoPublic volumes belong to a single user. am: 6566fbe99b
Jeff Sharkey [Mon, 7 Nov 2016 23:50:07 +0000 (23:50 +0000)]
Public volumes belong to a single user. am: 6566fbe99b
am: 50cc6c111c

Change-Id: Id8b1fa49f1b2ebef27c0e9f81486c6964781fb68

7 years agoMerge "Public volumes belong to a single user." into mnc-dev am: 34849c22e7
Jeff Sharkey [Mon, 7 Nov 2016 23:48:57 +0000 (23:48 +0000)]
Merge "Public volumes belong to a single user." into mnc-dev am: 34849c22e7
am: 60acc3e6ab

Change-Id: I105a361b58b19c1102bef2c88a0ad5f281c793c6

7 years agoPublic volumes belong to a single user. am: 3a062a67fa
Jeff Sharkey [Mon, 7 Nov 2016 23:46:19 +0000 (23:46 +0000)]
Public volumes belong to a single user. am: 3a062a67fa
am: e80720a731

Change-Id: I2ccf22ad13ff106b1ee3c750258917dee6c6f631

7 years agoMerge "Public volumes belong to a single user." into nyc-mr1-dev
Jeff Sharkey [Mon, 7 Nov 2016 23:43:43 +0000 (23:43 +0000)]
Merge "Public volumes belong to a single user." into nyc-mr1-dev

7 years agoMerge "Public volumes belong to a single user." into mnc-dr-dev
Jeff Sharkey [Mon, 7 Nov 2016 23:43:23 +0000 (23:43 +0000)]
Merge "Public volumes belong to a single user." into mnc-dr-dev

7 years agoMerge "Public volumes belong to a single user." into nyc-dev
Jeff Sharkey [Mon, 7 Nov 2016 23:43:18 +0000 (23:43 +0000)]
Merge "Public volumes belong to a single user." into nyc-dev
am: d537f76b88

Change-Id: I6d76d35678d3a1cbbab3fe0290540fa5fe3c80ad

7 years agoPublic volumes belong to a single user.
Jeff Sharkey [Mon, 7 Nov 2016 23:43:14 +0000 (23:43 +0000)]
Public volumes belong to a single user.
am: 6566fbe99b

Change-Id: If636376b98c449aee3794259317e39a3f0f7f163

7 years agoMerge "Public volumes belong to a single user." into mnc-dev
Jeff Sharkey [Mon, 7 Nov 2016 23:35:40 +0000 (23:35 +0000)]
Merge "Public volumes belong to a single user." into mnc-dev
am: 34849c22e7

Change-Id: I5c57bb60ad565b4382184dbe55fc0e61d2fc3f0f

7 years agoPublic volumes belong to a single user.
Jeff Sharkey [Mon, 7 Nov 2016 23:35:34 +0000 (23:35 +0000)]
Public volumes belong to a single user.
am: 3a062a67fa

Change-Id: Ibe40a7985bde6ff6d8bc307c28b94f7b1445c961

7 years agoMerge "Public volumes belong to a single user." into nyc-dev
Jeff Sharkey [Mon, 7 Nov 2016 23:29:39 +0000 (23:29 +0000)]
Merge "Public volumes belong to a single user." into nyc-dev

7 years agoMerge "Public volumes belong to a single user." into mnc-dev
Jeff Sharkey [Mon, 7 Nov 2016 23:27:52 +0000 (23:27 +0000)]
Merge "Public volumes belong to a single user." into mnc-dev

7 years agoMerge "Docs: Revised the Drawable example" into nyc-dev am: 80956c99b1
Hemal Patel [Mon, 7 Nov 2016 22:22:06 +0000 (22:22 +0000)]
Merge "Docs: Revised the Drawable example" into nyc-dev am: 80956c99b1
am: 4da8fdaa15

Change-Id: I9596ce508e799a82c8224bb5e33d30c8de94311b

7 years agoDocs: Revised the Drawable example am: ad302b60f4
Hemal Patel [Mon, 7 Nov 2016 22:21:07 +0000 (22:21 +0000)]
Docs: Revised the Drawable example am: ad302b60f4
am: 32bda49ae3

Change-Id: I811bb218f83087c5dd602b4382c7496e019dcb0b

7 years agoMerge "Docs: Revised the Drawable example" into nyc-dev
Hemal Patel [Mon, 7 Nov 2016 22:11:06 +0000 (22:11 +0000)]
Merge "Docs: Revised the Drawable example" into nyc-dev
am: 80956c99b1

Change-Id: I9a030b5080f7c1abe9a9e00404a7b72979e27aec

7 years agoDocs: Revised the Drawable example
Hemal Patel [Mon, 7 Nov 2016 22:10:59 +0000 (22:10 +0000)]
Docs: Revised the Drawable example
am: ad302b60f4

Change-Id: I3504dde2e7a31a50c59e3be239ae0160f84435ef

7 years agoMerge "Docs: Revised the Drawable example" into nyc-dev
Hemal Patel [Mon, 7 Nov 2016 21:57:46 +0000 (21:57 +0000)]
Merge "Docs: Revised the Drawable example" into nyc-dev

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 agoDocs: Revised the Drawable example
Hemal Patel [Tue, 4 Oct 2016 01:27:18 +0000 (18:27 -0700)]
Docs: Revised the Drawable example

Revised the Drawable example with VectorDrawable-friendly example

Bug: 18009084
Change-Id: Ia6d0ad46a352601c7032244b17d28b9dd690de1d

7 years agoDO NOT MERGE ANYWHERE Add supports-multiwindow command to am.
Michael Kwan [Thu, 3 Nov 2016 08:04:24 +0000 (01:04 -0700)]
DO NOT MERGE ANYWHERE Add supports-multiwindow command to am.

The supports-multiwindow command allows the ability to
check if the device has multiwindow support in the shell.

Bug: 30120559
Change-Id: I466e28d8a794fa457826a6526ef9ef660cd3856c

7 years agoPublic volumes belong to a single user.
Jeff Sharkey [Wed, 2 Nov 2016 21:26:01 +0000 (15:26 -0600)]
Public volumes belong to a single user.

When a public (vfat) device is inserted, it's strongly associated
with the current foreground user, and no other users should be able
to access it, since otherwise that would be a cross-user data leak.

To use the device under a different user, switch users and then
eject/remount the device.

Test: verified user isolation of USB drive
Bug: 32523490
Change-Id: I590c791996f1fea8d78f625dc942d149f1f41614

7 years agoPublic volumes belong to a single user.
Jeff Sharkey [Wed, 2 Nov 2016 21:26:01 +0000 (15:26 -0600)]
Public volumes belong to a single user.

When a public (vfat) device is inserted, it's strongly associated
with the current foreground user, and no other users should be able
to access it, since otherwise that would be a cross-user data leak.

To use the device under a different user, switch users and then
eject/remount the device.

Test: verified user isolation of USB drive
Bug: 32523490
Change-Id: I590c791996f1fea8d78f625dc942d149f1f41614

7 years agoPublic volumes belong to a single user.
Jeff Sharkey [Wed, 2 Nov 2016 21:26:01 +0000 (15:26 -0600)]
Public volumes belong to a single user.

When a public (vfat) device is inserted, it's strongly associated
with the current foreground user, and no other users should be able
to access it, since otherwise that would be a cross-user data leak.

To use the device under a different user, switch users and then
eject/remount the device.

Test: verified user isolation of USB drive
Bug: 32523490
Change-Id: I590c791996f1fea8d78f625dc942d149f1f41614

7 years agoMerge "Revert "Don't invalidate list data during layout."" into nyc-mr1-dev
Phil Weaver [Wed, 2 Nov 2016 17:13:22 +0000 (17:13 +0000)]
Merge "Revert "Don't invalidate list data during layout."" into nyc-mr1-dev

7 years agoDO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multi...
Shuo Gao [Wed, 2 Nov 2016 15:57:25 +0000 (15:57 +0000)]
DO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multiple packages am: 1b5d5bd119  -s ours am: eb3696542a  -s ours am: 41bdd3a668  -s ours
am: 90c736f892  -s ours

Change-Id: I38668b4a372530962a0ae0d6e2a717319731dff0

7 years agoDO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous am: 80e6d8873b -s ours...
Thomas Buhot [Wed, 2 Nov 2016 15:56:38 +0000 (15:56 +0000)]
DO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous am: 80e6d8873b  -s ours am: 7b43f2af93  -s ours am: 40d2aa1edc  -s ours
am: eae299874c  -s ours

Change-Id: I6a8b5337f38b099bee806451db1df44c723e6596

7 years agoDO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multi...
Shuo Gao [Wed, 2 Nov 2016 15:51:17 +0000 (15:51 +0000)]
DO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multiple packages am: 1b5d5bd119  -s ours am: eb3696542a  -s ours
am: 41bdd3a668  -s ours

Change-Id: I70baae78d036713c95c02e9cad497a343d5d1309

7 years agoDO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous am: 80e6d8873b -s ours...
Thomas Buhot [Wed, 2 Nov 2016 15:50:38 +0000 (15:50 +0000)]
DO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous am: 80e6d8873b  -s ours am: 7b43f2af93  -s ours
am: 40d2aa1edc  -s ours

Change-Id: I741b9682b066384aadce0dcaf9ca792de015d59e

7 years agoDO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multi...
Shuo Gao [Wed, 2 Nov 2016 15:46:36 +0000 (15:46 +0000)]
DO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multiple packages am: 1b5d5bd119  -s ours
am: eb3696542a  -s ours

Change-Id: I9a78875432e05918c574c9d8ea89230067b811cc

7 years agoDO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous am: 80e6d8873b -s ours
Thomas Buhot [Wed, 2 Nov 2016 15:45:43 +0000 (15:45 +0000)]
DO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous am: 80e6d8873b  -s ours
am: 7b43f2af93  -s ours

Change-Id: Ia6804a8b93168a033075b6e77ac5d1bec63e3d69

7 years agoDO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multi...
Shuo Gao [Wed, 2 Nov 2016 15:41:06 +0000 (15:41 +0000)]
DO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multiple packages
am: 1b5d5bd119  -s ours

Change-Id: I6c218970581361c195471ee435f5a91b109911f0

7 years agoDO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous
Thomas Buhot [Wed, 2 Nov 2016 15:40:34 +0000 (15:40 +0000)]
DO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous
am: 80e6d8873b  -s ours

Change-Id: I521a8a64510e89ee97578fc5e2f600b4a1851bd3

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Wed, 2 Nov 2016 12:57:31 +0000 (12:57 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Nov 2016 00:45:25 +0000 (17:45 -0700)]
Import translations. DO NOT MERGE

Change-Id: I22df3420e521f99e68d025264954a102f14990df
Auto-generated-cl: translation import

7 years agoRevert "Don't invalidate list data during layout."
Phil Weaver [Tue, 1 Nov 2016 23:38:44 +0000 (23:38 +0000)]
Revert "Don't invalidate list data during layout."

This reverts commit 456158ffc29864e02b2f66481fe6b0efcfdacba0.

Change-Id: I7a61dc34dfc81ee650ca0883fe99c0f5dc08ba75

7 years agoDon't invalidate list data during layout.
Phil Weaver [Tue, 1 Nov 2016 16:55:24 +0000 (09:55 -0700)]
Don't invalidate list data during layout.

When a FastScroller is enabled, we were invalidating the
list data during layout, which left the UI in a bad state.
Long-presses didn't work properly, and TalkBack touches
were impossible to perform.

Bug: 31160338

Test: Manually tested long pressing, and verified
that TalkBack now works with the TestActivity in ag/1567328.
Change-Id: Iecd2d597259748a3ecbf5573950e565a0e9faa42

7 years agoMerge "Clean up InputConnection.commitContent() javadocs DO NOT MERGE" into nyc-mr1-dev
Chet Haase [Tue, 1 Nov 2016 17:25:38 +0000 (17:25 +0000)]
Merge "Clean up InputConnection.commitContent() javadocs DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 1 Nov 2016 07:30:55 +0000 (07:30 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 1 Nov 2016 05:57:11 +0000 (22:57 -0700)]
Import translations. DO NOT MERGE

Change-Id: I4fcdd721174d9228394afa5ad39de02a3fb309a5
Auto-generated-cl: translation import

7 years agoClean up InputConnection.commitContent() javadocs DO NOT MERGE
Chet Haase [Thu, 13 Oct 2016 22:49:09 +0000 (15:49 -0700)]
Clean up InputConnection.commitContent() javadocs DO NOT MERGE

Test: docs only, no test apart from verifying that it builds
Bug: #32158219 clean up InputConnection.commitContent() javadocs
Change-Id: I9b438d6b14aa8bc868fe41f7e0fe22b0e83800fb

7 years agoAlways scan the Settings app for updated shortcuts.
Makoto Onuki [Mon, 31 Oct 2016 22:32:17 +0000 (15:32 -0700)]
Always scan the Settings app for updated shortcuts.

The setting apps' version code is 25 for both DR and MR1, so the
shortcut manager will not notice when it's changed.

Let's just always scan this app.

Bug 32554059

Change-Id: Ia05363b30a5eeb989dc4c44cf5dbd71cde96de96

7 years agoPublic volumes belong to a single user.
Jeff Sharkey [Mon, 31 Oct 2016 20:33:49 +0000 (14:33 -0600)]
Public volumes belong to a single user.

When a public (vfat) device is inserted, it's strongly associated
with the current foreground user, and no other users should be able
to access it, since otherwise that would be a cross-user data leak.

To use the device under a different user, switch users and then
eject/remount the device.

Test: verified user isolation of USB drive
Bug: 32523490
Change-Id: I590c791996f1fea8d78f625dc942d149f1f41614

7 years agoPublic volumes belong to a single user.
Jeff Sharkey [Mon, 31 Oct 2016 20:33:49 +0000 (14:33 -0600)]
Public volumes belong to a single user.

When a public (vfat) device is inserted, it's strongly associated
with the current foreground user, and no other users should be able
to access it, since otherwise that would be a cross-user data leak.

To use the device under a different user, switch users and then
eject/remount the device.

Test: verified user isolation of USB drive
Bug: 32523490
Change-Id: I590c791996f1fea8d78f625dc942d149f1f41614

7 years agoMerge "[DO NOT MERGE] Only setSize if -s arg is specified" into nyc-mr1-dev
TreeHugger Robot [Fri, 28 Oct 2016 00:11:11 +0000 (00:11 +0000)]
Merge "[DO NOT MERGE] Only setSize if -s arg is specified" into nyc-mr1-dev

7 years ago[DO NOT MERGE] Only setSize if -s arg is specified
Fyodor Kupolov [Thu, 27 Oct 2016 01:36:57 +0000 (18:36 -0700)]
[DO NOT MERGE] Only setSize if -s arg is specified

Calculate size of installed APKs only when INSTALL_EXTERNAL flag is set.
calculateInstalledSize is expensive and may take up to 20% of total
installation time.

Bug: 32180551
Bug: 29932779
Change-Id: I173d2b38820cc86cbfacecd1bacef57369d10af7

7 years agoMerge "Only bind to RESOLVE_EPHEMERAL_PACKAGE once." into nyc-mr1-dev
Jeff Sharkey [Thu, 27 Oct 2016 20:18:08 +0000 (20:18 +0000)]
Merge "Only bind to RESOLVE_EPHEMERAL_PACKAGE once." into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 27 Oct 2016 04:58:33 +0000 (04:58 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 27 Oct 2016 04:56:58 +0000 (04:56 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 27 Oct 2016 04:44:58 +0000 (04:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 27 Oct 2016 03:12:01 +0000 (20:12 -0700)]
Import translations. DO NOT MERGE

Change-Id: I637b457c6e9a20345cd5dbe599c4dce15ca9040c
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 26 Oct 2016 23:42:29 +0000 (16:42 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie1a7cb9598cadefe20558f959a3bdfa1589e7652
Auto-generated-cl: translation import