OSDN Git Service

android-x86/frameworks-base.git
9 years agoam ead0cea0: am 77cae786: am 98b1f102: am c2b0d1d4: Merge "Support Library v22.2...
Chris Banes [Fri, 10 Jul 2015 18:14:25 +0000 (18:14 +0000)]
am ead0cea0: am 77cae786: am 98b1f102: am c2b0d1d4: Merge "Support Library v22.2.0 API diff" into mnc-preview-docs

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

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

* commit 'd1b16386e7a2c793bb0fc3d19708f1c2853e92da':
  Improve ImageView drawable re-use

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

* commit 'b25c0bb7ad06c7339555b54e17e183e04ed40d13':
  Create a thread_local cache for textLocale

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

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

9 years agoam 77cae786: am 98b1f102: am c2b0d1d4: Merge "Support Library v22.2.0 API diff" into...
Chris Banes [Fri, 10 Jul 2015 18:00:58 +0000 (18:00 +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 18:00:55 +0000 (18:00 +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 18:00:50 +0000 (18:00 +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 18:00:46 +0000 (18:00 +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 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 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 0eb4da60: am 1cb0de17: Merge "Correct the comparison done in removeAdapter." into...
Roshan Pius [Fri, 10 Jul 2015 17:22:05 +0000 (17:22 +0000)]
am 0eb4da60: am 1cb0de17: Merge "Correct the comparison done in removeAdapter." into mnc-dev

* commit '0eb4da607118e28d56d18ff1bd1f060b0431c61c':
  Correct the comparison done in removeAdapter.

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

* commit '0bac7fa791ced8e1e1ab67eca72c48be1b19eded':
  Fix build break.

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

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

9 years agoam c3d69a79: (-s ours) DO NOT MERGE - Fix NPE when requesting outsets for detached...
Filip Gruszczynski [Fri, 10 Jul 2015 17:09:57 +0000 (17:09 +0000)]
am c3d69a79: (-s ours) DO NOT MERGE - Fix NPE when requesting outsets for detached view.

* commit 'c3d69a798ee7093c87e929735d43cd27a8b0b131':
  DO NOT MERGE - Fix NPE when requesting outsets for detached view.

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 agoam 3b9ce37b: Fix build break.
Paul Jensen [Fri, 10 Jul 2015 16:51:41 +0000 (16:51 +0000)]
am 3b9ce37b: Fix build break.

* commit '3b9ce37b51dcc7729489701d4e797fe91f2ef559':
  Fix build break.

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 agoam 7f9e3274: am bbce221e: Merge "Fallback to Cellular if WiFi fails to validate"...
Paul Jensen [Fri, 10 Jul 2015 16:20:30 +0000 (16:20 +0000)]
am 7f9e3274: am bbce221e: Merge "Fallback to Cellular if WiFi fails to validate" into mnc-dev

* commit '7f9e3274c411924b059b3e8b04e5794362badc74':
  Fallback to Cellular if WiFi fails to validate

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

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

9 years agoam bbce221e: Merge "Fallback to Cellular if WiFi fails to validate" into mnc-dev
Paul Jensen [Fri, 10 Jul 2015 16:07:57 +0000 (16:07 +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 16:07:53 +0000 (16:07 +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 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 agoam 75a43340: am 00c64f7c: Merge "Add android.net.CaptivePortal class for captive...
Paul Jensen [Fri, 10 Jul 2015 15:19:43 +0000 (15:19 +0000)]
am 75a43340: am 00c64f7c: Merge "Add android.net.CaptivePortal class for captive-portal-handling-app callbacks" into mnc-dev

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

9 years agoam 00c64f7c: Merge "Add android.net.CaptivePortal class for captive-portal-handling...
Paul Jensen [Fri, 10 Jul 2015 15:06:30 +0000 (15:06 +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 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 agoam 8ac76504: am 9613e9b7: Merge "New setLocalMatrix() operation for HWUI" into mnc-dev
Tom Hudson [Fri, 10 Jul 2015 12:58:53 +0000 (12:58 +0000)]
am 8ac76504: am 9613e9b7: Merge "New setLocalMatrix() operation for HWUI" into mnc-dev

* commit '8ac76504feb4837ea524b2e62a0bd04c1e266d9a':
  New setLocalMatrix() operation for HWUI

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

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

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 agoam aa70c332: am 0236e6b2: Fix the build.
Bart Sears [Fri, 10 Jul 2015 04:35:57 +0000 (04:35 +0000)]
am aa70c332: am 0236e6b2: Fix the build.

* commit 'aa70c3328b7683bf6a0fea206124508a32cacf63':
  Fix the build.

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

* commit '0236e6b2d614abd11678de4cec4ed67b582541ff':
  Fix the build.

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 agoam 224ec55f: am 664251a2: Merge "Fix build" into mnc-dev
Svetoslav [Fri, 10 Jul 2015 04:03:43 +0000 (04:03 +0000)]
am 224ec55f: am 664251a2: Merge "Fix build" into mnc-dev

* commit '224ec55f98afdf571334723285f9d51682b7f82b':
  Fix build

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

* commit '664251a2fd16e63762be2ca93f2559dc2b134726':
  Fix build

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 agoam 1773f2df: am 1aa40492: Merge "Revert "Security: AccountChooser shouldn\'t auto...
Bart Sears [Fri, 10 Jul 2015 03:38:58 +0000 (03:38 +0000)]
am 1773f2df: am 1aa40492: Merge "Revert "Security: AccountChooser shouldn\'t auto reveal accounts."" into mnc-dev

* commit '1773f2df50d0d36d688b9721b6c7aca4c9b3cd6e':
  Revert "Security: AccountChooser shouldn't auto reveal accounts."

9 years agoam 3aa7069b: am a2cd9c56: Merge "Camera2: Reorganize high-speed recording API slightl...
Eino-Ville Talvala [Fri, 10 Jul 2015 03:38:53 +0000 (03:38 +0000)]
am 3aa7069b: am a2cd9c56: Merge "Camera2: Reorganize high-speed recording API slightly" into mnc-dev

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

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 agoam 1aa40492: Merge "Revert "Security: AccountChooser shouldn\'t auto reveal accounts...
Bart Sears [Fri, 10 Jul 2015 03:25:11 +0000 (03:25 +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 03:25:07 +0000 (03:25 +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 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 agoam b26b18f9: am becb4164: am a70109e4: am 019a0943: Docs: Fixes a typo.
David Friedman [Fri, 10 Jul 2015 02:20:40 +0000 (02:20 +0000)]
am b26b18f9: am becb4164: am a70109e4: am 019a0943: Docs: Fixes a typo.

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

9 years agoam 696c3f67: am d75391e0: am 8d56096b: am f739ad7f: Fix typos in preview support.
Dirk Dougherty [Fri, 10 Jul 2015 02:20:36 +0000 (02:20 +0000)]
am 696c3f67: am d75391e0: am 8d56096b: am f739ad7f: Fix typos in preview support.

* commit '696c3f67ba29c8c4da8666cb32d557cfefc21411':
  Fix typos in preview support.

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 02:03:27 +0000 (02:03 +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 02:03:22 +0000 (02:03 +0000)]
am d75391e0: am 8d56096b: am f739ad7f: Fix typos in preview support.

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

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

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

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

* commit '78da75c379d685e1e6ae0a66ae165467c06cd442':
  Fix premature clearing of clearable sysui flags

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

* commit '4730608646b19c3c230978da09050890b3d7e380':
  Improve alarm manager docs.

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

* commit '31b81b3cb94befad39d1632d449b0a4d6eedf604':
  Deep-copying sucks when all you want is a borrow

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

* commit '31ff4513d25b215f4e36ac24c313239d25998f86':
  Teach ImageView to recycle internal drawables

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

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

9 years agoam 1a51a136: am 4ee9b23a: Merge "Delete dead code" into mnc-dev
John Reck [Fri, 10 Jul 2015 01:54:00 +0000 (01:54 +0000)]
am 1a51a136: am 4ee9b23a: Merge "Delete dead code" into mnc-dev

* commit '1a51a136fdabe24a26b218fd1f52197093307ce5':
  Delete dead code

9 years agoam 319883c8: Merge "Security: AccountChooser shouldn\'t auto reveal accounts." into...
Carlos Valdivia [Fri, 10 Jul 2015 01:43:34 +0000 (01:43 +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:43:30 +0000 (01:43 +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:43:23 +0000 (01:43 +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:43:18 +0000 (01:43 +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:43:13 +0000 (01:43 +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:43:03 +0000 (01:43 +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.

9 years agoam 4ee9b23a: Merge "Delete dead code" into mnc-dev
John Reck [Fri, 10 Jul 2015 01:42:58 +0000 (01:42 +0000)]
am 4ee9b23a: Merge "Delete dead code" into mnc-dev

* commit '4ee9b23a6f1856bfe7fa810b585b4ced02745d65':
  Delete dead code

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

9 years agoSecurity: AccountChooser shouldn't auto reveal accounts.
Carlos Valdivia [Tue, 7 Jul 2015 22:37:54 +0000 (15:37 -0700)]
Security: AccountChooser shouldn't auto reveal accounts.

Bug: 9739125
Change-Id: Ib9032271def423aaafdab2505afaf6b1d3fcad06

9 years agoImprove alarm manager docs.
Dianne Hackborn [Fri, 10 Jul 2015 01:17:54 +0000 (18:17 -0700)]
Improve alarm manager docs.

Change-Id: I7547b48327a709783d908509efc7afd1a3f1a06a

9 years agoMerge "Deep-copying sucks when all you want is a borrow" into mnc-dev
John Reck [Fri, 10 Jul 2015 01:02:38 +0000 (01:02 +0000)]
Merge "Deep-copying sucks when all you want is a borrow" into mnc-dev

9 years agoCamera2: Reorganize high-speed recording API slightly
Eino-Ville Talvala [Tue, 30 Jun 2015 17:34:48 +0000 (10:34 -0700)]
Camera2: Reorganize high-speed recording API slightly

- Split off distinct high speed capture session class from base capture session
- Move createHighSpeedRequestList to CameraConstrainedHighSpeedCaptureSession

Bug: 21664295
Change-Id: I67d705fdeee1eaa6e5e3e1416771d5d0df642843

9 years agoDeep-copying sucks when all you want is a borrow
John Reck [Fri, 10 Jul 2015 00:45:39 +0000 (17:45 -0700)]
Deep-copying sucks when all you want is a borrow

Bug: 22378829

std::string only knows how to move & deep-copy, and we really
don't want either here since the Paint object for certain outlives
the stack scope so use a const reference instead.

Change-Id: I1c822c6ba9647953899cfe89dcc670d7265e3973

9 years agoTeach ImageView to recycle internal drawables
John Reck [Fri, 10 Jul 2015 00:37:34 +0000 (17:37 -0700)]
Teach ImageView to recycle internal drawables

Bug: 22289362

It's pretty common for ImageView#setBitmap to be called
repeatedly. Avoid re-creating the BitmapDrawable in this scenario
as that has high object churn of semi-expensive objects like
Paint.

Change-Id: Ib77719cd0366d02c1a42f774850bf3b9caa9c288

9 years agoMerge "Add an API for apps to query if a permisison is denied by policy." into mnc-dev
Svet Ganov [Fri, 10 Jul 2015 00:32:11 +0000 (00:32 +0000)]
Merge "Add an API for apps to query if a permisison is denied by policy." into mnc-dev

9 years agoMerge "Delete dead code" into mnc-dev
John Reck [Fri, 10 Jul 2015 00:30:58 +0000 (00:30 +0000)]
Merge "Delete dead code" into mnc-dev

9 years agoam 4dfeea4f: am 4d8134c1: Merge "Fix black keyguard / missing status bar" into mnc-dev
Adrian Roos [Fri, 10 Jul 2015 00:29:03 +0000 (00:29 +0000)]
am 4dfeea4f: am 4d8134c1: Merge "Fix black keyguard / missing status bar" into mnc-dev

* commit '4dfeea4f2243b7824ca56fa8906e12c90ce979ab':
  Fix black keyguard / missing status bar

9 years agoam 4d8134c1: Merge "Fix black keyguard / missing status bar" into mnc-dev
Adrian Roos [Fri, 10 Jul 2015 00:15:25 +0000 (00:15 +0000)]
am 4d8134c1: Merge "Fix black keyguard / missing status bar" into mnc-dev

* commit '4d8134c1b9e11c2b3a92195fb753da7b144bad1e':
  Fix black keyguard / missing status bar

9 years agoMerge "Fix black keyguard / missing status bar" into mnc-dev
Adrian Roos [Fri, 10 Jul 2015 00:01:19 +0000 (00:01 +0000)]
Merge "Fix black keyguard / missing status bar" into mnc-dev

9 years agoam 948a3ed9: am d80cf910: Merge "Allow codepath changes for new OTA packages" into...
Todd Kennedy [Thu, 9 Jul 2015 23:42:19 +0000 (23:42 +0000)]
am 948a3ed9: am d80cf910: Merge "Allow codepath changes for new OTA packages" into mnc-dev

* commit '948a3ed9bc289c17ada0a5eeb9dffb2314e924a5':
  Allow codepath changes for new OTA packages

9 years agoam d80cf910: Merge "Allow codepath changes for new OTA packages" into mnc-dev
Todd Kennedy [Thu, 9 Jul 2015 23:26:36 +0000 (23:26 +0000)]
am d80cf910: Merge "Allow codepath changes for new OTA packages" into mnc-dev

* commit 'd80cf9109aa6b560e473f0197034085ed9062eaa':
  Allow codepath changes for new OTA packages

9 years agoFix premature clearing of clearable sysui flags
Adrian Roos [Thu, 9 Jul 2015 23:22:24 +0000 (16:22 -0700)]
Fix premature clearing of clearable sysui flags

Fixes a bug where all clearable flags would be cleared even if
only a subset actually changes; new behavior is clearing only
the flags that actually got cleared.

Bug: 22331526
Change-Id: Icbb12121c977e48457692c054571521c6f6eb730

9 years agoMerge "Allow codepath changes for new OTA packages" into mnc-dev
Todd Kennedy [Thu, 9 Jul 2015 23:17:38 +0000 (23:17 +0000)]
Merge "Allow codepath changes for new OTA packages" into mnc-dev

9 years agoFix black keyguard / missing status bar
Adrian Roos [Thu, 9 Jul 2015 21:54:08 +0000 (14:54 -0700)]
Fix black keyguard / missing status bar

The status bar window was stuck in the READY_TO_SHOW state
because it was not policy visible, whereas the policy
was waiting for the window to become HAS_DRAWN.

Now BarController also updates states if the window
is READY_TO_SHOW, which in turn allows the window to
become visible and HAS_DRAWN.

Bug: 22072099
Change-Id: I1836c276723ee2205d7d5759be079f02aaa23e2e

9 years agoam d0e005de: am 0e7d497c: Merge "Fix issue #22328792: Fix scalability issues in Assis...
Dianne Hackborn [Thu, 9 Jul 2015 22:09:09 +0000 (22:09 +0000)]
am d0e005de: am 0e7d497c: Merge "Fix issue #22328792: Fix scalability issues in AssistStructure" into mnc-dev

* commit 'd0e005de8c2ed3158b430f5867243a15c215957e':
  Fix issue #22328792: Fix scalability issues in AssistStructure

9 years agoam bda9c9f2: am a1790304: Do not return devices when caller has no location permission
Fyodor Kupolov [Thu, 9 Jul 2015 22:09:05 +0000 (22:09 +0000)]
am bda9c9f2: am a1790304: Do not return devices when caller has no location permission

* commit 'bda9c9f266c12fd723249887fcc5230ecb6b5fc5':
  Do not return devices when caller has no location permission

9 years agoam 0e7d497c: Merge "Fix issue #22328792: Fix scalability issues in AssistStructure...
Dianne Hackborn [Thu, 9 Jul 2015 21:56:03 +0000 (21:56 +0000)]
am 0e7d497c: Merge "Fix issue #22328792: Fix scalability issues in AssistStructure" into mnc-dev

* commit '0e7d497c10c4f5096cf4cd32a56784fd18ab0f2c':
  Fix issue #22328792: Fix scalability issues in AssistStructure

9 years agoam a1790304: Do not return devices when caller has no location permission
Fyodor Kupolov [Thu, 9 Jul 2015 21:56:00 +0000 (21:56 +0000)]
am a1790304: Do not return devices when caller has no location permission

* commit 'a179030483a1f3f672be41797dc6e0f077ef4748':
  Do not return devices when caller has no location permission

9 years agoMerge "Fix issue #22328792: Fix scalability issues in AssistStructure" into mnc-dev
Dianne Hackborn [Thu, 9 Jul 2015 21:48:36 +0000 (21:48 +0000)]
Merge "Fix issue #22328792: Fix scalability issues in AssistStructure" into mnc-dev

9 years agoDo not return devices when caller has no location permission
Fyodor Kupolov [Fri, 19 Jun 2015 22:35:11 +0000 (15:35 -0700)]
Do not return devices when caller has no location permission

During startLeScan, do not return devices if calling process has no location
permission/appop

Bug: 21852542
Change-Id: Idce8f4704558574e373e8144390f2a2fa1a7e84a

9 years agoam bf8cc192: am adebbeba: Merge "Remote extraneous debugging log message" into mnc-dev
Christopher Tate [Thu, 9 Jul 2015 21:37:00 +0000 (21:37 +0000)]
am bf8cc192: am adebbeba: Merge "Remote extraneous debugging log message" into mnc-dev

* commit 'bf8cc1923cd9ca5d5be6b70e2428379cb264f493':
  Remote extraneous debugging log message

9 years agoDelete dead code
John Reck [Thu, 9 Jul 2015 21:19:01 +0000 (14:19 -0700)]
Delete dead code

Bug: 22378829

Every time setText is called a BoringLayout is created.
BoringLayout internally creates a new Paint called mWorkPaint.

However, creating a Paint turns out to be somewhat substantial
amount of work, and mWorkPaint is never actually used. Deleting
this shaves off roughly 50ms and 1,000 object creations during
a fling on a listview.

Change-Id: I5d03402b9027df6ce0f3e58160752c66c69a4d2d

9 years agoam adebbeba: Merge "Remote extraneous debugging log message" into mnc-dev
Christopher Tate [Thu, 9 Jul 2015 21:17:57 +0000 (21:17 +0000)]
am adebbeba: Merge "Remote extraneous debugging log message" into mnc-dev

* commit 'adebbebaa7d516628b5946dd023ff8726e75d2b0':
  Remote extraneous debugging log message

9 years agoFix issue #22328792: Fix scalability issues in AssistStructure
Dianne Hackborn [Thu, 9 Jul 2015 00:36:37 +0000 (17:36 -0700)]
Fix issue #22328792: Fix scalability issues in AssistStructure

We can now stream the AssistStructure across processes, avoiding
IPC size limitations for large structures.  There is also a new
API that gets called on the VoiceInteractionSession if there is
a failure retrieving the assist data.

Also fix issue #22351981: Runtime restart due to ANR in system server,
getting rid of a deadlock.

And also tweak object lifecycles to try to avoid keeping around
in an app the previous AssistStructure after we request a new one.

Change-Id: Ifb136a0d31a14e56a8db6b90768d9fc65557a17f