OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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 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 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 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 "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 "Using default system icon for print spooler" into lmp-dev
Svetoslav [Thu, 21 Aug 2014 01:59:09 +0000 (01:59 +0000)]
Merge "Using default system icon for print spooler" into lmp-dev

9 years agoMerge "Update the "More options" button in printing." into lmp-dev
Svetoslav [Thu, 21 Aug 2014 01:58:38 +0000 (01:58 +0000)]
Merge "Update the "More options" button in printing." into lmp-dev

9 years agoMerge "Update state to failed if the VPN fails to connect." into lmp-dev
Lorenzo Colitti [Thu, 21 Aug 2014 00:19:04 +0000 (00:19 +0000)]
Merge "Update state to failed if the VPN fails to connect." into lmp-dev

9 years agoAdding APIs to get IMEI/MEID
Amit Mahajan [Tue, 19 Aug 2014 00:49:59 +0000 (17:49 -0700)]
Adding APIs to get IMEI/MEID

Change-Id: I553b7c019b20a64ff1049f35b0e3999ab82b7cce

9 years agoAdd bounds checking to nine patch scaling
Chris Craik [Wed, 20 Aug 2014 23:31:57 +0000 (16:31 -0700)]
Add bounds checking to nine patch scaling

bug:17114103

Better handle the case, when scaling the divs in a nine patch, where
divs fall outside of the bounds of the bitmap.

Change-Id: I244b9c45b938c2a15f29e4563a86825ee9439b5f

9 years agoUpdate state to failed if the VPN fails to connect.
Lorenzo Colitti [Wed, 20 Aug 2014 23:01:44 +0000 (16:01 -0700)]
Update state to failed if the VPN fails to connect.

Without this, the VPN settings dialog stays in "Connecting..."
forever.

Bug: 17140195
Change-Id: I4771be464384b62114839523fb2a6b36aa6520ee

9 years agoAdd apis for whitelisting IMEs and accessibility services.
Kenny Guy [Wed, 20 Aug 2014 18:40:59 +0000 (19:40 +0100)]
Add apis for whitelisting IMEs and accessibility services.

Adds apis for device / profile owners to white list
the accessibility and input methods a user can enable.

Bug: 14469005
Change-Id: I921888660d29a5370395db87adf75d4d106660c9

9 years agoper bssid blacklist
vandwalle [Wed, 20 Aug 2014 21:01:06 +0000 (14:01 -0700)]
per bssid blacklist

Bug: 16823537

This CL is dependent on Iff32fae2cd67343e63046d58d75fa1e10d9775d0

Change-Id: Id9411c8097337b37ac1ce1a6ac8b28b4bda31ff3

9 years agoUsing default system icon for print spooler
Svetoslav [Wed, 20 Aug 2014 20:26:54 +0000 (13:26 -0700)]
Using default system icon for print spooler

bug:16568027

Change-Id: I87c7e7d60864b6d28899210bb400e56e21bf43f8

9 years agoNotify app widget hosts when cross-profile providers change.
Svet Ganov [Wed, 20 Aug 2014 16:47:47 +0000 (09:47 -0700)]
Notify app widget hosts when cross-profile providers change.

1. Notify the hosts in the group if a package gets white-listed or
   un-white-listed for providing widgets across profiles.

2. Notify hosts in the group for provider changes when a profile
   is deleted.

bug:17126070

Change-Id: Ic719c1c68e45842d50decc95603f1d61583b8f02

9 years agoMerge "Improve documentation of ScanResult and WifiInfo." into lmp-dev
Jeff Davidson [Wed, 20 Aug 2014 20:41:43 +0000 (20:41 +0000)]
Merge "Improve documentation of ScanResult and WifiInfo." into lmp-dev

9 years agoThrow exception on nonexistent font
Behdad Esfahbod [Wed, 20 Aug 2014 18:59:17 +0000 (14:59 -0400)]
Throw exception on nonexistent font

In K, this used to throw RuntimeException.  Before this patch, NULL
was returned and no exceptions thrown.  With this patch,
FileNotFoundException is thrown.  This might be considered API
change and be undesirable as callers need to either catch it or
declare it to be thrown.

Bug: 16180181
Change-Id: If83d76857f640c6293a3d5d08fb89ceddbaf41bc

9 years agoUpdate the "More options" button in printing.
Svetoslav [Tue, 19 Aug 2014 20:44:29 +0000 (13:44 -0700)]
Update the "More options" button in printing.

