Commit Graph

255075 Commits

Author SHA1 Message Date
Sungsoo Lim
9fffc56cb1 DO NOT MERGE: Remove the use of JHEAD in ExifInterface
Bug: 29270469
Change-Id: Iecc3d22375f6a79a81512419cdde31f720cef07c
2016-07-15 08:34:38 +00:00
Sungsoo Lim
8dbf0b5558 DO NOT MERGE: Remove the use of JHEAD in ExifInterface
Bug: 29270469
Change-Id: Iecc3d22375f6a79a81512419cdde31f720cef07c
2016-07-15 16:24:10 +09:00
Andrew Solovay
85c9090ee5 docs: Updating N Preview release notes for DP5
See first comment for doc stage location.

Change-Id: Ic5d6492b8eaf45016cf0711ef1833be220917ead
2016-07-14 19:38:04 -07:00
Bert McMeen
f506485b51 Docs: Behavior changes such as activity dismissal
Bug: 29447512
Change-Id: I5360212eab317fab5198afd36780c2d3cfe4d255
2016-07-14 16:11:18 -07:00
Victor Chang
07e11c3ae9 Merge \"Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restriction is set\" into nyc-dev
am: 488042fe3b

Change-Id: Ia41b8b2acbe3897423ac27881f3419efcfeeb002
2016-07-14 22:10:06 +00:00
Victor Chang
488042fe3b Merge "Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restriction is set" into nyc-dev 2016-07-14 22:04:11 +00:00
Kevin Hufnagle
0da25a69f3 docs: Added note about limited support for hardware key attestation
Most devices running Android N support only software-based key
attestation, so added several notes to the pages describing this
tool to help developers understand how to tell whether a device
supports only software-based key attestation and the associated
effects of this support level.

Bug: 28851641
Change-Id: I16c8ad7702814eba1e4b8b3ee7e9a569d08c3ff4
2016-07-14 14:35:13 -07:00
Bill Yi
60c459ff05 Merge \"Import translations. DO NOT MERGE\" into nyc-dev
am: 9cdfb9d781  -s ours

Change-Id: Ib5e9579d28d84fa2fa26910fb6857b06b2d09560
2016-07-14 20:46:02 +00:00
TreeHugger Robot
9cdfb9d781 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-07-14 20:39:49 +00:00
Sergio Giro
73b29dc307 Add bound checks to utf16_to_utf8 am: bce11021b2 am: 008120497b am: bab3334226 am: ff58d7c918 -s ours
am: 437776ac65

Change-Id: I5cfc049e64fd76fc865dcaf04590e3f665dc91f4
2016-07-14 18:48:57 +00:00
Sergio Giro
437776ac65 Add bound checks to utf16_to_utf8 am: bce11021b2 am: 008120497b am: bab3334226
am: ff58d7c918  -s ours

Change-Id: I31000817d4f99c215277d580948a20194176d53e
2016-07-14 18:42:45 +00:00
Sergio Giro
ff58d7c918 Add bound checks to utf16_to_utf8 am: bce11021b2 am: 008120497b
am: bab3334226

Change-Id: I6e4e399dfcf89f46d40a162c77462b889883f569
2016-07-14 18:23:54 +00:00
Felipe Leme
bc84c54a2b Merge \"Fixed statuses on Battery Saver column.\" into nyc-dev
am: 24b2e7bbee

Change-Id: I7920617a1506817b25ade8e92bfb1945d2f173bb
2016-07-14 18:23:34 +00:00
Sergio Giro
bab3334226 Add bound checks to utf16_to_utf8 am: bce11021b2
am: 008120497b

Change-Id: Ib3135f8f186b10b773592d2bcbeae398cfd2fee1
2016-07-14 18:15:33 +00:00
smain@google.com
49d6fd640b delete old Community page, redirect to Support page
am: 845cf07bdd

Change-Id: I9df159290cf9818dd566754cea0e880afdb1633d
2016-07-14 18:14:02 +00:00
Felipe Leme
24b2e7bbee Merge "Fixed statuses on Battery Saver column." into nyc-dev 2016-07-14 18:10:56 +00:00
Sergio Giro
6feeeabd20 Add bound checks to utf16_to_utf8
am: 1deedbacc3

Change-Id: I05847ae2c26a266b3c05324230062757e6978fd2
2016-07-14 18:07:33 +00:00
Sergio Giro
008120497b Add bound checks to utf16_to_utf8
am: bce11021b2

