Commit Graph

256895 Commits

Author SHA1 Message Date
Michael Wright
8b0faef1a2 Merge changes from topic \'bad-attr-buildfix\' into nyc-dev
am: 7e91ec88ef

* commit '7e91ec88ef61343345defe58ea968228b10d003a':
  Fix attr link in support lib docs.
  Revert "Revert "docs: Creating new support library revision history page""

Change-Id: I21b98fdba0187d4c941d93d67c14e4cf74842729
2016-05-18 15:16:34 +00:00
Narayan Kamath
44ff7748d9 Merge "PackageManager: Fix reference profile canonicalization." into nyc-dev am: 9f33e5cccc
am: 34d9a8c333

* commit '34d9a8c3335d1def24d1437d7c3c6cdd567dc9fe':
  PackageManager: Fix reference profile canonicalization.

Change-Id: I47d10820fbefbf1d176e0744408c076ababf32b1
2016-05-18 15:15:38 +00:00
Alex Light
0a72ba7d3f Make fake libart for misbehaving apps be loaded.
Bug: 27775991
Change-Id: Ie4eba211e876ec0643ce6ecf6a110f3cb5e0f57e
(cherry picked from commit 20ed24fc0c)
2016-05-18 08:14:34 -07:00
Michael Wright
f205245cf4 Merge changes from topic \'bad-attr-buildfix\' into nyc-dev
am: 7e91ec88ef

* commit '7e91ec88ef61343345defe58ea968228b10d003a':
  Fix attr link in support lib docs.
  Revert "Revert "docs: Creating new support library revision history page""

Change-Id: Ie2bdbbb96678a1e5cf6fe5e21d722335749cd7f7
2016-05-18 15:13:13 +00:00
Narayan Kamath
16d3fae494 Merge "PackageManager: Fix reference profile canonicalization." into nyc-dev
am: 9f33e5cccc

* commit '9f33e5cccc8816ed8d41716eb172ec28b9935946':
  PackageManager: Fix reference profile canonicalization.

Change-Id: I089272599a7d03b6e4b210cf5cc2c38a5659eeeb
2016-05-18 15:13:10 +00:00
Cheryl Potter
06c815fc74 docs: Add redirect for Android Device Monitor and change redirects for Virtual Device Config and Run/Debug Config b/28826469 b/28705592
am: d1da82f616

* commit 'd1da82f61614388c181ccbc9d4de2cfb6522c071':
  docs: Add redirect for Android Device Monitor and change redirects for Virtual Device Config and Run/Debug Config b/28826469 b/28705592

Change-Id: I0c2acc2d5204d34c177b534d7dd4b5ae5200f98f
2016-05-18 15:11:54 +00:00
Narayan Kamath
34d9a8c333 Merge "PackageManager: Fix reference profile canonicalization." into nyc-dev
am: 9f33e5cccc

* commit '9f33e5cccc8816ed8d41716eb172ec28b9935946':
  PackageManager: Fix reference profile canonicalization.

Change-Id: Id19a0107733ce3eb53d879e4cc13027dbd509a4f
2016-05-18 15:09:30 +00:00
Michael Wright
7e91ec88ef Merge changes from topic 'bad-attr-buildfix' into nyc-dev
* changes:
  Fix attr link in support lib docs.
  Revert "Revert "docs: Creating new support library revision history page""
2016-05-18 15:07:37 +00:00
Narayan Kamath
9f33e5cccc Merge "PackageManager: Fix reference profile canonicalization." into nyc-dev 2016-05-18 15:04:19 +00:00
Michael Wright
ae316f8424 Fix attr link in support lib docs.
It accidentally pointed to the media router resources rather than the
app compat ones.

Change-Id: Ie15bd056ebf939270dfcd45dda56946ed41b56f0
2016-05-18 15:58:39 +01:00
TreeHugger Robot
6ab41b2a07 Merge "resolve merge conflicts of 0ca33e8 to nyc-mr1-dev-plus-aosp" into nyc-mr1-dev-plus-aosp 2016-05-18 14:52:47 +00:00
Svet Ganov
2265fddba6 Hide ephemeral API
bug:28825660

Change-Id: I4e9cdd6e29df44a173136aed13c4039443d944cc
2016-05-18 07:38:29 -07:00
Julia Reynolds
a0163ef396 Merge "Handle PhoneStatusBarPolicy user switch callbacks on main thread" into nyc-dev am: 5201a6246d
am: 0ca33e84a1

* commit '0ca33e84a146218e801f653dcc1e194dd9fb0ed5':

Change-Id: Ifaace8487a13a4ac21dccdee229427c05cdae9d5
2016-05-18 14:34:45 +00:00
Julia Reynolds
c1168df3e9 resolve merge conflicts of 0ca33e8 to nyc-mr1-dev-plus-aosp
Change-Id: I363b70a22a000b4cc94381b31f0ef7053f5518eb
2016-05-18 10:32:51 -04:00
Julia Reynolds
43153f18c5 resolve merge conflicts of 5201a62 to nyc-dev-plus-aosp
am: cc8c594a5c