The "More options" button needed changes to match the
new UX spec. Also fixed some identation issues as well
as a missing marging in the erorr UI.

bug:16301066

Change-Id: I29f0d41915d1816d754f2c6288a7387aafeba2c2

9 years agoUpdate VPN Icon to key.
Jason Monk [Wed, 20 Aug 2014 19:54:00 +0000 (15:54 -0400)]
Update VPN Icon to key.

Bug: 16153201
Change-Id: I7d1dd3ca85a6f9325a6443da0e0bcb2ae8c51ab3

9 years agoMerge "Don't crash good-citizen restore session clients" into lmp-dev
Christopher Tate [Wed, 20 Aug 2014 20:23:42 +0000 (20:23 +0000)]
Merge "Don't crash good-citizen restore session clients" into lmp-dev

9 years agoMerge "Updated set of geometric navigation bar icon assets" into lmp-dev
Christian Robertson [Wed, 20 Aug 2014 19:54:16 +0000 (19:54 +0000)]
Merge "Updated set of geometric navigation bar icon assets" into lmp-dev

9 years agoMerge "remove passpoint, except ANQP - DO NOT MERGE" into lmp-dev
vandwalle [Wed, 20 Aug 2014 19:07:07 +0000 (19:07 +0000)]
Merge "remove passpoint, except ANQP - DO NOT MERGE" into lmp-dev

9 years agoRename PROVISIONING_NFC_MIME_TYPE to MIME_TYPE_PROVISIONING_NFC
Esteban Talavera [Wed, 20 Aug 2014 13:27:45 +0000 (14:27 +0100)]
Rename PROVISIONING_NFC_MIME_TYPE to MIME_TYPE_PROVISIONING_NFC

As requested in the API review. References to that field fixed on changes I123a5193d03b313160f934644b02be62b8394649 and Ibf1bb38f481e9e0dd898d662b18a1c54f201f830

Bug: 17005622
Change-Id: I08c53465d98678c06f65eeed5e7e9dcdce7bbcf0

9 years agoUpdated set of geometric navigation bar icon assets
Christian Robertson [Mon, 18 Aug 2014 20:33:37 +0000 (13:33 -0700)]
Updated set of geometric navigation bar icon assets

Bug: 15981688
Change-Id: Id56cafc17aaf86cd3ce1cc125197fa0ce86ab56b

9 years agoMerge "Made all classes required for an InCallService @SystemApi" into lmp-dev
Santos Cordon [Wed, 20 Aug 2014 16:09:42 +0000 (16:09 +0000)]
Merge "Made all classes required for an InCallService @SystemApi" into lmp-dev

9 years agoMade all classes required for an InCallService @SystemApi
Gabriel Peal [Tue, 19 Aug 2014 21:24:18 +0000 (14:24 -0700)]
Made all classes required for an InCallService @SystemApi

Bug: 17153048
Change-Id: I6b46969e976a47fd814022939a99b823fcb7b2bd

9 years agoDon't crash good-citizen restore session clients
Christopher Tate [Wed, 20 Aug 2014 01:24:06 +0000 (18:24 -0700)]
Don't crash good-citizen restore session clients

If an app is trying to do the right thing and end its restore sessions
cleanly, but winds up being slow and having the session timed out from
under them, don't crash them with an illegal state exception for having
appeared to end the session twice.

Bug 17133115

Change-Id: I0a0989e2067b156569bddb6626ce045e625c6604

9 years agoRun RevealAnimator on RT
John Reck [Tue, 22 Jul 2014 14:31:09 +0000 (07:31 -0700)]
Run RevealAnimator on RT

 Bug: 16894195

Change-Id: I9acffa7aecc04c68b60c67f8f8a20aa225075a42

9 years agoMerge "Use correct single-letter date format in SimpleMonthView" into lmp-dev
Alan Viverette [Wed, 20 Aug 2014 19:59:54 +0000 (19:59 +0000)]
Merge "Use correct single-letter date format in SimpleMonthView" into lmp-dev

9 years agoUse correct single-letter date format in SimpleMonthView
Alan Viverette [Wed, 20 Aug 2014 01:11:54 +0000 (18:11 -0700)]
Use correct single-letter date format in SimpleMonthView

Also fixes layout on sw600dp-land (by removing the sw600dp layout!).

BUG: 17068298
Change-Id: I2545d0e1904a0028156b96b6ad17674c6107ce5d

