OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 292eb65f: Merge "Fix new user creation regression due to vold remount calls" into...
Amith Yamasani [Mon, 13 Jul 2015 07:20:52 +0000 (07:20 +0000)]
am 292eb65f: Merge "Fix new user creation regression due to vold remount calls" into mnc-dev

* commit '292eb65f1ee0747e60899c1b1d0b6cb16c9cd37a':
  Fix new user creation regression due to vold remount calls

9 years agoam 5449ee07: Merge "Avoid IPC call with an empty array" into mnc-dev
Amith Yamasani [Mon, 13 Jul 2015 07:20:42 +0000 (07:20 +0000)]
am 5449ee07: Merge "Avoid IPC call with an empty array" into mnc-dev

* commit '5449ee078620255ce9bea60c0a4dbece36e6acf9':
  Avoid IPC call with an empty array

9 years agoam 233bd3ce: Merge "Changes security for Passpoint to EAP security from "Passpoint...
Sanket Padawe [Mon, 13 Jul 2015 07:20:33 +0000 (07:20 +0000)]
am 233bd3ce: Merge "Changes security for Passpoint to EAP security from "Passpoint"." into mnc-dev

* commit '233bd3ceffbe247b5230f2832ad63c6cf1d9ed13':
  Changes security for Passpoint to EAP security from "Passpoint".

9 years agoam d374c20f: Merge "Fix flash of uninitialized surface" into mnc-dev
Adrian Roos [Mon, 13 Jul 2015 07:20:21 +0000 (07:20 +0000)]
am d374c20f: Merge "Fix flash of uninitialized surface" into mnc-dev

* commit 'd374c20fc9269913d19666f0994268ed457e0d42':
  Fix flash of uninitialized surface

9 years agoam 97cf0f1d: Merge "Revert "Revert "Security: AccountChooser shouldn\'t auto reveal...
Carlos Valdivia [Mon, 13 Jul 2015 07:20:11 +0000 (07:20 +0000)]
am 97cf0f1d: Merge "Revert "Revert "Security: AccountChooser shouldn\'t auto reveal accounts.""" into mnc-dev

* commit '97cf0f1d76f1747302e0171c1cd4f0655fde99c4':
  Revert "Revert "Security: AccountChooser shouldn't auto reveal accounts.""

9 years agoam 1c277ca8: Merge "Fix: line slop shouldn\'t always increase / decrease by one line...
Mady Mellor [Mon, 13 Jul 2015 07:19:59 +0000 (07:19 +0000)]
am 1c277ca8: Merge "Fix: line slop shouldn\'t always increase / decrease by one line" into mnc-dev

* commit '1c277ca8cd699b15e631342775d996404a75e660':
  Fix: line slop shouldn't always increase / decrease by one line

9 years agoam a9f07ccf: Merge "Fix line slop issue at end of line for Thai & CJK" into mnc-dev
Mady Mellor [Mon, 13 Jul 2015 07:19:50 +0000 (07:19 +0000)]
am a9f07ccf: Merge "Fix line slop issue at end of line for Thai & CJK" into mnc-dev

* commit 'a9f07ccf38709be29137dec246bca7fea976a294':
  Fix line slop issue at end of line for Thai & CJK

9 years agoam 26b0f1e4: Merge "Revert "Finish already paused activity if it should be finished...
Wale Ogunwale [Mon, 13 Jul 2015 07:19:24 +0000 (07:19 +0000)]
am 26b0f1e4: Merge "Revert "Finish already paused activity if it should be finished after pausing"" into mnc-dev

* commit '26b0f1e420c0590ea5e9c506f4f14ba4b0a873f0':
  Revert "Finish already paused activity if it should be finished after pausing"

9 years agoam 8657d9e8: Merge "JNI optimization tweaks to Paint high-frequency methods" into...
John Reck [Mon, 13 Jul 2015 07:19:17 +0000 (07:19 +0000)]
am 8657d9e8: Merge "JNI optimization tweaks to Paint high-frequency methods" into mnc-dev

* commit '8657d9e8a56af7847578b65a881016da985b3531':
  JNI optimization tweaks to Paint high-frequency methods

9 years agoam 9f004920: Merge "Reduce cost of span type checking" into mnc-dev
Chris Craik [Mon, 13 Jul 2015 07:19:10 +0000 (07:19 +0000)]
am 9f004920: Merge "Reduce cost of span type checking" into mnc-dev

* commit '9f0049200824ae523a6cd39b9866c709d42e3075':
  Reduce cost of span type checking

9 years agoam 6795a2ae: Check legacy VPN is connected before alerting
Robin Lee [Sat, 11 Jul 2015 08:17:51 +0000 (08:17 +0000)]
am 6795a2ae: Check legacy VPN is connected before alerting

* commit '6795a2aeafa6df8a5e8e3045d29991d33c8db33f':
  Check legacy VPN is connected before alerting

