OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Update material switch styling" into lmp-dev
Alan Viverette [Thu, 21 Aug 2014 19:59:03 +0000 (19:59 +0000)]
Merge "Update material switch styling" into lmp-dev

9 years agoMerge "Use the crop function in the surfaceflinger screenshot api." into lmp-dev
Riley Andrews [Thu, 21 Aug 2014 19:31:44 +0000 (19:31 +0000)]
Merge "Use the crop function in the surfaceflinger screenshot api." into lmp-dev

9 years agoMerge "Implement GradientDrawable getColorFilter." into lmp-dev
John Spurlock [Thu, 21 Aug 2014 19:13:57 +0000 (19:13 +0000)]
Merge "Implement GradientDrawable getColorFilter." into lmp-dev

9 years agoMerge "Show lock to app request on all users" into lmp-dev
Jason Monk [Thu, 21 Aug 2014 19:13:31 +0000 (19:13 +0000)]
Merge "Show lock to app request on all users" into lmp-dev

9 years agoMerge "Fix layer shadow transform crash" into lmp-dev
Chris Craik [Thu, 21 Aug 2014 19:03:24 +0000 (19:03 +0000)]
Merge "Fix layer shadow transform crash" into lmp-dev

9 years agoImplement GradientDrawable getColorFilter.
John Spurlock [Thu, 21 Aug 2014 18:53:05 +0000 (14:53 -0400)]
Implement GradientDrawable getColorFilter.

Otherwise the value in setColorFilter is unavailable.

Bug:17137319
Change-Id: Ief973abfa129d935aa45336275337e19a3eb0f6a

9 years agoMerge "In startActivityAsCaller, changing the way we get the userId." into lmp-dev
Nicolas Prevot [Thu, 21 Aug 2014 18:47:35 +0000 (18:47 +0000)]
Merge "In startActivityAsCaller, changing the way we get the userId." into lmp-dev

9 years agoMerge "Always set transport control flags" into lmp-dev
RoboErik [Thu, 21 Aug 2014 18:44:24 +0000 (18:44 +0000)]
Merge "Always set transport control flags" into lmp-dev

9 years agoMerge "Update the Split example" into lmp-dev
Adam Lesinski [Thu, 21 Aug 2014 18:43:57 +0000 (18:43 +0000)]
Merge "Update the Split example" into lmp-dev

9 years agoUpdate the Split example
Adam Lesinski [Thu, 21 Aug 2014 18:21:42 +0000 (11:21 -0700)]
Update the Split example

Caveat: There are two bugs:

- Mipmap definitions get placed in all splits.
- mdpi drawable doesn't get split properly.

Change-Id: I53b8e54cbcb3dfba495ec68e602f98666e8883a7

9 years agoMerge "Always put current user first in user switchers" into lmp-dev
Adrian Roos [Thu, 21 Aug 2014 18:36:02 +0000 (18:36 +0000)]
Merge "Always put current user first in user switchers" into lmp-dev

9 years agoAlways put current user first in user switchers
Adrian Roos [Thu, 21 Aug 2014 18:31:41 +0000 (20:31 +0200)]
Always put current user first in user switchers

Bug: 16896343
Change-Id: I2de19b3af5d5b2eed1347b41bccf9c9dc87c2e5b

9 years agoMerge "Fix a regression in partially updading app widgets." into lmp-dev
Svet Ganov [Thu, 21 Aug 2014 18:27:10 +0000 (18:27 +0000)]
Merge "Fix a regression in partially updading app widgets." into lmp-dev

9 years agoMerge "Use the correct versionCode for Split APKs" into lmp-dev
Adam Lesinski [Thu, 21 Aug 2014 18:21:19 +0000 (18:21 +0000)]
Merge "Use the correct versionCode for Split APKs" into lmp-dev

9 years agoUse the correct versionCode for Split APKs
Adam Lesinski [Fri, 8 Aug 2014 04:26:53 +0000 (21:26 -0700)]
Use the correct versionCode for Split APKs

Insert the correct versionCode into the generated
Split AndroidManifest.xml.

Change-Id: I0aec797b5a4ff8bd70f9394b18aee5ad292b37c8

9 years agoMerge "LE: Rename new MTU and connection paramter update APIs" into lmp-dev
Andre Eisenbach [Thu, 21 Aug 2014 17:56:24 +0000 (17:56 +0000)]
Merge "LE: Rename new MTU and connection paramter update APIs" into lmp-dev