* commit 'cc8c594a5c5cb255907cb2eaddb37ea1321fa104':
  Handle PhoneStatusBarPolicy user switch callbacks on main thread

Change-Id: I816905527f5061e7af2fe14b42f9c0397036bdb7
2016-05-18 14:31:03 +00:00
Michael Wright
9363b31196 Revert "Revert "docs: Creating new support library revision history page""
This reverts commit 982fd04335.
2016-05-18 15:24:36 +01:00
Julia Reynolds
cc8c594a5c resolve merge conflicts of 5201a62 to nyc-dev-plus-aosp
Change-Id: I411ed02c96997416dc5e5eb4f289d3c25932babd
2016-05-18 10:24:28 -04:00
Toni Barzic
0ca33e84a1 Merge "Handle PhoneStatusBarPolicy user switch callbacks on main thread" into nyc-dev
am: 5201a6246d

* commit '5201a6246d12830d0bb766d59e22b0320f2f99dc':
  Handle PhoneStatusBarPolicy user switch callbacks on main thread

Change-Id: I561be9cf58d0a43abd43d98cf1ee717241f10ef1
2016-05-18 14:16:01 +00:00
Julia Reynolds
5201a6246d Merge "Handle PhoneStatusBarPolicy user switch callbacks on main thread" into nyc-dev 2016-05-18 14:09:50 +00:00
Narayan Kamath
6d99f79671 PackageManager: Fix reference profile canonicalization.
Foreign dex markers are named in the runtime by calling realpath(3) on the input
dexfile path and replacing "/" with "@". On the Java side, we're using
File.getCanonicalPath, which is similar but isn't quite the same. It tries
to call realpath() directly, but if that fails, it resorts to a series of
increasingly desperate measures to calculate a "canonical path". We just
use realpath instead.

Also, don't attempt to delete a profile if canonicalization fails.

bug: 28740848
Change-Id: Ie5d5af590187e793db633342a42b923865e5c005
2016-05-18 12:33:56 +00:00
Neil Fuller
a90127dcc8 Merge "Add support for ICU data pinning in the Zygote" am: 9b1d64410d am: 8491b4c05d
am: c724f2207f

* commit 'c724f2207f9186f25eeac5b2131e469dafb3bc90':
  Add support for ICU data pinning in the Zygote

Change-Id: I2c14d6dad84ed2bf5d6186ab795d54184bb483cb
2016-05-18 12:00:34 +00:00
Neil Fuller
c724f2207f Merge "Add support for ICU data pinning in the Zygote" am: 9b1d64410d
am: 8491b4c05d

* commit '8491b4c05d35b15e0a4c1a0ef2396cbb7169698a':
  Add support for ICU data pinning in the Zygote

Change-Id: I64ba8a96ab8990a051a68cbdb35f4b1de3738d09
2016-05-18 11:55:44 +00:00
Neil Fuller
8491b4c05d Merge "Add support for ICU data pinning in the Zygote"
am: 9b1d64410d

* commit '9b1d64410dfddc38ade15d1581de2c89ad79948a':
  Add support for ICU data pinning in the Zygote

Change-Id: I53a2d5f885df5cf633a4a63cb2e3c2bc5c75959e
2016-05-18 11:51:05 +00:00
Neil Fuller
9b1d64410d Merge "Add support for ICU data pinning in the Zygote" 2016-05-18 11:45:35 +00:00
Android Build Merger (Role)
ea0badc433 Merge "Merge "Refactor how StatusBarPolicy knows if keyguard is visible." into nyc-dev am: bbd26bc023 am: 05f2a86b3d" into nyc-mr1-dev-plus-aosp 2016-05-18 11:35:29 +00:00
Nicolas Prévot
035694803f Merge "Refactor how StatusBarPolicy knows if keyguard is visible." into nyc-dev am: bbd26bc023
am: 05f2a86b3d

* commit '05f2a86b3dab0872e5c318777b665b2435876d8c':
  Refactor how StatusBarPolicy knows if keyguard is visible.

Change-Id: I08f80e52a66e80e7a0db22a111bc2609cb4b1e33
2016-05-18 11:34:58 +00:00
Nicolas Prévot
7b95a64c04 Merge "Refactor how StatusBarPolicy knows if keyguard is visible." into nyc-dev am: bbd26bc023
am: d1d0c558b7

* commit 'd1d0c558b78f3504919c77140ee45b71cadfbe38':
  Refactor how StatusBarPolicy knows if keyguard is visible.