9 years agoam 0c758805: Merge "Fix empty keyguard for once and all" into mnc-dev
Jorim Jaggi [Sat, 11 Jul 2015 08:17:42 +0000 (08:17 +0000)]
am 0c758805: Merge "Fix empty keyguard for once and all" into mnc-dev

* commit '0c758805b385a5c136b21a2b38e2383c30665282':
  Fix empty keyguard for once and all

9 years agoam 256642aa: Merge "CEC: Do not switch language if the new one is same as the old...
Jinsuk Kim [Sat, 11 Jul 2015 08:17:33 +0000 (08:17 +0000)]
am 256642aa: Merge "CEC: Do not switch language if the new one is same as the old one" into mnc-dev

* commit '256642aa2f7045552d474d814323e9eb5b486113':
  CEC: Do not switch language if the new one is same as the old one

9 years agoMerge "Fix new user creation regression due to vold remount calls" into mnc-dev
Amith Yamasani [Sat, 11 Jul 2015 02:27:59 +0000 (02:27 +0000)]
Merge "Fix new user creation regression due to vold remount calls" into mnc-dev

9 years agoMerge "Avoid IPC call with an empty array" into mnc-dev
Amith Yamasani [Sat, 11 Jul 2015 02:27:31 +0000 (02:27 +0000)]
Merge "Avoid IPC call with an empty array" into mnc-dev

9 years agoMerge "Changes security for Passpoint to EAP security from "Passpoint"." into mnc-dev
Sanket Padawe [Sat, 11 Jul 2015 01:46:31 +0000 (01:46 +0000)]
Merge "Changes security for Passpoint to EAP security from "Passpoint"." into mnc-dev

9 years agoam 94fed352: am 188af044: Merge "Revert "frameworks/base: libexpat now exports its...
Elliott Hughes [Sat, 11 Jul 2015 01:39:45 +0000 (01:39 +0000)]
am 94fed352: am 188af044: Merge "Revert "frameworks/base: libexpat now exports its headers.""

* commit '94fed352f6f4dc1c53ea69a0cee3944f55b92d99':
  Revert "frameworks/base: libexpat now exports its headers."

9 years agoam 188af044: Merge "Revert "frameworks/base: libexpat now exports its headers.""
Elliott Hughes [Sat, 11 Jul 2015 01:18:00 +0000 (01:18 +0000)]
am 188af044: Merge "Revert "frameworks/base: libexpat now exports its headers.""

* commit '188af044685802cfd5266fe45b68528a2413ce3d':
  Revert "frameworks/base: libexpat now exports its headers."

9 years agoMerge "Revert "frameworks/base: libexpat now exports its headers.""
Elliott Hughes [Sat, 11 Jul 2015 01:08:13 +0000 (01:08 +0000)]
Merge "Revert "frameworks/base: libexpat now exports its headers.""

9 years agoRevert "frameworks/base: libexpat now exports its headers."
Elliott Hughes [Sat, 11 Jul 2015 01:07:39 +0000 (01:07 +0000)]
Revert "frameworks/base: libexpat now exports its headers."

This reverts commit 2f31b66c04b1e80fd039418edf41e74f67b68143.

Change-Id: Ib4ce610d1767db5c72c54d33520e8bdf50171a18

9 years agoam 4d4c4507: am 220b61f1: Merge "frameworks/base: libexpat now exports its headers."
Elliott Hughes [Sat, 11 Jul 2015 01:02:59 +0000 (01:02 +0000)]
am 4d4c4507: am 220b61f1: Merge "frameworks/base: libexpat now exports its headers."

* commit '4d4c45071b56089112bcfc687d635b966b810f4b':
  frameworks/base: libexpat now exports its headers.

9 years agoMerge "Fix flash of uninitialized surface" into mnc-dev
Adrian Roos [Sat, 11 Jul 2015 00:57:17 +0000 (00:57 +0000)]
Merge "Fix flash of uninitialized surface" into mnc-dev

9 years agoam 220b61f1: Merge "frameworks/base: libexpat now exports its headers."
Elliott Hughes [Sat, 11 Jul 2015 00:52:48 +0000 (00:52 +0000)]
am 220b61f1: Merge "frameworks/base: libexpat now exports its headers."

* commit '220b61f14387e492be4ae8b819a5f96ca9b8dc36':
  frameworks/base: libexpat now exports its headers.

9 years agoMerge "frameworks/base: libexpat now exports its headers."
Elliott Hughes [Sat, 11 Jul 2015 00:40:47 +0000 (00:40 +0000)]
Merge "frameworks/base: libexpat now exports its headers."

9 years agoMerge "Revert "Revert "Security: AccountChooser shouldn't auto reveal accounts."...
Carlos Valdivia [Sat, 11 Jul 2015 00:40:07 +0000 (00:40 +0000)]
Merge "Revert "Revert "Security: AccountChooser shouldn't auto reveal accounts.""" into mnc-dev

9 years agoMerge "Fix: line slop shouldn't always increase / decrease by one line" into mnc-dev
Mady Mellor [Sat, 11 Jul 2015 00:30:32 +0000 (00:30 +0000)]
Merge "Fix: line slop shouldn't always increase / decrease by one line" into mnc-dev