9 years agoUpdate material switch styling
Alan Viverette [Thu, 21 Aug 2014 17:54:14 +0000 (10:54 -0700)]
Update material switch styling

Also adds switch style to default theme.

BUG: 16984766
Change-Id: Ib90bcd80cd599e3c66a08ae7b327a347f4ca2405

9 years agoAlways set transport control flags
RoboErik [Thu, 21 Aug 2014 17:13:58 +0000 (10:13 -0700)]
Always set transport control flags

In case we're attaching to a pre-existing session with non-zero flags.

bug:16822064
Change-Id: Ibd5cc8e00de59f1fe30fc3d0e64741aaf9f4746f

9 years agoShow lock to app request on all users
Jason Monk [Thu, 21 Aug 2014 17:45:44 +0000 (13:45 -0400)]
Show lock to app request on all users

This way secondary users can see it.  To avoid it being displayed
on the wrong user, clear it on user switch.

Bug: 17151184
Change-Id: I1699f85d2d90cbc0e17f39f9971f20d90637b38f

9 years agoam c1da9cbf: am 2c374e64: am 82957e38: Merge "docs: Fixed typo in intents page. Bug...
Ricardo Cervera [Thu, 21 Aug 2014 17:44:53 +0000 (17:44 +0000)]
am c1da9cbf: am 2c374e64: am 82957e38: Merge "docs: Fixed typo in intents page. Bug: 16949177" into klp-modular-docs

* commit 'c1da9cbff5d5b597fd58cbb578a1eadc6f479c80':
  docs: Fixed typo in intents page. Bug: 16949177

9 years agoam e415ebc6: am d309de3d: am 7bf7b779: Merge "Docs: Fixed typo \'Fore\'" into klp...
Rich Slogar [Thu, 21 Aug 2014 17:44:47 +0000 (17:44 +0000)]
am e415ebc6: am d309de3d: am 7bf7b779: Merge "Docs: Fixed typo \'Fore\'" into klp-modular-docs

* commit 'e415ebc634c98b5a6aaa42c0698b7482e44b3b3f':
  Docs: Fixed typo 'Fore'

9 years agoam e4be8986: am 0d65bf25: am 262b4147: Merge "docs: Fixed bug in declaring layout...
Ricardo Cervera [Thu, 21 Aug 2014 17:44:40 +0000 (17:44 +0000)]
am e4be8986: am 0d65bf25: am 262b4147: Merge "docs: Fixed bug in declaring layout page. Bug: 16815916" into klp-modular-docs

* commit 'e4be8986544a45a2560003f004b72528c691acef':
  docs: Fixed bug in declaring layout page. Bug: 16815916

9 years agoam 9e6b3e7d: am 63da186f: am c5807808: docs: Fixed typo in Wear training class. Bug...
Ricardo Cervera [Thu, 21 Aug 2014 17:44:27 +0000 (17:44 +0000)]
am 9e6b3e7d: am 63da186f: am c5807808: docs: Fixed typo in Wear training class. Bug: 16709202

* commit '9e6b3e7dd85224c836e902551079c2445688d762':
  docs: Fixed typo in Wear training class. Bug: 16709202

9 years agoMerge "Clear identity before calling out to PackageHelper" into lmp-dev
Jeff Sharkey [Thu, 21 Aug 2014 17:42:01 +0000 (17:42 +0000)]
Merge "Clear identity before calling out to PackageHelper" into lmp-dev

9 years agoClear identity before calling out to PackageHelper
Robin Lee [Thu, 21 Aug 2014 15:51:18 +0000 (16:51 +0100)]
Clear identity before calling out to PackageHelper

PackageHelper.resolveInstallLocation expects the binding user to be
equivalent to the calling user. If this is not the case, it may fail
and throw an exception preventing anyone but user 0 from installing
anything.

Bug: 17175251
Change-Id: Id5615738c7b4e1234a548c7b4a410282d14c9ee3

9 years agoMerge "AAPT: Fix regression generating dynamic ref table for shared libraries" into...
Adam Lesinski [Thu, 21 Aug 2014 17:31:44 +0000 (17:31 +0000)]
Merge "AAPT: Fix regression generating dynamic ref table for shared libraries" into lmp-dev

