OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Perform One touch play upon pressing home key" into mnc-dev
Jinsuk Kim [Mon, 13 Jul 2015 23:44:58 +0000 (23:44 +0000)]
Merge "Perform One touch play upon pressing home key" into mnc-dev

9 years agoMerge "Catch & log security exception in telephonymanager" into mnc-dev
Roshan Pius [Mon, 13 Jul 2015 23:17:02 +0000 (23:17 +0000)]
Merge "Catch & log security exception in telephonymanager" into mnc-dev

9 years agoMerge "Do not check runtime READ_PHONE_STATE if caller has the privileged one." into...
Amit Mahajan [Mon, 13 Jul 2015 22:06:03 +0000 (22:06 +0000)]
Merge "Do not check runtime READ_PHONE_STATE if caller has the privileged one." into mnc-dev

9 years agoMerge "Improve resource loading by ~3x" into mnc-dev
John Reck [Mon, 13 Jul 2015 21:50:26 +0000 (21:50 +0000)]
Merge "Improve resource loading by ~3x" into mnc-dev

9 years agoImprove resource loading by ~3x
John Reck [Mon, 13 Jul 2015 21:42:43 +0000 (14:42 -0700)]
Improve resource loading by ~3x

Bug: 22392651

ColorStateLists were never cached because the lazy-create
of the constant state had a typo.

Resource caching in general was broken because ThemeKey did not
clone the hash code, so all keys in the cache had a hashCode
of 0 which did not match the real, uncloned ThemeKeys hash code
so the binary search in ArrayMap based off of hash code was failing.

Change-Id: I9df1628b226bfa797bed97875354c19bf64f41ad

9 years agoMerge "Finish already paused activity if it should be finished after pausing" into...
Wale Ogunwale [Mon, 13 Jul 2015 20:49:05 +0000 (20:49 +0000)]
Merge "Finish already paused activity if it should be finished after pausing" into mnc-dev

9 years agoCatch & log security exception in telephonymanager
Roshan Pius [Thu, 9 Jul 2015 21:15:25 +0000 (14:15 -0700)]
Catch & log security exception in telephonymanager

BUG: 22225068
Change-Id: I9b0053cf1041c81f409ace556b810ef79de88599

9 years agoMerge "Fix multiple SSIDs for same Passpoint issues" into mnc-dev
Vinit Deshpande [Mon, 13 Jul 2015 19:46:25 +0000 (19:46 +0000)]
Merge "Fix multiple SSIDs for same Passpoint issues" into mnc-dev

9 years agoMerge "Change MANAGE_FINGERPRINT permission to system|signature" into mnc-dev
Jim Miller [Mon, 13 Jul 2015 18:41:29 +0000 (18:41 +0000)]
Merge "Change MANAGE_FINGERPRINT permission to system|signature" into mnc-dev

9 years agoMerge "Log full class name of the client activating sensors for better debugging...
Aravind Akella [Mon, 13 Jul 2015 18:21:34 +0000 (18:21 +0000)]
Merge "Log full class name of the client activating sensors for better debugging." into mnc-dev

9 years agoMerge "Fix filter on CONNECTIVITY_ACTION updates" into mnc-dev
Etan Cohen [Mon, 13 Jul 2015 18:04:38 +0000 (18:04 +0000)]
Merge "Fix filter on CONNECTIVITY_ACTION updates" into mnc-dev

9 years agoMerge "Check user state after clearing identity." into mnc-dev
Amith Yamasani [Mon, 13 Jul 2015 18:03:18 +0000 (18:03 +0000)]
Merge "Check user state after clearing identity." into mnc-dev

9 years agoMerge "fix build by restoring deleted enum" into mnc-dev
Chris Wren [Mon, 13 Jul 2015 17:41:48 +0000 (17:41 +0000)]
Merge "fix build by restoring deleted enum" into mnc-dev

9 years agoMerge "Remove personal/device group from sideloading screen." into mnc-dev
Julia Reynolds [Mon, 13 Jul 2015 17:34:10 +0000 (17:34 +0000)]
Merge "Remove personal/device group from sideloading screen." into mnc-dev

9 years agofix build by restoring deleted enum
Chris Wren [Mon, 13 Jul 2015 16:59:01 +0000 (12:59 -0400)]
fix build by restoring deleted enum

Bug: 21114836
Change-Id: Ied4a6e48c66f882f43343a21bce0b3ccccd81713

9 years agoMerge "Fix demo mode issues" into mnc-dev
Jason Monk [Mon, 13 Jul 2015 16:22:35 +0000 (16:22 +0000)]
Merge "Fix demo mode issues" into mnc-dev