9 years agoMerge "Fix line slop issue at end of line for Thai & CJK" into mnc-dev
Mady Mellor [Sat, 11 Jul 2015 00:26:33 +0000 (00:26 +0000)]
Merge "Fix line slop issue at end of line for Thai & CJK" into mnc-dev

9 years agoFix line slop issue at end of line for Thai & CJK
Mady Mellor [Fri, 10 Jul 2015 23:43:32 +0000 (16:43 -0700)]
Fix line slop issue at end of line for Thai & CJK

Previously touch slop for line movement was based on the line position
of the HandleView, not the previous line touched.

Thai and CJK languages don't have a space at the end of a line so
the handle jumps to the beginning of the next line. This meant that
when calculating the touch slop it'd be from the incorrect line.

This CL tracks the previous line touched and uses that instead to
calculate touch slop and applies it to the selection and insertion
handles.

Note this is *not* added to the drag accelerator because
it does not have the problem of the handle jumping to the next line
since it has no handles.

Bug: 21925162
Change-Id: If4b231725c06489ec780a5b5a308ceffee804c20

9 years agoMerge "Revert "Finish already paused activity if it should be finished after pausing...
Wale Ogunwale [Fri, 10 Jul 2015 22:53:11 +0000 (22:53 +0000)]
Merge "Revert "Finish already paused activity if it should be finished after pausing"" into mnc-dev

9 years agoFix flash of uninitialized surface
Adrian Roos [Fri, 10 Jul 2015 22:49:03 +0000 (15:49 -0700)]
Fix flash of uninitialized surface

Fixes a bug where during the animation of
the backdrop uninitialized memory was showing
because the backdrop's alpha was zero, so RenderNode
didn't issue any drawing commands.

Bug: 21472158
Change-Id: I7ad6bb64e739059febffca10463c8097693a9563

9 years agoMerge "JNI optimization tweaks to Paint high-frequency methods" into mnc-dev
John Reck [Fri, 10 Jul 2015 22:46:17 +0000 (22:46 +0000)]
Merge "JNI optimization tweaks to Paint high-frequency methods" into mnc-dev

9 years agoMerge "Reduce cost of span type checking" into mnc-dev
Chris Craik [Fri, 10 Jul 2015 22:44:27 +0000 (22:44 +0000)]
Merge "Reduce cost of span type checking" into mnc-dev

9 years agoRevert "Finish already paused activity if it should be finished after pausing"
Wale Ogunwale [Fri, 10 Jul 2015 22:25:38 +0000 (15:25 -0700)]
Revert "Finish already paused activity if it should be finished after pausing"

This reverts commit bef8a3e39372ca85104b894f7359deddc97a8fec.

Changed caused some existing apps to crash. Reverting to unblock the
build while I investigate.

Bug: 22170595
Bug: 22397812

9 years agoRevert "Revert "Security: AccountChooser shouldn't auto reveal accounts.""
Carlos Valdivia [Fri, 10 Jul 2015 20:04:43 +0000 (13:04 -0700)]
Revert "Revert "Security: AccountChooser shouldn't auto reveal accounts.""

Fixes api stuff.

This reverts commit f2d248db8078e716b809e0a17cacdea5c5609bd5.

Change-Id: I75c05a17ebde4f245e1f3e0cc22e622d06534c4b

9 years agoCheck legacy VPN is connected before alerting
Robin Lee [Tue, 7 Jul 2015 02:20:59 +0000 (19:20 -0700)]
Check legacy VPN is connected before alerting

Legacy VPN does nothing if the device has no underlying network
connection, so showing this warning in that case is confusing.

Conversely third-party VPN can still be dangerous since a malicious
app will store sensitive information and upload it later.

Bug: 21499103
Change-Id: I25a0d4e1e5b10198cb067f06645f0e5ecf81bf56

9 years agoMerge "Fix empty keyguard for once and all" into mnc-dev
Jorim Jaggi [Fri, 10 Jul 2015 21:16:24 +0000 (21:16 +0000)]
Merge "Fix empty keyguard for once and all" into mnc-dev

9 years agoMerge "CEC: Do not switch language if the new one is same as the old one" into mnc-dev
Jinsuk Kim [Fri, 10 Jul 2015 21:09:07 +0000 (21:09 +0000)]
Merge "CEC: Do not switch language if the new one is same as the old one" into mnc-dev

9 years agoFix empty keyguard for once and all
Jorim Jaggi [Thu, 9 Jul 2015 23:08:02 +0000 (16:08 -0700)]
Fix empty keyguard for once and all

When a Keyguard exit animation was played while the screen was
turning off, the window animation was cancelled. However, since
we didn't reset mPostKeyguardExitAnimation, we thought we need to
apply it again, with a start time of Long.MIN_VALUE. For some reason,
this animation never ended, and it was stuck at the beginning. Thus,
the alpha was 0 and the user just saw a blank wallpaper.