Change-Id: Ic4995dee3763290f75b3ef623f257c71748d9d51
2016-07-14 18:07:23 +00:00
smain@google.com
845cf07bdd delete old Community page, redirect to Support page
Change-Id: I2c570f8bf88392db75aa78c2e702515b262f2830
2016-07-14 11:05:19 -07:00
Felipe Leme
9e325706f4 Fixed statuses on Battery Saver column.
BUG: 30139400

Change-Id: I1798607af13c9be5e1f21212fd7078f7152562bd
2016-07-14 11:04:49 -07:00
Benjamin Franz
7fbb93d4aa DO NOT MERGE Block the user from entering safe boot mode
Block the user from entering safe boot mode if the DISALLOW_SAFE_BOOT
policy is set.

Bug: 26251884
Change-Id: I4945d5d676928346c11ea305a5b6a2e1a42e94e6
2016-07-14 17:28:55 +00:00
Sergio Giro
bce11021b2 Add bound checks to utf16_to_utf8
Test: ran libaapt2_tests64
Bug: 29250543
Change-Id: I1ebc017af623b6514cf0c493e8cd8e1d59ea26c3
(cherry picked from commit 4781057e78)
2016-07-14 16:37:18 +01:00
Bill Yi
1ed65a2799 Import translations. DO NOT MERGE
Change-Id: I00c813fd0ad16c98cc15eec52a9af333528babfa
Auto-generated-cl: translation import
2016-07-14 06:33:13 -07:00
Sergio Giro
1deedbacc3 Add bound checks to utf16_to_utf8
Test: ran libaapt2_tests64
Bug: 29250543
Change-Id: I1ebc017af623b6514cf0c493e8cd8e1d59ea26c3
(cherry picked from commit 4781057e78)
2016-07-14 13:27:53 +00:00
Victor Chang
e293b0cd00 Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restriction is set
Fix: 29899712

Change-Id: I38cc9d0e584c3f2674c9ff1d91f77a11479d8943
(cherry picked from commit 9c7b706cf4)
2016-07-14 10:47:35 +00:00
Andrew Solovay
73228f754d Merge \"docs: Added link to API diff between M and N\" into nyc-dev
am: 17b221792a

Change-Id: I435a52f4bbf224a1f64ca2c34ea17c1e6ac779d0
2016-07-14 02:03:59 +00:00
Andrew Solovay
17b221792a Merge "docs: Added link to API diff between M and N" into nyc-dev 2016-07-14 01:52:20 +00:00
Adam Lesinski
165e9d92b2 Merge \"Don\'t hold on to AssetManager instances\" into nyc-dev
am: f8e99e72e7

Change-Id: Id29ae90fd336657d428a15fa0730b95d717386db
2016-07-14 01:50:52 +00:00
Adam Lesinski
f8e99e72e7 Merge "Don't hold on to AssetManager instances" into nyc-dev 2016-07-14 01:40:35 +00:00
Wei Jia
44d76c7a72 Merge \"MediaDataSource: add DrmInitialization for IDataSource.\" into nyc-dev
am: 9604b3803c

Change-Id: Ibbb2272be91fb6c79795566cb9928bfb8adde002
2016-07-14 01:14:42 +00:00
TreeHugger Robot
9604b3803c Merge "MediaDataSource: add DrmInitialization for IDataSource." into nyc-dev 2016-07-14 01:07:15 +00:00
Adam Lesinski
e60064ab3c Don't hold on to AssetManager instances
If we enter multi-window mode or load WebView
assets into a Resources object, then the underlying
AssetManager instance may change.

crbug.com/627586

Bug:30118654

Change-Id: I837637bdad5370809db7f060d7d8536b536cad9e
2016-07-14 00:22:12 +00:00
Tim Murray
d14f678120 Merge \"Don\'t dump stack traces for background ANRs.\" into nyc-dev
am: b2b203ae13

Change-Id: Iea2c941636c829b687470244cff22a03ea51d9f7
2016-07-14 00:07:49 +00:00
Tim Murray
b2b203ae13 Merge "Don't dump stack traces for background ANRs." into nyc-dev 2016-07-14 00:00:30 +00:00
Wei Jia
509cbb6385 MediaDataSource: add DrmInitialization for IDataSource.
Bug: 29342399
Bug: 28901867
Change-Id: Ib2049566582aa08783ff588dd25afef4e1c0b5e2
(cherry picked from commit a03dc2b5eb)
2016-07-13 23:24:20 +00:00
David Friedman
2d03a0c9c4 Merge \"Doc: Minor fixes following launch of Performance section on DAC.\" into nyc-dev
am: 419dbdb538