9 years agoMerge "TIF: Add the video frame rate information to TvTrackInfo" into lmp-dev
Jae Seo [Wed, 20 Aug 2014 00:50:31 +0000 (00:50 +0000)]
Merge "TIF: Add the video frame rate information to TvTrackInfo" into lmp-dev

9 years agoMerge "Update toggle switch asset to include content area" into lmp-dev
Alan Viverette [Wed, 20 Aug 2014 00:20:17 +0000 (00:20 +0000)]
Merge "Update toggle switch asset to include content area" into lmp-dev

9 years agoUpdate toggle switch asset to include content area
Alan Viverette [Tue, 19 Aug 2014 23:55:47 +0000 (16:55 -0700)]
Update toggle switch asset to include content area

Remove optical bounds workaround from NinePatchDrawable, which was
incorrect anyway since we were missing a content area rather than
missing padding.

BUG: 17114103
Change-Id: I51461be666f59534dfdea7ab79bc867ee3eb3c92

9 years agoTIF: Add the video frame rate information to TvTrackInfo
Jae Seo [Tue, 19 Aug 2014 19:02:16 +0000 (12:02 -0700)]
TIF: Add the video frame rate information to TvTrackInfo

Bug: 16187997
Change-Id: I25d5489e42502fa8f2537aadc205bb4203980fb2

9 years agomedia.MediaPlayer: don't check file-existence for URI-s with scheme
Lajos Molnar [Mon, 18 Aug 2014 21:26:55 +0000 (14:26 -0700)]
media.MediaPlayer: don't check file-existence for URI-s with scheme

setDataSource can be called with URI-s as well as with file paths.
Check file-existence only for file:// URI-s as well as URI-s
without scheme (which are assumed to be paths).

Bug: 17109022
Change-Id: I70f16a4f614dcef0b47fa264cf708473036cef4e

9 years agoFix threading issue for advertising.
Wei Wang [Tue, 19 Aug 2014 04:58:32 +0000 (21:58 -0700)]
Fix threading issue for advertising.

Post callback to main thread to execute. In general we should avoid
running app's callback method from binder thread as the callback method
may block.
Also removed callback from advertisers on stop advertising callback.
This fixes the issue of not being able to restart adv for limited
advertising.

Bug: 17045567

Change-Id: I56cd2bdf4b1ad120a0358fa4065ad77be4bff144

9 years agoUpdate MediaSession APIs for council feedback
RoboErik [Fri, 15 Aug 2014 22:21:41 +0000 (15:21 -0700)]
Update MediaSession APIs for council feedback

-Changes MediaSessionManager.SessionsListener to OnActiveSessionsChangedListener
and makes it an interface.
-Renames MediaController.VolumeInfo to MediaController.AudioInfo
-Renames MediaSession.Track to MediaSession.Item

bug:17059552
Change-Id: I3a0b4371700ad6657972c312a5ab89ddfac6df5b

9 years agoAdd a way to get Transitions from a TransitionSet.
George Mount [Mon, 18 Aug 2014 23:24:21 +0000 (16:24 -0700)]
Add a way to get Transitions from a TransitionSet.

Bug 17113732

Change-Id: I0a157a59448e66560ba2252709971131c5dea401

9 years agoMerge "ConnectionService API has only one completed callback (1/3)" into lmp-dev
Ihab Awad [Tue, 19 Aug 2014 21:21:33 +0000 (21:21 +0000)]
Merge "ConnectionService API has only one completed callback (1/3)" into lmp-dev

9 years agoConnectionService API has only one completed callback (1/3)
Ihab Awad [Mon, 18 Aug 2014 16:23:25 +0000 (09:23 -0700)]
ConnectionService API has only one completed callback (1/3)

Refactor ConnectionService API so it has only one "completed"
callback, and connection state and failure codes indicates what
happened. Previous design where we had separate callbacks for failure,
cancellation and success was error prone because it was easy to forget
to implement one of them.

Bug: 16993846
Bug: 17070939

Change-Id: I84bf5d041cf78193ccf80db201b08db3b7014830

9 years agoMerge "Respect round rect clip when determining op opaqueness" into lmp-dev
Chris Craik [Tue, 19 Aug 2014 16:51:32 +0000 (16:51 +0000)]
Merge "Respect round rect clip when determining op opaqueness" into lmp-dev

9 years agoRespect round rect clip when determining op opaqueness
Chris Craik [Tue, 19 Aug 2014 02:55:36 +0000 (19:55 -0700)]
Respect round rect clip when determining op opaqueness