In addition, we also forbid starting the Keyguard exit animation when
the screen is about to turn off.

Bug: 21124013
Change-Id: Ief022c5bd758a9fedcaab3fe9fc385fa4234b37f

9 years agoam c1541571: am 1c231da0: am 48143e6a: Docs: Fixes to Preview "Program Overview"...
David Friedman [Fri, 10 Jul 2015 20:28:45 +0000 (20:28 +0000)]
am c1541571: am 1c231da0: am 48143e6a: Docs: Fixes to Preview "Program Overview" page; rewording on "Support" page

* commit 'c1541571ff501ba7f58ab9f066828e6620aaa90c':
  Docs: Fixes to Preview "Program Overview" page; rewording on "Support" page

9 years agoReduce cost of span type checking
Chris Craik [Fri, 10 Jul 2015 20:12:34 +0000 (13:12 -0700)]
Reduce cost of span type checking

bug:22378829

Change-Id: I1da5154b2fb4f5032eaed44586d5470d28ceb45b

9 years agoam 1c231da0: am 48143e6a: Docs: Fixes to Preview "Program Overview" page; rewording...
David Friedman [Fri, 10 Jul 2015 20:11:46 +0000 (20:11 +0000)]
am 1c231da0: am 48143e6a: Docs: Fixes to Preview "Program Overview" page; rewording on "Support" page

* commit '1c231da06c9e9f82c52d36211a865703a5d0cd62':
  Docs: Fixes to Preview "Program Overview" page; rewording on "Support" page

9 years agoam 48143e6a: Docs: Fixes to Preview "Program Overview" page; rewording on "Support...
David Friedman [Fri, 10 Jul 2015 19:55:22 +0000 (19:55 +0000)]
am 48143e6a: Docs: Fixes to Preview "Program Overview" page; rewording on "Support" page

* commit '48143e6ab960860a87171563d8a7535b41762ffa':
  Docs: Fixes to Preview "Program Overview" page; rewording on "Support" page

9 years agoDocs: Fixes to Preview "Program Overview" page; rewording on "Support" page
David Friedman [Fri, 10 Jul 2015 18:41:02 +0000 (11:41 -0700)]
Docs: Fixes to Preview "Program Overview" page; rewording on "Support" page

Fixes broken anchors in yellow banner on English version. Adds the banner
to non-English version pages. Adjusted wording for a Known Issue on the
"Support and Release Notes" page.

Change-Id: Ia1db8db34cec854bcc4ad7daa1ad44fa23fc878e

9 years agoam f180fe31: Merge "Legacy VPN calls to require a userID" into mnc-dev
Robin Lee [Fri, 10 Jul 2015 19:17:06 +0000 (19:17 +0000)]
am f180fe31: Merge "Legacy VPN calls to require a userID" into mnc-dev

* commit 'f180fe31de4cc428c298a2faed394c417ade5483':
  Legacy VPN calls to require a userID

9 years agoMerge "Legacy VPN calls to require a userID" into mnc-dev
Robin Lee [Fri, 10 Jul 2015 19:05:36 +0000 (19:05 +0000)]
Merge "Legacy VPN calls to require a userID" into mnc-dev

9 years agoam 5d1654a9: Merge "Fix StaticLayout crash when maxLines = 0" into mnc-dev
Raph Levien [Fri, 10 Jul 2015 18:48:57 +0000 (18:48 +0000)]
am 5d1654a9: Merge "Fix StaticLayout crash when maxLines = 0" into mnc-dev

* commit '5d1654a9439f0ed81ecccecfacda34872270dfcb':
  Fix StaticLayout crash when maxLines = 0

9 years agoMerge "Fix StaticLayout crash when maxLines = 0" into mnc-dev
Raph Levien [Fri, 10 Jul 2015 18:37:43 +0000 (18:37 +0000)]
Merge "Fix StaticLayout crash when maxLines = 0" into mnc-dev

9 years agoam 1570b6b3: Merge "Enable EMERGENCY mobile connections." into mnc-dev
Robert Greenwalt [Fri, 10 Jul 2015 18:34:40 +0000 (18:34 +0000)]
am 1570b6b3: Merge "Enable EMERGENCY mobile connections." into mnc-dev

* commit '1570b6b3c7d1d41a52555312d161d0afe4b81df3':
  Enable EMERGENCY mobile connections.

9 years agoam 1ebcb6f8: Merge "Fix permissions." into mnc-dev
Robert Greenwalt [Fri, 10 Jul 2015 18:34:32 +0000 (18:34 +0000)]
am 1ebcb6f8: Merge "Fix permissions." into mnc-dev

* commit '1ebcb6f8b2f989c84311555f4961506dba959d37':
  Fix permissions.

9 years agoMerge "Enable EMERGENCY mobile connections." into mnc-dev
Robert Greenwalt [Fri, 10 Jul 2015 18:23:12 +0000 (18:23 +0000)]
Merge "Enable EMERGENCY mobile connections." into mnc-dev