Change-Id: I619eefcc177dfd980ed5005e9df7a428b75f0418
2016-07-13 23:15:39 +00:00
Chris Craik
9014be18b3 Merge \"Avoid throwing when 0 size layer requested\" into nyc-dev
am: 807989facd

Change-Id: I09c2114b0ff2aa1badb414da9b3b5cd2bbd63669
2016-07-13 23:15:35 +00:00
smain@google.com
39426fd8f6 update the version number used in docs
and update the offline docs landing page

Change-Id: I36388e0a125d6349518d9c4d5368fb76fb85cf7a
2016-07-13 16:08:25 -07:00
Tim Murray
f0f9a82981 Don't dump stack traces for background ANRs.
Dumping stack traces can be extremely expensive, and doing so for
background applications often has extremely negative side effects for
foreground applications. This can be exacerbated by resource-intensive
applications, because those may exhibit thermal throttling in the first
place. For such applications, the additional performance hit caused by
stack dumps may be catastrophic.

Instead, don't dump stack traces for background ANRs except for the app
that actually ANR'd.

bug 30112521

Change-Id: I8a05059343254861c436a193690cd1c50a95d674
2016-07-13 16:02:43 -07:00
Joe Fernandez
419dbdb538 Merge "Doc: Minor fixes following launch of Performance section on DAC." into nyc-dev 2016-07-13 23:00:27 +00:00
Chris Craik
807989facd Merge "Avoid throwing when 0 size layer requested" into nyc-dev 2016-07-13 22:49:20 +00:00
Cheryl Potter
cdbf1ec394 Merge \"docs: added placeholder redirect for New Class dialog AS 2.2 b/30045484\" into nyc-dev
am: e820803172

Change-Id: Ib3f7b1971925f8cfd2cf29bf156021bfe43ff264
2016-07-13 22:44:28 +00:00
Keith Mok
de89c2fd70 Fix random crash in libhwui
On some cases (noticed from log) that there is a crash in
libhwui.so, future debug log shows that the light center position
values are nan, causing an out of bound access in hull function
in SpotShadow.cpp for parameter retPoly which assume to be of
maximum length of pointsLength only but not the case when all
points are nan.

More log shows that a Snapshot was created (new) without
mRelativeLightCenter begin set, and Layer.cpp trying to
use it by calling updateLightPosFromRenderer. Those values
are random values in stack which causing math calc based on
that value returning nan also.

Initialize mRelativeLightCenter to 0 in Snapshot.cpp to avoid the
problem.

Change-Id: I9e24f6f1f856d053d09db1b1aae100f219f2a6de
2016-07-13 15:20:47 -07:00
Andrew Solovay
b1b8cadd40 docs: Added link to API diff between M and N
Removed links to download the reference docs bundle, now that the
API docs and the diff are available online.

See first comment for doc stage location.

bug: 29245751
Change-Id: I65f8661463cb03b6651391771abd2597d6e59a44
2016-07-13 15:17:10 -07:00
Cheryl Potter
e820803172 Merge "docs: added placeholder redirect for New Class dialog AS 2.2 b/30045484" into nyc-dev 2016-07-13 22:13:51 +00:00
Dmitriy Filchenko
a21bfb1160 Merge \\"Remove calls to set_process_name.\\" am: 8ee58b3b4e
am: c1a1487057

Change-Id: I3319e3f159c13a5135d6986d7e4a29a1ac88a18b
2016-07-13 20:02:33 +00:00
Dmitriy Filchenko
c1a1487057 Merge \"Remove calls to set_process_name.\"
am: 8ee58b3b4e

Change-Id: Ia0157f7b7fa1b048ca98b55f5525089046e6cccd
2016-07-13 19:57:52 +00:00
Treehugger Robot
8ee58b3b4e Merge "Remove calls to set_process_name." 2016-07-13 19:50:52 +00:00
Mark Lu
30b28f53b8 docs: Fixed indentation for android:required attribute
Change-Id: Ie053708ac3452d06d08773e95f56136895282e99
2016-07-13 11:08:34 -07:00
Kevin Hufnagle
0265530bda Merge \"docs: Added \"developer stories\" articles.\" into nyc-dev
am: 686996d2dc

Change-Id: Ib6470cf466c655d97000b23bd5f7e6f485152d02
2016-07-13 18:06:49 +00:00