9 years agoMerge "add new enums to MetricsConstans" into mnc-dev
Chris Wren [Mon, 13 Jul 2015 16:21:21 +0000 (16:21 +0000)]
Merge "add new enums to MetricsConstans" into mnc-dev

9 years agoMerge "Show volume restriction toast on all users" into mnc-dev
Jason Monk [Mon, 13 Jul 2015 16:21:00 +0000 (16:21 +0000)]
Merge "Show volume restriction toast on all users" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 13 Jul 2015 15:37:09 +0000 (15:37 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 13 Jul 2015 15:34:33 +0000 (10:34 -0500)]
Import translations. DO NOT MERGE

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

9 years agoShow volume restriction toast on all users
Jason Monk [Mon, 13 Jul 2015 15:02:13 +0000 (11:02 -0400)]
Show volume restriction toast on all users

Bug: 21642285
Change-Id: I18ed4036543e1f13cd3010b9e1d790b16aa8e7a0

9 years agoFix demo mode issues
Jason Monk [Mon, 13 Jul 2015 14:42:23 +0000 (10:42 -0400)]
Fix demo mode issues

Bug: 22387423
Change-Id: I7b0b4ca75bae12a9fb3a90ab804b263e8d982b46

9 years agoMerge "Remove ExternalStorageFormatter" into mnc-dev
Rubin Xu [Mon, 13 Jul 2015 13:55:51 +0000 (13:55 +0000)]
Merge "Remove ExternalStorageFormatter" into mnc-dev

9 years agoRemove personal/device group from sideloading screen.
Julia Reynolds [Thu, 9 Jul 2015 19:23:42 +0000 (15:23 -0400)]
Remove personal/device group from sideloading screen.

Also ignore the requestedPermissionFlags of yet to be installed
packages when trying to determine if a permission is new.

Bug: 22229417

Change-Id: I59d579cdc42d64bcfdefdb06e1576959355bb7a4

9 years agoMerge "Use correct user when filtering app link candidates" into mnc-dev
Esteban Talavera [Mon, 13 Jul 2015 09:48:45 +0000 (09:48 +0000)]
Merge "Use correct user when filtering app link candidates" into mnc-dev

9 years agoMerge "Don't send app links to parent profile if status == never" into mnc-dev
Esteban Talavera [Mon, 13 Jul 2015 09:48:18 +0000 (09:48 +0000)]
Merge "Don't send app links to parent profile if status == never" into mnc-dev

9 years agoFinish already paused activity if it should be finished after pausing
Wale Ogunwale [Sun, 12 Jul 2015 22:14:01 +0000 (15:14 -0700)]
Finish already paused activity if it should be finished after pausing

If the app requests its activity to be finished allow it to be finished
immediately if the activity is already paused.

Also, don't schedule stop for an activity that was already finished in
ActivityStack.stopActivityLocked().

Bug: 22170595
Bug: 22397812
Change-Id: If349f7d3070a1fd2c0688fda7381b42f625ed9e4

9 years agoMerge "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission" into...
Billy Lau [Sun, 12 Jul 2015 22:02:34 +0000 (22:02 +0000)]
Merge "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission" into mnc-dev

9 years agoBug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission
Billy Lau [Tue, 7 Jul 2015 23:31:01 +0000 (00:31 +0100)]
Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission

Raised the protection level of WRITE_SETTINGS permission to appop and also
allowed backwards compatibility with pre23 flag. Also made sure that this
permission is not added as RuntimePermission in DefaultPermissionGrantPolicy as
that breaks a lot of gmscore stuff.

Introduced new action to manage write system settings as a new API and
renamed the string that describes the managing of overlay permission.

Change-Id: Ifd25a6ddc06de68ee37015cb9fb23452e4ef10f4

9 years agoLog full class name of the client activating sensors for better debugging.
Aravind Akella [Thu, 9 Jul 2015 21:11:45 +0000 (14:11 -0700)]
Log full class name of the client activating sensors for better debugging.

Bug: 22076400
Change-Id: Ibb8e72cfb031651e803f2eaf4b6530f809c00b6b

9 years agoCamera metadata: fix typos.
Zhijun He [Sun, 12 Jul 2015 03:02:30 +0000 (20:02 -0700)]
Camera metadata: fix typos.

Bug: 22417740
Change-Id: I871b990da43132f4967faf7ee23a9a2d962c4320

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Sat, 11 Jul 2015 19:01:43 +0000 (19:01 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Sat, 11 Jul 2015 17:35:45 +0000 (10:35 -0700)]
Import translations. DO NOT MERGE

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