9 years agoam 2c374e64: am 82957e38: Merge "docs: Fixed typo in intents page. Bug: 16949177...
Ricardo Cervera [Thu, 21 Aug 2014 17:31:31 +0000 (17:31 +0000)]
am 2c374e64: am 82957e38: Merge "docs: Fixed typo in intents page. Bug: 16949177" into klp-modular-docs

* commit '2c374e643d6cce73a71fb57559f898b6b554e36c':
  docs: Fixed typo in intents page. Bug: 16949177

9 years agoam d309de3d: am 7bf7b779: Merge "Docs: Fixed typo \'Fore\'" into klp-modular-docs
Rich Slogar [Thu, 21 Aug 2014 17:31:27 +0000 (17:31 +0000)]
am d309de3d: am 7bf7b779: Merge "Docs: Fixed typo \'Fore\'" into klp-modular-docs

* commit 'd309de3d06817e51aab056284874f613238ff400':
  Docs: Fixed typo 'Fore'

9 years agoam 0d65bf25: am 262b4147: Merge "docs: Fixed bug in declaring layout page. Bug: 16815...
Ricardo Cervera [Thu, 21 Aug 2014 17:31:03 +0000 (17:31 +0000)]
am 0d65bf25: am 262b4147: Merge "docs: Fixed bug in declaring layout page. Bug: 16815916" into klp-modular-docs

* commit '0d65bf25c8a9091d598f50e0d534625107db6cf6':
  docs: Fixed bug in declaring layout page. Bug: 16815916

9 years agoam 63da186f: am c5807808: docs: Fixed typo in Wear training class. Bug: 16709202
Ricardo Cervera [Thu, 21 Aug 2014 17:30:57 +0000 (17:30 +0000)]
am 63da186f: am c5807808: docs: Fixed typo in Wear training class. Bug: 16709202

* commit '63da186fef8add43bcd0c347eec86946b67350c3':
  docs: Fixed typo in Wear training class. Bug: 16709202

9 years agoMerge "Fixing issue with inconsistent icon filename. (Bug 16992882)" into lmp-dev
Winson Chung [Thu, 21 Aug 2014 17:19:27 +0000 (17:19 +0000)]
Merge "Fixing issue with inconsistent icon filename. (Bug 16992882)" into lmp-dev

9 years agoFix layer shadow transform crash
Chris Craik [Thu, 21 Aug 2014 17:18:58 +0000 (10:18 -0700)]
Fix layer shadow transform crash

bug:17180252

Change-Id: Ia648b8c98a217a3a4973917bf255d1397802cbbe

9 years agoMerge "Remove old NFC unlock api" into lmp-dev
Andres Morales [Thu, 21 Aug 2014 17:07:31 +0000 (17:07 +0000)]
Merge "Remove old NFC unlock api" into lmp-dev

9 years agoMerge "Send captive portal broadcast as user CURRENT." into lmp-dev
Paul Jensen [Thu, 21 Aug 2014 17:05:41 +0000 (17:05 +0000)]
Merge "Send captive portal broadcast as user CURRENT." into lmp-dev

9 years agoMerge "Set transport control flags when a session is created" into lmp-dev
RoboErik [Thu, 21 Aug 2014 16:58:40 +0000 (16:58 +0000)]
Merge "Set transport control flags when a session is created" into lmp-dev

9 years agoMerge "Fix issue #17038762: Add API to add entries to the recents list" into lmp-dev
Dianne Hackborn [Thu, 21 Aug 2014 16:56:17 +0000 (16:56 +0000)]
Merge "Fix issue #17038762: Add API to add entries to the recents list" into lmp-dev

9 years agoMerge "Clarify text shadow attribute/method comments" into lmp-dev
Chris Craik [Thu, 21 Aug 2014 16:46:51 +0000 (16:46 +0000)]
Merge "Clarify text shadow attribute/method comments" into lmp-dev

9 years agoMerge "Marking the methods to get Profile/Device Owner with @SystemApi." into lmp-dev
Nicolas Prevot [Thu, 21 Aug 2014 16:33:46 +0000 (16:33 +0000)]
Merge "Marking the methods to get Profile/Device Owner with @SystemApi." into lmp-dev

9 years agoMerge "Save PatternVisible setting to crypto header" into lmp-dev
Paul Lawrence [Thu, 21 Aug 2014 16:25:55 +0000 (16:25 +0000)]
Merge "Save PatternVisible setting to crypto header" into lmp-dev