bug:17115570
Change-Id: I30184b4678d333b5d222af8b61daa07a5e865cab

9 years agoMerge "Make AudioState modes static constants" into lmp-dev
Yorke Lee [Thu, 21 Aug 2014 00:02:55 +0000 (00:02 +0000)]
Merge "Make AudioState modes static constants" into lmp-dev

9 years agoMake AudioState modes static constants
Yorke Lee [Wed, 20 Aug 2014 23:16:26 +0000 (16:16 -0700)]
Make AudioState modes static constants

This enables the ability to use them in switch statements

Bug: 17161247
Change-Id: Iee3da676f2cd52a09d36b58da4ba4640bd8998c5

9 years agoMerge "Less intrusive VPN dialog and other UX tweaks." into lmp-dev
Jeff Davidson [Wed, 20 Aug 2014 23:59:29 +0000 (23:59 +0000)]
Merge "Less intrusive VPN dialog and other UX tweaks." into lmp-dev

9 years agoLess intrusive VPN dialog and other UX tweaks.
Jeff Davidson [Mon, 11 Aug 2014 21:07:27 +0000 (14:07 -0700)]
Less intrusive VPN dialog and other UX tweaks.

-The ability to launch VPNs is now sticky; once approved by the user,
further approvals are not needed UNLESS the connection is revoked in
Quick Settings.

-The old persistent notification has been removed in favor of the new
Quick Settings UI.

-The name of the VPN app is now pulled from the label of the VPN
service rather than the app itself, if one is set.

Bug: 12878887
Bug: 16578022
Change-Id: I102a14c05db26ee3aef030cda971e5165f078a91

9 years agoMerge "Change CARRIER_SETUP hook in ConnectivityService to use Aeroshell API for...
Diego Pontoriero [Wed, 20 Aug 2014 23:53:11 +0000 (23:53 +0000)]
Merge "Change CARRIER_SETUP hook in ConnectivityService to use Aeroshell API for determining carrier app instead of MCC/MNC." into lmp-dev

9 years agoMerge "More progress towards split APKs in ASECs." into lmp-dev
Jeff Sharkey [Wed, 20 Aug 2014 20:22:42 +0000 (20:22 +0000)]
Merge "More progress towards split APKs in ASECs." into lmp-dev

9 years agoMore progress towards split APKs in ASECs.
Jeff Sharkey [Tue, 19 Aug 2014 23:18:28 +0000 (16:18 -0700)]
More progress towards split APKs in ASECs.

Teach DefaultContainerService to install split APKs, which will be
needed when moving to/from ASECs.  Also support forward locking for
testing purposes, even though its deprecated.

Move native library unpacking code to NativeLibraryHelper location
where it can be shared by both DCS and PMS.  Also update footprint
calculation logic to mirror the later unpack codepaths.

Immediately persist sealed sessions.  When resolving install
locations, prefer location of any existing install of that
package.  Lightweight parse requesting certificates now always
verifies that all contents are signed correctly.

Bug: 16514385
Change-Id: Ida1c4eb0f95b065104dd971e19126d4085ebf1f0

9 years agoMerge "Reduce shutdown animation duration." into lmp-dev
Michael Lentine [Wed, 20 Aug 2014 20:20:10 +0000 (20:20 +0000)]
Merge "Reduce shutdown animation duration." into lmp-dev

9 years agoReduce shutdown animation duration.
Michael Lentine [Wed, 20 Aug 2014 16:19:07 +0000 (09:19 -0700)]
Reduce shutdown animation duration.

Change-Id: Idb58e8ff9a7e05c6f3d6964970b32a6aa69615c1

9 years agoMerge "Step Counter documentation fix." into lmp-dev
Aravind Akella [Wed, 20 Aug 2014 20:09:15 +0000 (20:09 +0000)]
Merge "Step Counter documentation fix." into lmp-dev

9 years agoStep Counter documentation fix.
Aravind Akella [Wed, 20 Aug 2014 01:28:12 +0000 (18:28 -0700)]
Step Counter documentation fix.

Change-Id: I04921ca2bdfd10581f5582a025de617a506035b7

9 years agoMerge "Api updates to MediaSession components" into lmp-dev
RoboErik [Wed, 20 Aug 2014 19:48:45 +0000 (19:48 +0000)]
Merge "Api updates to MediaSession components" into lmp-dev