9 years agoCheck user state after clearing identity.
Amith Yamasani [Sat, 11 Jul 2015 17:24:45 +0000 (10:24 -0700)]
Check user state after clearing identity.

This is to fix the case where the caller has GRANT_REVOKE_PERMISSIONS
but does not have MANAGE_USERS permission.

Related to a recent fix for
Bug: 22356546

Change-Id: Id51157abad14a0bdba3a16d7cd168f61ba25e890

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Sat, 11 Jul 2015 13:47:43 +0000 (06:47 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Improve Html.toHtml() documentation" into mnc-dev
Raph Levien [Sat, 11 Jul 2015 06:09:09 +0000 (06:09 +0000)]
Merge "Improve Html.toHtml() documentation" into mnc-dev

9 years agoChange MANAGE_FINGERPRINT permission to system|signature
Jim Miller [Sat, 11 Jul 2015 02:47:34 +0000 (19:47 -0700)]
Change MANAGE_FINGERPRINT permission to system|signature

This allows fingerprint enrollment to be done from
system-installed apps, such as Setup Wizard.

Fixes bug 21695577

Change-Id: I990912dcf229aa03f6350f96a09ff4588b20ca48

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 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 agoImprove Html.toHtml() documentation
Raph Levien [Sat, 11 Jul 2015 00:11:39 +0000 (17:11 -0700)]
Improve Html.toHtml() documentation

The existing documentation is very terse and users were getting
confused whether the method escapes HTML metacharacters or not. Expand
the description a bit and explicitly state that metacharacters are
escaped.

Bug: 17456925

Change-Id: Icaae7fe1344629de5c0860674f3913781de18013

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 agoDo not check runtime READ_PHONE_STATE if caller has the privileged one.
Amit Mahajan [Thu, 9 Jul 2015 18:12:19 +0000 (11:12 -0700)]
Do not check runtime READ_PHONE_STATE if caller has the privileged one.

Also removed READ_PHONE_STATE from SystemUI since it has
READ_PRIVILEGED_PHONE_STATE.

Bug: 22376654
Change-Id: I437f9bf324950cb70bae5be76699824da5897a6f

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 agoFix filter on CONNECTIVITY_ACTION updates
Robert Greenwalt [Fri, 10 Jul 2015 23:00:36 +0000 (16:00 -0700)]
Fix filter on CONNECTIVITY_ACTION updates

Only send for network types which the network supports.

bug:22411968
Change-Id: I97765544eb653caf0ea4fc5d3feec5742d5d88dc

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 agoadd new enums to MetricsConstans
Chris Wren [Fri, 10 Jul 2015 21:33:39 +0000 (17:33 -0400)]
add new enums to MetricsConstans

Bug: 21114836
Change-Id: Id62701be012c10bc11ee1ff8aa8435e178d35684

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 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 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 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 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 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 agoFix multiple SSIDs for same Passpoint issues
Vinit Deshpande [Thu, 9 Jul 2015 23:53:12 +0000 (16:53 -0700)]
Fix multiple SSIDs for same Passpoint issues

This change fixes Wifi Settings UI for passpoint. The
connected notification now should show up only for the
SSIDs that match.

Bug: 22200890
Change-Id: If69a9364eca5505fe2d4037217f1777fa4d823f5

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 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 agoUse correct user when filtering app link candidates
Esteban Talavera [Fri, 10 Jul 2015 13:59:49 +0000 (14:59 +0100)]
Use correct user when filtering app link candidates

Bug: 22288835
Change-Id: I29b3ac04e66b5e93f5cf29fd618b98d1c8106f58

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 a70109e4: am 019a0943: Docs: Fixes a typo.
David Friedman [Fri, 10 Jul 2015 01:31:06 +0000 (01:31 +0000)]
am a70109e4: am 019a0943: Docs: Fixes a typo.

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

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

* commit '8d56096b59dbbcfd18ab137309fe203cca0033d8':
  Fix typos in preview support.

9 years agoMerge "Security: AccountChooser shouldn't auto reveal accounts." into mnc-dev
Carlos Valdivia [Fri, 10 Jul 2015 01:25:27 +0000 (01:25 +0000)]
Merge "Security: AccountChooser shouldn't auto reveal accounts." into mnc-dev

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

9 years agoMerge "Improve alarm manager docs." into mnc-dev
Dianne Hackborn [Fri, 10 Jul 2015 01:19:48 +0000 (01:19 +0000)]
Merge "Improve alarm manager docs." into mnc-dev