9 years agoMarking the methods to get Profile/Device Owner with @SystemApi.
Nicolas Prevot [Wed, 6 Aug 2014 16:03:25 +0000 (17:03 +0100)]
Marking the methods to get Profile/Device Owner with @SystemApi.

BUG: 16860239

Change-Id: I60126a8112a57e836cae3bcd9b62ebf50385f5ec

9 years agoMerge "Camera2: update aberration correction related tag name" into lmp-dev
Zhijun He [Thu, 21 Aug 2014 16:17:51 +0000 (16:17 +0000)]
Merge "Camera2: update aberration correction related tag name" into lmp-dev

9 years agoMerge "TIF: Accept any character for custom label." into lmp-dev
Jaewan Kim [Thu, 21 Aug 2014 16:13:24 +0000 (16:13 +0000)]
Merge "TIF: Accept any character for custom label." into lmp-dev

9 years agoMerge "Fix findConnectionTypeForIface." into lmp-dev
Lorenzo Colitti [Thu, 21 Aug 2014 16:08:11 +0000 (16:08 +0000)]
Merge "Fix findConnectionTypeForIface." into lmp-dev

9 years agoTIF: Accept any character for custom label.
Jaewan Kim [Thu, 21 Aug 2014 15:43:31 +0000 (00:43 +0900)]
TIF: Accept any character for custom label.

Bug: 16874696
Change-Id: Idc42853ea7f4b12a2eda1f45319bc31ee1a8c6b7

9 years agoMerge "Revert "Annotate @SystemApi on some WifiManager methods."" into lmp-dev
Wenchao Tong [Thu, 21 Aug 2014 16:04:59 +0000 (16:04 +0000)]
Merge "Revert "Annotate @SystemApi on some WifiManager methods."" into lmp-dev

9 years agoMerge "Throw exception on nonexistent font" into lmp-dev
Behdad Esfahbod [Thu, 21 Aug 2014 16:01:52 +0000 (16:01 +0000)]
Merge "Throw exception on nonexistent font" into lmp-dev

9 years agoMerge "Replicate text and sounds settings for managed profile." into lmp-dev
Kenny Guy [Thu, 21 Aug 2014 15:55:42 +0000 (15:55 +0000)]
Merge "Replicate text and sounds settings for managed profile." into lmp-dev

9 years agoFix a regression in partially updading app widgets.
Svet Ganov [Thu, 21 Aug 2014 15:31:55 +0000 (08:31 -0700)]
Fix a regression in partially updading app widgets.

App widgets can be partially updated where only the actions delta
is delivered to the client. There was a regression where instead
of sending the delta, the merged remote views were sent. This was
problematic because certain actions are ignored when merging to
avoid clutter (specifically showNext and showPrevious), hence these
actions never reached the client.

bug:16844814

Change-Id: I88ab58e610cda24154985165e6d6d93a1baa9c79

9 years agoMerge "Set last phrase for constant values of EXTRA_* fields to ALL_CAPS" into lmp-dev
Esteban Talavera [Thu, 21 Aug 2014 15:33:19 +0000 (15:33 +0000)]
Merge "Set last phrase for constant values of EXTRA_* fields to ALL_CAPS" into lmp-dev

9 years agoam 82957e38: Merge "docs: Fixed typo in intents page. Bug: 16949177" into klp-modular...
Ricardo Cervera [Thu, 21 Aug 2014 15:31:34 +0000 (15:31 +0000)]
am 82957e38: Merge "docs: Fixed typo in intents page. Bug: 16949177" into klp-modular-docs

* commit '82957e38b2d38ea41fdf930d722157287eab0590':
  docs: Fixed typo in intents page. Bug: 16949177

9 years agoMerge "docs: Fixed typo in intents page. Bug: 16949177" into klp-modular-docs
Ricardo Cervera [Thu, 21 Aug 2014 15:22:10 +0000 (15:22 +0000)]
Merge "docs: Fixed typo in intents page. Bug: 16949177" into klp-modular-docs

9 years agoMerge "Updated documentation for setScreenCaptureDisabled()" into lmp-dev
Esteban Talavera [Thu, 21 Aug 2014 15:21:58 +0000 (15:21 +0000)]
Merge "Updated documentation for setScreenCaptureDisabled()" into lmp-dev