9 years agoApi updates to MediaSession components
RoboErik [Tue, 19 Aug 2014 18:23:40 +0000 (11:23 -0700)]
Api updates to MediaSession components

-renames get/setBufferPosition to get/setBufferedPosition
-renames getLaunchActivity to getSessionActivity
-adds doc link to setVolumeTo flags param
-renames setLaunchActivity to setSessionActivity
-hides setMediaRouter
-moves PLAYBACK_TYPE_ constants to MediaController.AudioInfo
-adds addOnActiveSessionsChangedListener version with a handler parameter
-renames AudioInfo to PlaybackInfo

bug:17114404
Change-Id: I0fbfe4eb979cb2af98e3f13095c654bb131f7ae5

9 years agoMerge "camera2: Fix StreamConfigurationMap#getOutputSizes for ImageReader" into lmp-dev
Igor Murashkin [Tue, 19 Aug 2014 18:35:09 +0000 (18:35 +0000)]
Merge "camera2: Fix StreamConfigurationMap#getOutputSizes for ImageReader" into lmp-dev

9 years agocamera2: Fix StreamConfigurationMap#getOutputSizes for ImageReader
Igor Murashkin [Tue, 19 Aug 2014 17:51:30 +0000 (10:51 -0700)]
camera2: Fix StreamConfigurationMap#getOutputSizes for ImageReader

Return empty array since no implementation-defined sizes are supported

Bug: 17007153
Change-Id: I178e89ef6b2640896f8657765beb458022d66ae5

9 years agoMerge "Fix "@null" resource values in LayoutLib." into lmp-dev
Deepanshu Gupta [Wed, 20 Aug 2014 00:19:03 +0000 (00:19 +0000)]
Merge "Fix "@null" resource values in LayoutLib." into lmp-dev

9 years agoFix "@null" resource values in LayoutLib.
Deepanshu Gupta [Tue, 19 Aug 2014 23:15:37 +0000 (16:15 -0700)]
Fix "@null" resource values in LayoutLib.

Bug: http://b.android.com/74072
Change-Id: Ib84906d86772ac3df2407e71ad2167797bec4542

9 years agoMerge "Add time to status bar and fix wifi icon." into lmp-dev
Deepanshu Gupta [Wed, 20 Aug 2014 00:14:56 +0000 (00:14 +0000)]
Merge "Add time to status bar and fix wifi icon." into lmp-dev

9 years agoMerge "Add a hidden method to query profile owner name for a user" into lmp-dev
Amith Yamasani [Wed, 20 Aug 2014 23:36:06 +0000 (23:36 +0000)]
Merge "Add a hidden method to query profile owner name for a user" into lmp-dev

9 years agoAdd a hidden method to query profile owner name for a user
Amith Yamasani [Wed, 20 Aug 2014 21:51:15 +0000 (14:51 -0700)]
Add a hidden method to query profile owner name for a user

Bug: 17066115
Change-Id: I812a37ea2e7bb6da5aa4c31cb7e37934e5d698fa

9 years agoMerge "camera2: (Legacy) Add control.sceneMode = DISABLED to templates" into lmp-dev
Igor Murashkin [Tue, 19 Aug 2014 18:34:56 +0000 (18:34 +0000)]
Merge "camera2: (Legacy) Add control.sceneMode = DISABLED to templates" into lmp-dev

9 years agocamera2: (Legacy) Add control.sceneMode = DISABLED to templates
Igor Murashkin [Tue, 19 Aug 2014 18:04:03 +0000 (11:04 -0700)]
camera2: (Legacy) Add control.sceneMode = DISABLED to templates

Bug: 17024375
Change-Id: Ie4e2a7f22caa842b4f3850f3739f22c5f6a9b88f

9 years agoremove passpoint, except ANQP - DO NOT MERGE
vandwalle [Tue, 19 Aug 2014 01:39:31 +0000 (18:39 -0700)]
remove passpoint, except ANQP - DO NOT MERGE

This CL is dependend on Ic3ae7269f0ca11cec6b7aea5143499e88ecc7149

Change-Id: Ic533d1820c470bf2370a92452b37515ef7458f45

9 years agoAdd time to status bar and fix wifi icon.
Deepanshu Gupta [Fri, 15 Aug 2014 19:51:35 +0000 (12:51 -0700)]
Add time to status bar and fix wifi icon.

Add vector drawable for wifi icon. Also add time to the status bar.

Change-Id: I01da833087a607e9bb6ff085929e3844990179f8