OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 28006a3b: am 7182f075: Merge "docs: Changed text as requested in Android TV advert...
Robert Schaub [Mon, 13 Jul 2015 23:58:09 +0000 (23:58 +0000)]
am 28006a3b: am 7182f075: Merge "docs: Changed text as requested in Android TV advertising bug, with minor cleanup" into mnc-preview-docs

* commit '28006a3b31d1cd3765568ceed211f8bc8de9c50c':
  docs: Changed text as requested in Android TV advertising bug, with minor cleanup

9 years agoam 1962b730: am 3430bec7: Merge "docs: Removed parenthetic phrase that made explanati...
Robert Schaub [Mon, 13 Jul 2015 23:58:03 +0000 (23:58 +0000)]
am 1962b730: am 3430bec7: Merge "docs: Removed parenthetic phrase that made explanation unnecessarily confusing" into mnc-preview-docs

* commit '1962b730067d5b9ad9666ee3a7d1e3f90004c7d7':
  docs: Removed parenthetic phrase that made explanation unnecessarily confusing

9 years agoam 5c3bf584: am e0f0fabb: am ccb8a9af: am b510225e: Merge "docs: replacing command...
David Friedman [Mon, 13 Jul 2015 23:57:52 +0000 (23:57 +0000)]
am 5c3bf584: am e0f0fabb: am ccb8a9af: am b510225e: Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs

* commit '5c3bf5847c98b23a525288ed04f77b2a68ec6870':
  docs: replacing command line tool instructions with Studio and Monitor steps

9 years agoam f13e914d: am 8cce3984: Merge "Adding a link to what is currently our most popular...
Eric Gilmore [Mon, 13 Jul 2015 23:57:43 +0000 (23:57 +0000)]
am f13e914d: am 8cce3984: Merge "Adding a link to what is currently our most popular "100 Days" video." into mnc-preview-docs

* commit 'f13e914d23a47809d978183a8e6b6ab3a5d51098':
  Adding a link to what is currently our most popular "100 Days" video.

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 agoam 7182f075: Merge "docs: Changed text as requested in Android TV advertising bug...
Robert Schaub [Mon, 13 Jul 2015 23:23:48 +0000 (23:23 +0000)]
am 7182f075: Merge "docs: Changed text as requested in Android TV advertising bug, with minor cleanup" into mnc-preview-docs

* commit '7182f075fad7865eb8c1ce58d90327addabc7c4b':
  docs: Changed text as requested in Android TV advertising bug, with minor cleanup

9 years agoam 3430bec7: Merge "docs: Removed parenthetic phrase that made explanation unnecessar...
Robert Schaub [Mon, 13 Jul 2015 23:23:43 +0000 (23:23 +0000)]
am 3430bec7: Merge "docs: Removed parenthetic phrase that made explanation unnecessarily confusing" into mnc-preview-docs

* commit '3430bec7e0b2f7a0552a66a523e478cd2ecd9043':
  docs: Removed parenthetic phrase that made explanation unnecessarily confusing

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 "docs: Changed text as requested in Android TV advertising bug, with minor...
Robert Schaub [Mon, 13 Jul 2015 23:12:22 +0000 (23:12 +0000)]
Merge "docs: Changed text as requested in Android TV advertising bug, with minor cleanup" into mnc-preview-docs

9 years agoMerge "docs: Removed parenthetic phrase that made explanation unnecessarily confusing...
Robert Schaub [Mon, 13 Jul 2015 23:06:44 +0000 (23:06 +0000)]
Merge "docs: Removed parenthetic phrase that made explanation unnecessarily confusing" into mnc-preview-docs

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 agoam e0f0fabb: am ccb8a9af: am b510225e: Merge "docs: replacing command line tool instr...
David Friedman [Sat, 11 Jul 2015 03:19:07 +0000 (03:19 +0000)]
am e0f0fabb: am ccb8a9af: am b510225e: Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs

* commit 'e0f0fabbb1a416d71677fe7d9692530023cd53ec':
  docs: replacing command line tool instructions with Studio and Monitor steps

9 years agoam ccb8a9af: am b510225e: Merge "docs: replacing command line tool instructions with...
David Friedman [Sat, 11 Jul 2015 03:06:00 +0000 (03:06 +0000)]
am ccb8a9af: am b510225e: Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs

* commit 'ccb8a9af1cf4c392b05ec7654d2a7213c8ef4019':
  docs: replacing command line tool instructions with Studio and Monitor steps

9 years agoam b510225e: Merge "docs: replacing command line tool instructions with Studio and...
David Friedman [Sat, 11 Jul 2015 02:53:54 +0000 (02:53 +0000)]
am b510225e: Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs

* commit 'b510225e44742d488beb7dcf0248c9ba9b4010c9':
  docs: replacing command line tool instructions with Studio and Monitor steps

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 "docs: replacing command line tool instructions with Studio and Monitor steps...
David Friedman [Sat, 11 Jul 2015 02:41:10 +0000 (02:41 +0000)]
Merge "docs: replacing command line tool instructions with Studio and Monitor steps" into lmp-docs

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 agoam 8cce3984: Merge "Adding a link to what is currently our most popular "100 Days...
Eric Gilmore [Fri, 10 Jul 2015 23:31:32 +0000 (23:31 +0000)]
am 8cce3984: Merge "Adding a link to what is currently our most popular "100 Days" video." into mnc-preview-docs

* commit '8cce398480f4450fa0a1b1e9422112731eddc161':
  Adding a link to what is currently our most popular "100 Days" video.

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 "Adding a link to what is currently our most popular "100 Days" video." into...
Eric Gilmore [Fri, 10 Jul 2015 23:19:41 +0000 (23:19 +0000)]
Merge "Adding a link to what is currently our most popular "100 Days" video." into mnc-preview-docs

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 agoAdding a link to what is currently our most popular "100 Days" video.
Eric Gilmore [Mon, 6 Jul 2015 18:23:44 +0000 (11:23 -0700)]
Adding a link to what is currently our most popular "100 Days" video.

Change-Id: Iae8beba1a7530262424d305d0a609b541503b236

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