9 years agoMerge "Update notification layouts to match redlines" into lmp-dev
Jorim Jaggi [Thu, 21 Aug 2014 15:21:21 +0000 (15:21 +0000)]
Merge "Update notification layouts to match redlines" into lmp-dev

9 years agoReplicate text and sounds settings for managed profile.
Kenny Guy [Thu, 21 Aug 2014 15:17:09 +0000 (16:17 +0100)]
Replicate text and sounds settings for managed profile.

Replicate touch sound / vibrate setting and show password
setting between managed and parent user.

Bug: 17064707,17157511
Change-Id: I70ea9f2ac57ba5a8f9619b21eb7adad91011d733

9 years agoUpdate notification layouts to match redlines
Jorim Jaggi [Tue, 19 Aug 2014 20:33:42 +0000 (22:33 +0200)]
Update notification layouts to match redlines

Also fixes a lot of paddings and other small issues with
the notification layouts.

Bug: 15437369
Change-Id: I40b6c69afc160c498b7e2e709814b5b847f615de

9 years agoInvoke shutdownMobileRadios Telephony APIs from ShutdownThread
Naveen Kalla [Sat, 2 Aug 2014 08:03:42 +0000 (01:03 -0700)]
Invoke shutdownMobileRadios Telephony APIs from ShutdownThread

shutdownMobileRadios API shuts down multiple Radios on MSIM devices and
also gracefully shuts down Radios and SIM cards on single SIM and
MSIM devices. Use this API instead of the old setRadio APIs.

Add RIL_REQUEST_SHUTDOWN to RILConstants. Message is sent to notify
RIL that the device is shutting down.

Bug: 9773278
Change-Id: I6afa9e810cefc7855f7ae42e51f39cc51fa2aa6e

9 years agoMerge "Rename PROVISIONING_NFC_MIME_TYPE to MIME_TYPE_PROVISIONING_NFC" into lmp-dev
Esteban Talavera [Thu, 21 Aug 2014 14:58:17 +0000 (14:58 +0000)]
Merge "Rename PROVISIONING_NFC_MIME_TYPE to MIME_TYPE_PROVISIONING_NFC" into lmp-dev

9 years agoMerge "Rename get/setBlockUninstall() to get/setUninstallBlocked()" into lmp-dev
Esteban Talavera [Thu, 21 Aug 2014 14:58:06 +0000 (14:58 +0000)]
Merge "Rename get/setBlockUninstall() to get/setUninstallBlocked()" into lmp-dev

9 years agoMerge "per bssid blacklist" into lmp-dev
vandwalle [Thu, 21 Aug 2014 14:55:10 +0000 (14:55 +0000)]
Merge "per bssid blacklist" into lmp-dev

9 years agoRename get/setBlockUninstall() to get/setUninstallBlocked()
Esteban Talavera [Wed, 20 Aug 2014 10:35:57 +0000 (11:35 +0100)]
Rename get/setBlockUninstall() to get/setUninstallBlocked()

As requested in the API review

Bug: 17005622
Change-Id: I1332ad11e588ab3fa409f2a28222608936cb383e

9 years agoMerge "Run RevealAnimator on RT" into lmp-dev
John Reck [Thu, 21 Aug 2014 14:23:26 +0000 (14:23 +0000)]
Merge "Run RevealAnimator on RT" into lmp-dev

9 years agoMerge "Remove setApplicationsHidden" into lmp-dev
Esteban Talavera [Thu, 21 Aug 2014 14:17:23 +0000 (14:17 +0000)]
Merge "Remove setApplicationsHidden" into lmp-dev

9 years agoMerge "Update VPN Icon to key." into lmp-dev
Jason Monk [Thu, 21 Aug 2014 14:06:52 +0000 (14:06 +0000)]
Merge "Update VPN Icon to key." into lmp-dev

9 years agoSet last phrase for constant values of EXTRA_* fields to ALL_CAPS
Esteban Talavera [Wed, 20 Aug 2014 12:54:25 +0000 (13:54 +0100)]
Set last phrase for constant values of EXTRA_* fields to ALL_CAPS

As requested in the API review.

Bug: 17005622,16486199
Change-Id: I6f60a43fe23526cfe855d81015feb759cf643926

9 years agoDon't stack toasts for every user press
Jason Monk [Tue, 19 Aug 2014 19:20:01 +0000 (15:20 -0400)]
Don't stack toasts for every user press