9 years agoMerge "Fix permissions." into mnc-dev
Robert Greenwalt [Fri, 10 Jul 2015 18:21:45 +0000 (18:21 +0000)]
Merge "Fix permissions." into mnc-dev

9 years agoframeworks/base: libexpat now exports its headers.
Elliott Hughes [Fri, 10 Jul 2015 18:12:22 +0000 (11:12 -0700)]
frameworks/base: libexpat now exports its headers.

Change-Id: Iaba3d57db18ebdd89e4a993436e9bf844722ff87

9 years agoam 77cae786: am 98b1f102: am c2b0d1d4: Merge "Support Library v22.2.0 API diff" into...
Chris Banes [Fri, 10 Jul 2015 17:59:43 +0000 (17:59 +0000)]
am 77cae786: am 98b1f102: am c2b0d1d4: Merge "Support Library v22.2.0 API diff" into mnc-preview-docs

* commit '77cae7869dba770f9ec8054b312a29dea8f317f4':
  Support Library v22.2.0 API diff

9 years agoam 2c7ed6e8: Merge "Improve ImageView drawable re-use" into mnc-dev
John Reck [Fri, 10 Jul 2015 17:59:37 +0000 (17:59 +0000)]
am 2c7ed6e8: Merge "Improve ImageView drawable re-use" into mnc-dev

* commit '2c7ed6e80a7e9504a0c0e13a27e54332c603d1cc':
  Improve ImageView drawable re-use

9 years agoam 525ac80d: Merge "Create a thread_local cache for textLocale" into mnc-dev
John Reck [Fri, 10 Jul 2015 17:59:30 +0000 (17:59 +0000)]
am 525ac80d: Merge "Create a thread_local cache for textLocale" into mnc-dev

* commit '525ac80d2dda4ce7a902b67d082ed26d0986f525':
  Create a thread_local cache for textLocale

9 years agoam a2c2cc42: am 3f831568: am 6fb22b4e: Docs: Revisions to top DAC landing page and...
David Friedman [Fri, 10 Jul 2015 17:59:20 +0000 (17:59 +0000)]
am a2c2cc42: am 3f831568: am 6fb22b4e: Docs: Revisions to top DAC landing page and several Preview-page revisions.

* commit 'a2c2cc422c47a62b5494c9090b644a8fae8a9037':
  Docs: Revisions to top DAC landing page and several Preview-page revisions.

9 years agoJNI optimization tweaks to Paint high-frequency methods
John Reck [Fri, 10 Jul 2015 17:55:49 +0000 (10:55 -0700)]
JNI optimization tweaks to Paint high-frequency methods

Bug: 22378829

Use fast-jni for getFontMetrics, drops from 35us -> 30us
Note the "heavy" part of the method, getMetricsInternal, is
already called by other fast-jni methods.

Use critical array access for getRunAdvance_* methods. This
will avoid the copy and the access is appropriately scoped
and fast enough to not significantly block the moving GC.
Improves from 88us -> 79us on short text

Change-Id: I7c1481c23f6dba3420fbcf48220f6335cf9f6d10

9 years agoam 98b1f102: am c2b0d1d4: Merge "Support Library v22.2.0 API diff" into mnc-preview...
Chris Banes [Fri, 10 Jul 2015 17:54:40 +0000 (17:54 +0000)]
am 98b1f102: am c2b0d1d4: Merge "Support Library v22.2.0 API diff" into mnc-preview-docs

* commit '98b1f1025c606f955ab9afc3872a435a770e3813':
  Support Library v22.2.0 API diff

9 years agoChanges security for Passpoint to EAP security from "Passpoint".
Sanket Padawe [Fri, 10 Jul 2015 17:53:31 +0000 (10:53 -0700)]
Changes security for Passpoint to EAP security from "Passpoint".

Bug: 22402754
Change-Id: I3afbb6f3f446657a3e9505122032f4edc6401302

9 years agoMerge "Improve ImageView drawable re-use" into mnc-dev
John Reck [Fri, 10 Jul 2015 17:50:27 +0000 (17:50 +0000)]
Merge "Improve ImageView drawable re-use" into mnc-dev

9 years agoMerge "Create a thread_local cache for textLocale" into mnc-dev
John Reck [Fri, 10 Jul 2015 17:50:10 +0000 (17:50 +0000)]
Merge "Create a thread_local cache for textLocale" into mnc-dev

9 years agoam 3f831568: am 6fb22b4e: Docs: Revisions to top DAC landing page and several Preview...
David Friedman [Fri, 10 Jul 2015 17:43:32 +0000 (17:43 +0000)]
am 3f831568: am 6fb22b4e: Docs: Revisions to top DAC landing page and several Preview-page revisions.

* commit '3f83156867fba70db9f2a03f2f0192d8f3b4688e':
  Docs: Revisions to top DAC landing page and several Preview-page revisions.

9 years agoam c2b0d1d4: Merge "Support Library v22.2.0 API diff" into mnc-preview-docs
Chris Banes [Fri, 10 Jul 2015 17:39:34 +0000 (17:39 +0000)]
am c2b0d1d4: Merge "Support Library v22.2.0 API diff" into mnc-preview-docs