Change-Id: Icc3aeb92780317c8fa4259434e96d17bf16448f3
2016-05-18 11:34:56 +00:00
Nicolas Prevot
d1d0c558b7 Merge "Refactor how StatusBarPolicy knows if keyguard is visible." into nyc-dev
am: bbd26bc023

* commit 'bbd26bc023992ee7bc6a0e682d4a343dfe3dc848':
  Refactor how StatusBarPolicy knows if keyguard is visible.

Change-Id: Ib230238ee0ecb727ef716d844592bda0a86ae56d
2016-05-18 11:31:35 +00:00
Nicolas Prevot
05f2a86b3d Merge "Refactor how StatusBarPolicy knows if keyguard is visible." into nyc-dev
am: bbd26bc023

* commit 'bbd26bc023992ee7bc6a0e682d4a343dfe3dc848':
  Refactor how StatusBarPolicy knows if keyguard is visible.

Change-Id: I782d354549ba3185d4779a2e8b3ac6d0724e22ec
2016-05-18 11:31:28 +00:00
Nicolas Prévot
bbd26bc023 Merge "Refactor how StatusBarPolicy knows if keyguard is visible." into nyc-dev 2016-05-18 11:21:45 +00:00
Neil Fuller
41c9dc3b69 Add support for ICU data pinning in the Zygote
Upstream ICU caches use SoftReferences. On Android this means
that useful cached data initialized in the Zygote are "lost" when
the Zygote GCs and cannot be shared with apps. This change makes use
of an Android patch to ICU to ensure References created during
Zygote initialization are "strong". i.e. they are never collected.
This prevents them being GCd and ensures they can be shared between
applications.