Showing a toast on every press was adding up to a long list of
toasts to clear out of the display, now cancel the last so we
don't have that problem.

Also fix unlock strings to not use insertions because of problems
translating the context.

Bug: 16892731
Bug: 16366701
Change-Id: Ia523469089c9f8dd1f3e466a9d4ea901a376d1bc

9 years agoIn startActivityAsCaller, changing the way we get the userId.
Nicolas Prevot [Thu, 21 Aug 2014 13:35:57 +0000 (14:35 +0100)]
In startActivityAsCaller, changing the way we get the userId.

BUG: 17170098

Change-Id: Ie7fbd547b664a9982895b77da1fbb28df139ce52

9 years agoUpdated documentation for setScreenCaptureDisabled()
Esteban Talavera [Thu, 21 Aug 2014 13:03:55 +0000 (14:03 +0100)]
Updated documentation for setScreenCaptureDisabled()

As requested in the API review. Also, removed unused import.

Bug: 17005622
Change-Id: I0bc57411ec34119f64e28eaf27c32a67b45fd66f

9 years agoSend captive portal broadcast as user CURRENT.
Paul Jensen [Wed, 20 Aug 2014 15:01:41 +0000 (11:01 -0400)]
Send captive portal broadcast as user CURRENT.

Previously this was sent without a qualifying user.

bug:17138439
Change-Id: I6345f2375fee168f86c0611e76f869e7377befbe

9 years agoTIF: Release main TvView on reset()
Ji-Hwan Lee [Thu, 21 Aug 2014 08:53:15 +0000 (17:53 +0900)]
TIF: Release main TvView on reset()

Also, use WeakReference for TvView.sMainTvView.

Change-Id: I6eec1c9f907692f0fbfa96d80c7d1141eabde6e2

9 years agoMerge "Fix broken brightness mirror" into lmp-dev
Adrian Roos [Thu, 21 Aug 2014 11:58:43 +0000 (11:58 +0000)]
Merge "Fix broken brightness mirror" into lmp-dev

9 years agoFix broken brightness mirror
Adrian Roos [Wed, 20 Aug 2014 22:03:15 +0000 (00:03 +0200)]
Fix broken brightness mirror

Bug: 17136823
Change-Id: I5609b2d539db56ec235899c069a080c8a959d254

9 years agoMerge "Fixed spelling of android.nominative and updated some comments." into lmp-dev
Niels Egberts [Thu, 21 Aug 2014 11:33:00 +0000 (11:33 +0000)]
Merge "Fixed spelling of android.nominative and updated some comments." into lmp-dev

9 years agoMerge "Add apis for whitelisting IMEs and accessibility services." into lmp-dev
Kenny Guy [Thu, 21 Aug 2014 10:54:25 +0000 (10:54 +0000)]
Merge "Add apis for whitelisting IMEs and accessibility services." into lmp-dev

9 years agoFixed spelling of android.nominative and updated some comments.
Niels Egberts [Wed, 13 Aug 2014 14:22:53 +0000 (15:22 +0100)]
Fixed spelling of android.nominative and updated some comments.

Bug: 17000831
Change-Id: I3a87635a6a894ee8ad1386cde8b59dcd9533b23f

9 years agoMerge "Strings: replace work space by work profile" into lmp-dev
Jessica Hummel [Thu, 21 Aug 2014 10:08:56 +0000 (10:08 +0000)]
Merge "Strings: replace work space by work profile" into lmp-dev

9 years agoStrings: replace work space by work profile
Jessica Hummel [Tue, 19 Aug 2014 16:45:54 +0000 (17:45 +0100)]
Strings: replace work space by work profile

Change-Id: I3f2dd5f628a34e1df351b3f1a526f3d2beea3ece
bug:16468412

9 years agoRemove setApplicationsHidden
Esteban Talavera [Thu, 21 Aug 2014 09:25:08 +0000 (10:25 +0100)]
Remove setApplicationsHidden

As requested in the API review. This version (the one that takes an Intent) was used only in the DeviceAdminSample and some CTS tests.

Bug: 17005622
Change-Id: I9984b22836417ad4d025302f61bd91704e9345a4