* commit 'c2b0d1d42cf6ba2e77fdf31982b3436eeb95b89c':
  Support Library v22.2.0 API diff

9 years agoam 1cb0de17: Merge "Correct the comparison done in removeAdapter." into mnc-dev
Roshan Pius [Fri, 10 Jul 2015 17:34:48 +0000 (17:34 +0000)]
am 1cb0de17: Merge "Correct the comparison done in removeAdapter." into mnc-dev

* commit '1cb0de17a9a4de137247f7bf69ec44a83e30efa2':
  Correct the comparison done in removeAdapter.

9 years agoam 3b9ce37b: Fix build break.
Paul Jensen [Fri, 10 Jul 2015 17:34:18 +0000 (17:34 +0000)]
am 3b9ce37b: Fix build break.

* commit '3b9ce37b51dcc7729489701d4e797fe91f2ef559':
  Fix build break.

9 years agoam bbce221e: Merge "Fallback to Cellular if WiFi fails to validate" into mnc-dev
Paul Jensen [Fri, 10 Jul 2015 17:34:00 +0000 (17:34 +0000)]
am bbce221e: Merge "Fallback to Cellular if WiFi fails to validate" into mnc-dev

* commit 'bbce221eecdf54317dd0655e5f3507b82db4bfc1':
  Fallback to Cellular if WiFi fails to validate

9 years agoam d8cdba0d: Merge "Prepare some ConnectivityService logic for fallback to Cellular...
Paul Jensen [Fri, 10 Jul 2015 17:33:51 +0000 (17:33 +0000)]
am d8cdba0d: Merge "Prepare some ConnectivityService logic for fallback to Cellular change" into mnc-dev

* commit 'd8cdba0d711f5956475b043a50a6041075157c77':
  Prepare some ConnectivityService logic for fallback to Cellular change

9 years agoam 00c64f7c: Merge "Add android.net.CaptivePortal class for captive-portal-handling...
Paul Jensen [Fri, 10 Jul 2015 17:33:43 +0000 (17:33 +0000)]
am 00c64f7c: Merge "Add android.net.CaptivePortal class for captive-portal-handling-app callbacks" into mnc-dev

* commit '00c64f7ca5b05384dc3c208eff43e0b1a037a7d0':
  Add android.net.CaptivePortal class for captive-portal-handling-app callbacks

9 years agoam 9613e9b7: Merge "New setLocalMatrix() operation for HWUI" into mnc-dev
Tom Hudson [Fri, 10 Jul 2015 17:33:27 +0000 (17:33 +0000)]
am 9613e9b7: Merge "New setLocalMatrix() operation for HWUI" into mnc-dev

* commit '9613e9b76410b15b7f2700080a17476bf9f3461c':
  New setLocalMatrix() operation for HWUI

9 years agoCreate a thread_local cache for textLocale
John Reck [Fri, 10 Jul 2015 16:56:34 +0000 (09:56 -0700)]
Create a thread_local cache for textLocale

Bug:22378829

toLanguageTag is significantly more expensive than previously
thought (note ULOC_FULLNAME_CAPACITY is 157) and weighs
in at around 40us. Given that this is called on every Paint
and that there are typically thousands of Paint objects
created this adds up very quickly.

Given that the locale is almost always Locale.getDefault(),
a very simple thread_local cache of size 1 fixes this trivially

Change-Id: I819e60cac7a4b27e9dd5538332c22ce5bbd0851c

9 years agoImprove ImageView drawable re-use
John Reck [Fri, 10 Jul 2015 17:02:58 +0000 (10:02 -0700)]
Improve ImageView drawable re-use

Bug 22403868

Initial attempt only helped if setImageBitmap() was the only
thing called but during new-loading content it's common for a
placeholder to be set via setImageDrawable.

Tweak ImageView slightly to just have a BitmapDrawable that it
lazy-creates but will hold on to for any subsequent calls
to setImageBitmap

Change-Id: I7380521c7b363d458e4cda041f1f8b2b1fb3a93a

9 years agoam 0236e6b2: Fix the build.
Bart Sears [Fri, 10 Jul 2015 17:00:23 +0000 (17:00 +0000)]
am 0236e6b2: Fix the build.

* commit '0236e6b2d614abd11678de4cec4ed67b582541ff':
  Fix the build.

9 years agoam 664251a2: Merge "Fix build" into mnc-dev
Svetoslav [Fri, 10 Jul 2015 17:00:15 +0000 (17:00 +0000)]
am 664251a2: Merge "Fix build" into mnc-dev

* commit '664251a2fd16e63762be2ca93f2559dc2b134726':
  Fix build

9 years agoam 1aa40492: Merge "Revert "Security: AccountChooser shouldn\'t auto reveal accounts...
Bart Sears [Fri, 10 Jul 2015 17:00:04 +0000 (17:00 +0000)]
am 1aa40492: Merge "Revert "Security: AccountChooser shouldn\'t auto reveal accounts."" into mnc-dev