After switching ICU to use strong references, this change
also creates DecimalFormatSymbols objects for common ULocales
(ROOT, US and the user's default, if different). DecimalFormatSymbols
makes use of an ICU Reference cache and this alone has been shown to
improve the construction time of java.text.DecimalFormat by 1-1.5
milliseconds on a Seed device. This saving applies the first time one
is created in each app for each locale, and again if SoftReferences
have been cleared.

The cost to the heap size of the Zygote has been measured at ~107k.
This value will change as more caches are switched to use the new
CacheValue class.

Formatting is typically performed on the UI thread and the intention
of this change is to reduce app start up time and jank in apps like
the Dialer which do a lot of formatting when scrolling lists. The
change may also enable more virtual memory page-sharing between
apps, though this is not the specific goal.

Bug: 28326526
Change-Id: Ia2c73f6525f05b1aa81e57a31eed1616decf6bb5
2016-05-18 11:15:11 +01:00
Android Build Merger (Role)
5abf31c5f9 Merge "Revert "docs: Creating new support library revision history page" am: 982fd04335 am: 88d1749129" into nyc-mr1-dev-plus-aosp 2016-05-18 07:33:40 +00:00
Bart Sears
fb3989f372 Revert "docs: Creating new support library revision history page" am: 982fd04335
am: 88d1749129

* commit '88d174912918ae6f53cf2aa37983b0a674b48b03':
  Revert "docs: Creating new support library revision history page"

Change-Id: I9a0412648d7da349d01d38b3f5f17adf20f8341e
2016-05-18 07:33:18 +00:00
Bart Sears
788c58eb4e Revert "docs: Creating new support library revision history page" am: 982fd04335
am: daba9f8cf1

* commit 'daba9f8cf17e4c7021aac510e5cf6ac5f57e90c4':
  Revert "docs: Creating new support library revision history page"

Change-Id: Iafb6e53fb52b448d4df1fb317c261b895d830bb3
2016-05-18 07:33:16 +00:00
Bart Sears
daba9f8cf1 Revert "docs: Creating new support library revision history page"
am: 982fd04335

* commit '982fd043357759bfdf619bc24f3a5f4366a3aac0':
  Revert "docs: Creating new support library revision history page"

Change-Id: I1f637577fe58a340f9f4041e22ba0cdc6b629c5f
2016-05-18 07:30:33 +00:00
Bart Sears
88d1749129 Revert "docs: Creating new support library revision history page"
am: 982fd04335

* commit '982fd043357759bfdf619bc24f3a5f4366a3aac0':
  Revert "docs: Creating new support library revision history page"

Change-Id: Ie001e5763e62360cc6db568ffd51e43ae35e4554
2016-05-18 07:30:29 +00:00
Android Build Merger (Role)
0e8f48d60f Merge "Merge "docs: Pages for Instant Apps" into mnc-io-docs am: ad1639e276 am: 24d753f134 am: f6e624b5a5 am: 29c58c673c" into nyc-mr1-dev-plus-aosp 2016-05-18 07:27:18 +00:00
Joe Fernandez
9e7b3257de Merge "docs: Pages for Instant Apps" into mnc-io-docs am: ad1639e276 am: 24d753f134 am: f6e624b5a5
am: 28061a2ea4

* commit '28061a2ea41e67e77810589a99684afe936671ea':
  docs: Pages for Instant Apps

Change-Id: I6242b47fd146b6ffb32cf3aa884c4ac9ed33c15c
2016-05-18 07:26:42 +00:00
Joe Fernandez
98b4358714 Merge "docs: Pages for Instant Apps" into mnc-io-docs am: ad1639e276 am: 24d753f134 am: f6e624b5a5
am: 29c58c673c

* commit '29c58c673ca113c2445dc1a9817ccb3887897c24':
  docs: Pages for Instant Apps

Change-Id: I10db255768ab7a1d0857dd07ef378389558f8074
2016-05-18 07:26:40 +00:00
Bart Sears
982fd04335 Revert "docs: Creating new support library revision history page"
This reverts commit 09e9d24bcf.

Change-Id: Idbece8b39491eea7e2324916a5a88f08f2623f1f
2016-05-18 07:22:20 +00:00
Eric Schmidt
29c58c673c Merge "docs: Pages for Instant Apps" into mnc-io-docs am: ad1639e276 am: 24d753f134
am: f6e624b5a5

* commit 'f6e624b5a5b3b6ab21412c6ce4a6821619ba4898':
  docs: Pages for Instant Apps

Change-Id: Iadcac0e0eb32ba5ea699d73b9528a84bd901d624
2016-05-18 07:22:15 +00:00
Eric Schmidt
28061a2ea4 Merge "docs: Pages for Instant Apps" into mnc-io-docs am: ad1639e276 am: 24d753f134
am: f6e624b5a5

* commit 'f6e624b5a5b3b6ab21412c6ce4a6821619ba4898':
  docs: Pages for Instant Apps

Change-Id: I66afbcb26825099fb83d7cac4ed8018d71d42833
2016-05-18 07:22:09 +00:00
Erik Kline
acda32c35f DHCPv4: lease expiration is fatal, renew failures are not
Bug: 24837343

Change-Id: Ib330864f8376b0907390d581b48cff5446b3392b
2016-05-18 16:17:03 +09:00
Android Build Merger (Role)
e7617caa1c Merge "Docs: Final changes to DP3 docs. am: 82c668ffc0 am: f28da5297c am: c25a09d495 am: 6233066daa" into nyc-mr1-dev-plus-aosp 2016-05-18 07:15:33 +00:00
Joe Fernandez
f6e624b5a5 Merge "docs: Pages for Instant Apps" into mnc-io-docs am: ad1639e276
am: 24d753f134

* commit '24d753f134b8da8b1f3d2f764f48f8d66e9a0164':
  docs: Pages for Instant Apps

Change-Id: Ic0fadeb9c32152ca9366f7e7a86fae008e49cad7
2016-05-18 07:15:09 +00:00
David Friedman
c60b68bcda Docs: Final changes to DP3 docs. am: 82c668ffc0 am: f28da5297c am: c25a09d495
am: 6233066daa

* commit '6233066daa9403287de0bfe0b7c846e2018751d8':
  Docs: Final changes to DP3 docs.

Change-Id: I9cc2dfe7e01f0962e53643d17c581cd49751049d
2016-05-18 07:15:08 +00:00
David Friedman
d873c3d334 Docs: Final changes to DP3 docs. am: 82c668ffc0 am: f28da5297c am: c25a09d495
am: aa0907981d

* commit 'aa0907981da21ae669e183518f09aede7e0788b1':
  Docs: Final changes to DP3 docs.

Change-Id: Ib9802bbd0347f746ae7f1d9b20f97e5205df4ab7
2016-05-18 07:15:03 +00:00
Eric Schmidt
24d753f134 Merge "docs: Pages for Instant Apps" into mnc-io-docs
am: ad1639e276

* commit 'ad1639e276bdac48946977b89f8959efa14e0c8f':
  docs: Pages for Instant Apps

Change-Id: I1910b63e5891d62244470f540454a3e0a482cdce
2016-05-18 07:10:14 +00:00
David Friedman
6233066daa Docs: Final changes to DP3 docs. am: 82c668ffc0 am: f28da5297c
am: c25a09d495

* commit 'c25a09d495a5a0050de273d7b5492b3e4a5349a0':
  Docs: Final changes to DP3 docs.

Change-Id: I9725ed07e7099d7bf746d26e8a21f450e273fea5
2016-05-18 07:10:11 +00:00
David Friedman
aa0907981d Docs: Final changes to DP3 docs. am: 82c668ffc0 am: f28da5297c
am: c25a09d495

* commit 'c25a09d495a5a0050de273d7b5492b3e4a5349a0':
  Docs: Final changes to DP3 docs.

Change-Id: Id4eec6b2a93bd55f54d84e4f16c5271585cc7e7e
2016-05-18 07:10:11 +00:00