9 years agoMerge "CEC: Fix a bug not sending <Set Stream Path>" into lmp-dev
Jinsuk Kim [Thu, 21 Aug 2014 05:53:50 +0000 (05:53 +0000)]
Merge "CEC: Fix a bug not sending <Set Stream Path>" into lmp-dev

9 years agoCEC: Fix a bug not sending <Set Stream Path>
Jinsuk Kim [Thu, 21 Aug 2014 05:31:40 +0000 (14:31 +0900)]
CEC: Fix a bug not sending <Set Stream Path>

Passes the right flag to manual routing switching method for TV
to send out <Set Stream Path> to the newly selected device(path).

Bug: 17169555
Change-Id: I4a14925e366a433f36b28170e37d041053c0060d

9 years agoMerge "CEC: Invoke input change for RAP request from MHL device" into lmp-dev
Jinsuk Kim [Thu, 21 Aug 2014 05:26:18 +0000 (05:26 +0000)]
Merge "CEC: Invoke input change for RAP request from MHL device" into lmp-dev

9 years agoCamera2: update aberration correction related tag name
Zhijun He [Mon, 18 Aug 2014 18:12:32 +0000 (11:12 -0700)]
Camera2: update aberration correction related tag name

This is for API review update.

Bug: 17008587
Change-Id: I67c2cffed8fcc106008b0fde6f01cd81f4ce6db0

9 years agoMerge "Add getCdmaMdn and getCdmaMin as system api to telmgr." into lmp-dev
Junda Liu [Thu, 21 Aug 2014 04:43:37 +0000 (04:43 +0000)]
Merge "Add getCdmaMdn and getCdmaMin as system api to telmgr." into lmp-dev

9 years agoMerge "Fix threading issue for advertising." into lmp-dev
Wei Wang [Thu, 21 Aug 2014 04:10:50 +0000 (04:10 +0000)]
Merge "Fix threading issue for advertising." into lmp-dev

9 years agoAPI Review: android.media.tv
Jae Seo [Wed, 20 Aug 2014 06:36:02 +0000 (23:36 -0700)]
API Review: android.media.tv

TvContentRating:
- The XML file: attributes should have android: prefix and should allow
  string resource references for labels.

Bug: 17114406
Change-Id: Ife2f4dc6c2c8a5a1714cdeedb27aab40fce73e2b

9 years agoCEC: Invoke input change for RAP request from MHL device
Jinsuk Kim [Wed, 20 Aug 2014 08:45:22 +0000 (17:45 +0900)]
CEC: Invoke input change for RAP request from MHL device

Transform RAP[ContentOn/Off] to input change event.

Bug: 17141884
Change-Id: Ic2d8e305f482ebb4f4f3b3e167f726a66dc174cf

9 years agoSet transport control flags when a session is created
RoboErik [Thu, 21 Aug 2014 01:19:30 +0000 (18:19 -0700)]
Set transport control flags when a session is created

Some apps only set the transport control flags once when their service
starts. This was leading to them not getting set when a session is
created on their behalf in RCC. This sets the flags when a session
is created if needed.

bug:16822064
Change-Id: Iea1ebf7747b3059101eb3c36b143b594cc51e114

9 years agoFix issue #17038762: Add API to add entries to the recents list
Dianne Hackborn [Wed, 20 Aug 2014 22:25:13 +0000 (15:25 -0700)]
Fix issue #17038762: Add API to add entries to the recents list

New API Added to ActivityManager for adding an entry.  See docs
there.

Repercussions:

- I hit a bug in system UI where if the thumbnail has alpha, it tries
  to modify it, but thumbnails are loading immutable so crashes.  Fixed
  this by loading the bitmaps to be mutable.
- Improved dump output of recents; there was a lot of stuff missing.
  Also split the recents dump output from the rest of the activity
  output, since it can be really large.
- Added tests to the lovely ActivityTest app.

Bonus: new method on AppTask to control the exclude from recents flag.

Change-Id: I01e543db4d15320ee1701e95872fef73c116526c

9 years agoClarify text shadow attribute/method comments
Chris Craik [Thu, 21 Aug 2014 00:16:05 +0000 (17:16 -0700)]
Clarify text shadow attribute/method comments

bug:17157162

Change-Id: I7abe7c0eb1973ddf7d7a17d9dd85c08833c4bf88