* commit '1aa4049286e7ed1272ce84619f41c13a4d217395':
  Revert "Security: AccountChooser shouldn't auto reveal accounts."

9 years agoam a2cd9c56: Merge "Camera2: Reorganize high-speed recording API slightly" into mnc-dev
Eino-Ville Talvala [Fri, 10 Jul 2015 16:59:57 +0000 (16:59 +0000)]
am a2cd9c56: Merge "Camera2: Reorganize high-speed recording API slightly" into mnc-dev

* commit 'a2cd9c56f8648b5a4faee14d9dd0c4151730f78c':
  Camera2: Reorganize high-speed recording API slightly

9 years agoMerge "Correct the comparison done in removeAdapter." into mnc-dev
Roshan Pius [Fri, 10 Jul 2015 16:54:42 +0000 (16:54 +0000)]
Merge "Correct the comparison done in removeAdapter." into mnc-dev

9 years agoFix permissions.
Robert Greenwalt [Fri, 10 Jul 2015 16:08:13 +0000 (09:08 -0700)]
Fix permissions.

Legacy API should not need new permissions.
Also found some more hidden/system that should have permissions.

bug:22379438
bug:19257083
Change-Id: I24be0a90dffcffe03d25982a9b02eedcf03fbd59

9 years agoFix build break.
Paul Jensen [Fri, 10 Jul 2015 16:19:38 +0000 (12:19 -0400)]
Fix build break.

Automatic merge commit caused breakage due to someone else's
intervening change adding a call site of a function whose last
parameter I removed.  Function in question is
ConnectivityService.rematchAllNetworksAndRequests.
Changes that merged badly are 85cf78e and 8d48252.

Change-Id: I8fd32e1a187236a65c1b7c0ecdf17b817d108fd0

9 years agoMerge "Fallback to Cellular if WiFi fails to validate" into mnc-dev
Paul Jensen [Fri, 10 Jul 2015 15:51:35 +0000 (15:51 +0000)]
Merge "Fallback to Cellular if WiFi fails to validate" into mnc-dev

9 years agoMerge "Prepare some ConnectivityService logic for fallback to Cellular change" into...
Paul Jensen [Fri, 10 Jul 2015 15:51:21 +0000 (15:51 +0000)]
Merge "Prepare some ConnectivityService logic for fallback to Cellular change" into mnc-dev

9 years agoMerge "Add android.net.CaptivePortal class for captive-portal-handling-app callbacks...
Paul Jensen [Fri, 10 Jul 2015 14:57:09 +0000 (14:57 +0000)]
Merge "Add android.net.CaptivePortal class for captive-portal-handling-app callbacks" into mnc-dev

9 years agoMerge "New setLocalMatrix() operation for HWUI" into mnc-dev
Tom Hudson [Fri, 10 Jul 2015 12:35:10 +0000 (12:35 +0000)]
Merge "New setLocalMatrix() operation for HWUI" into mnc-dev

9 years agoMerge "Support Library v22.2.0 API diff" into mnc-preview-docs
Chris Banes [Fri, 10 Jul 2015 07:29:16 +0000 (07:29 +0000)]
Merge "Support Library v22.2.0 API diff" into mnc-preview-docs

9 years agoFix the build.
Bart Sears [Fri, 10 Jul 2015 04:06:27 +0000 (21:06 -0700)]
Fix the build.

Correct a typo.

Change-Id: I16131cf7c0ce17fa09dedc67264e8199482cd27e

9 years agoCEC: Do not switch language if the new one is same as the old one
Jinsuk Kim [Fri, 10 Jul 2015 04:01:06 +0000 (13:01 +0900)]
CEC: Do not switch language if the new one is same as the old one

Do not switch language if the new language is the same as
the current one. This helps avoid accidental country variant
switching such as from en_US to en_AU due to the limitation of CEC.

Bug: 22373619
Change-Id: Ia98aff67e37b470b3f550a5c097e8140c1a51ecf

9 years agoam 6fb22b4e: Docs: Revisions to top DAC landing page and several Preview-page revisions.
David Friedman [Fri, 10 Jul 2015 03:40:47 +0000 (03:40 +0000)]
am 6fb22b4e: Docs: Revisions to top DAC landing page and several Preview-page revisions.

* commit '6fb22b4e42c18c91238cc687f84e4fe5f2950c52':
  Docs: Revisions to top DAC landing page and several Preview-page revisions.

9 years agoMerge "Fix build" into mnc-dev
Svetoslav [Fri, 10 Jul 2015 03:31:53 +0000 (03:31 +0000)]
Merge "Fix build" into mnc-dev

9 years agoFix build
Svetoslav [Fri, 10 Jul 2015 03:19:41 +0000 (20:19 -0700)]
Fix build

Change-Id: I1b56c07aa5b85662f25158156d2c0eff115e9544

9 years agoMerge "Revert "Security: AccountChooser shouldn't auto reveal accounts."" into mnc-dev
Bart Sears [Fri, 10 Jul 2015 03:15:48 +0000 (03:15 +0000)]
Merge "Revert "Security: AccountChooser shouldn't auto reveal accounts."" into mnc-dev

9 years agoMerge "Camera2: Reorganize high-speed recording API slightly" into mnc-dev
Eino-Ville Talvala [Fri, 10 Jul 2015 03:14:29 +0000 (03:14 +0000)]
Merge "Camera2: Reorganize high-speed recording API slightly" into mnc-dev

9 years agoRevert "Security: AccountChooser shouldn't auto reveal accounts."
Baligh Uddin [Fri, 10 Jul 2015 03:01:47 +0000 (03:01 +0000)]
Revert "Security: AccountChooser shouldn't auto reveal accounts."

This reverts commit c3b3f46d5fcbd89deeb557556e5a695c3e5349a1.

Change-Id: I6d156e1ad82c052606f76644fe6085f14e82a734

9 years agoDocs: Revisions to top DAC landing page and several Preview-page revisions.
David Friedman [Thu, 9 Jul 2015 23:00:38 +0000 (16:00 -0700)]
Docs: Revisions to top DAC landing page and several Preview-page revisions.

Top landing page now has a link direct to Preview 2.
The "Program Overview" now explicitly mentions that Preview 2 is available,
and is updated so that it no longer refers to Previews 1 and 2 in the future
tense. "Support" page is renamed to "Support and Release Notes."
TOC revised to reflect new page name. Direct links to Preview 2 are added
to the respective languages' Preview landing pages.

Change-Id: Ic463b123b25224b7064b4771faa79bdfe63e9ff5

9 years agoam becb4164: am a70109e4: am 019a0943: Docs: Fixes a typo.
David Friedman [Fri, 10 Jul 2015 01:52:55 +0000 (01:52 +0000)]
am becb4164: am a70109e4: am 019a0943: Docs: Fixes a typo.

* commit 'becb4164d8a28664d89b655aa5b53f7738f98986':
  Docs: Fixes a typo.

9 years agoam d75391e0: am 8d56096b: am f739ad7f: Fix typos in preview support.
Dirk Dougherty [Fri, 10 Jul 2015 01:52:46 +0000 (01:52 +0000)]
am d75391e0: am 8d56096b: am f739ad7f: Fix typos in preview support.

* commit 'd75391e09363fdd0f3e2dfec9bf41c3b1e021f90':
  Fix typos in preview support.

9 years agoam 319883c8: Merge "Security: AccountChooser shouldn\'t auto reveal accounts." into...
Carlos Valdivia [Fri, 10 Jul 2015 01:45:31 +0000 (01:45 +0000)]
am 319883c8: Merge "Security: AccountChooser shouldn\'t auto reveal accounts." into mnc-dev

* commit '319883c80e13ca980b2721a947805cde1999f204':
  Security: AccountChooser shouldn't auto reveal accounts.

9 years agoam 83e9525c: Merge "Fix premature clearing of clearable sysui flags" into mnc-dev
Adrian Roos [Fri, 10 Jul 2015 01:45:24 +0000 (01:45 +0000)]
am 83e9525c: Merge "Fix premature clearing of clearable sysui flags" into mnc-dev

* commit '83e9525c614d4a959c5f243bcda9a75057930339':
  Fix premature clearing of clearable sysui flags

9 years agoam a681d7d9: Merge "Improve alarm manager docs." into mnc-dev
Dianne Hackborn [Fri, 10 Jul 2015 01:45:17 +0000 (01:45 +0000)]
am a681d7d9: Merge "Improve alarm manager docs." into mnc-dev

* commit 'a681d7d92b6938194d5670a11b79486365cbcd72':
  Improve alarm manager docs.

9 years agoam 6ed4b9df: Merge "Deep-copying sucks when all you want is a borrow" into mnc-dev
John Reck [Fri, 10 Jul 2015 01:45:09 +0000 (01:45 +0000)]
am 6ed4b9df: Merge "Deep-copying sucks when all you want is a borrow" into mnc-dev

* commit '6ed4b9dfd6130f4517af5a99d99c5cb125600baa':
  Deep-copying sucks when all you want is a borrow

9 years agoam b7ba1220: Teach ImageView to recycle internal drawables
John Reck [Fri, 10 Jul 2015 01:45:02 +0000 (01:45 +0000)]
am b7ba1220: Teach ImageView to recycle internal drawables

* commit 'b7ba1220a3dc3012d2e22825eaeb0e643333f5a4':
  Teach ImageView to recycle internal drawables

9 years agoam 171fe6ac: Merge "Add an API for apps to query if a permisison is denied by policy...
Svet Ganov [Fri, 10 Jul 2015 01:44:45 +0000 (01:44 +0000)]
am 171fe6ac: Merge "Add an API for apps to query if a permisison is denied by policy." into mnc-dev

* commit '171fe6ac0aa5b0d2dd64ac1cdda25cdcb5f183f3':
  Add an API for apps to query if a permisison is denied by policy.