9 years agoam 7bf7b779: Merge "Docs: Fixed typo \'Fore\'" into klp-modular-docs
Rich Slogar [Thu, 21 Aug 2014 00:57:30 +0000 (00:57 +0000)]
am 7bf7b779: Merge "Docs: Fixed typo \'Fore\'" into klp-modular-docs

* commit '7bf7b77923cda854fb46bb40473282ae10e1dea4':
  Docs: Fixed typo 'Fore'

9 years agoAAPT: Fix regression generating dynamic ref table for shared libraries
Adam Lesinski [Wed, 20 Aug 2014 21:59:19 +0000 (14:59 -0700)]
AAPT: Fix regression generating dynamic ref table for shared libraries

AAPT stopped generating dynamic reference tables for shared libraries.

Change-Id: Ib0025811bdca1a4756eb21080dd6b6bb3fc1ca3d

9 years agoFixing issue with inconsistent icon filename. (Bug 16992882)
Winson Chung [Wed, 20 Aug 2014 00:44:32 +0000 (17:44 -0700)]
Fixing issue with inconsistent icon filename. (Bug 16992882)

9 years agoMerge "Notify app widget hosts when cross-profile providers change." into lmp-dev
Svet Ganov [Thu, 21 Aug 2014 02:00:11 +0000 (02:00 +0000)]
Merge "Notify app widget hosts when cross-profile providers change." into lmp-dev

9 years agoMerge "Docs: Fixed typo 'Fore'" into klp-modular-docs
Rich Slogar [Thu, 21 Aug 2014 00:47:21 +0000 (00:47 +0000)]
Merge "Docs: Fixed typo 'Fore'" into klp-modular-docs

9 years agoMerge "Unify code paths for collapsing action views in action bars" into lmp-dev
Adam Powell [Thu, 21 Aug 2014 00:37:53 +0000 (00:37 +0000)]
Merge "Unify code paths for collapsing action views in action bars" into lmp-dev

9 years agoUnify code paths for collapsing action views in action bars
Adam Powell [Thu, 21 Aug 2014 00:33:24 +0000 (17:33 -0700)]
Unify code paths for collapsing action views in action bars

This reverts a well-intentioned bugfix that made
ActionBarOverlayLayout focusable in touch mode and caused issues with
some activity layouts. Removes the associated key handling code for
the Back key in ActionBarOverlayLayout and handles it at a higher
level in Activity instead. (This same code path was already in use by
ToolbarActionBar.)

Bug 17105724

Change-Id: I57e4cace44a6d11f25a2549644b565446d616a52

9 years agoMerge "fixes for connectivity manager test suite" into lmp-dev
Guang Zhu [Thu, 21 Aug 2014 00:34:11 +0000 (00:34 +0000)]
Merge "fixes for connectivity manager test suite" into lmp-dev

9 years agoMerge "Adding APIs to get IMEI/MEID" into lmp-dev
Amit Mahajan [Thu, 21 Aug 2014 00:32:14 +0000 (00:32 +0000)]
Merge "Adding APIs to get IMEI/MEID" into lmp-dev

9 years agoMerge "Add bounds checking to nine patch scaling" into lmp-dev
Chris Craik [Thu, 21 Aug 2014 00:29:13 +0000 (00:29 +0000)]
Merge "Add bounds checking to nine patch scaling" into lmp-dev

9 years agofixes for connectivity manager test suite
Guang Zhu [Mon, 18 Aug 2014 23:18:00 +0000 (16:18 -0700)]
fixes for connectivity manager test suite

* reduced visibility of most util functions in
  ConnectivityManagerTestBase
* reimplemented various waitFor... util function in base class:
  instead of relying on received broadcast and synchronization
  mechanism, we just poll for what we want with a fixed interval
  and a max timeout
* minor style fixes
* removed state transition checks in all test cases of
  ConnectivityManagerMobileTest: since exact state transitions
  are not that interesting, we just care about if we reach a
  particular state and if all network interfaces are in their
  corresponding states
* clarified in comment what each test cases are testing, since
  some of the test case names are not very straightforward
* any wait for DISCONNECTED checkes with ConnectivityManager are
  temporarily commented out

Change-Id: I99cca95c33c6060909e0df684969b75c2dca23a9

9 years agoMerge "follow up minor fixes for connectivity manager test" into lmp-dev
Guang Zhu [Thu, 21 Aug 2014 00:47:30 +0000 (00:47 +0000)]
Merge "follow up minor fixes for connectivity manager test" into lmp-dev