OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Only activate the wifi alternate reality hack for KK and lower" into mnc-dev
Lorenzo Colitti [Thu, 14 May 2015 03:25:20 +0000 (03:25 +0000)]
Merge "Only activate the wifi alternate reality hack for KK and lower" into mnc-dev

9 years agoMerge "AudioTrack in SoundPool uses audio_attributes_t parameter" into mnc-dev
Jean-Michel Trivi [Thu, 14 May 2015 03:21:54 +0000 (03:21 +0000)]
Merge "AudioTrack in SoundPool uses audio_attributes_t parameter" into mnc-dev

9 years agoMerge "DO NOT MERGE - Overlay display now support multiple modes." into mnc-dev
Jeff Brown [Thu, 14 May 2015 02:52:08 +0000 (02:52 +0000)]
Merge "DO NOT MERGE - Overlay display now support multiple modes." into mnc-dev

9 years agoMerge "Hotspot 2.0 UI." into mnc-dev
Sanket Padawe [Thu, 14 May 2015 02:40:36 +0000 (02:40 +0000)]
Merge "Hotspot 2.0 UI." into mnc-dev

9 years agoAudioTrack in SoundPool uses audio_attributes_t parameter
Jean-Michel Trivi [Thu, 14 May 2015 02:03:21 +0000 (19:03 -0700)]
AudioTrack in SoundPool uses audio_attributes_t parameter

Bug 20731155

Change-Id: I62ce9d5c5a88aaf534cfd1861378215f9253248d

9 years agoMerge "Add getChannelIndexMasks API to AudioDeviceInfo" into mnc-dev
Andy Hung [Thu, 14 May 2015 02:18:01 +0000 (02:18 +0000)]
Merge "Add getChannelIndexMasks API to AudioDeviceInfo" into mnc-dev

9 years agoMerge "TIF: Add DVB device handling to TvInputManagerService" into mnc-dev
Jaesung Chung [Thu, 14 May 2015 02:14:36 +0000 (02:14 +0000)]
Merge "TIF: Add DVB device handling to TvInputManagerService" into mnc-dev

9 years agoMerge "Improve javadoc for PRESENTATION_ constants." into mnc-dev
Santos Cordon [Thu, 14 May 2015 02:10:33 +0000 (02:10 +0000)]
Merge "Improve javadoc for PRESENTATION_ constants." into mnc-dev

9 years agoImprove javadoc for PRESENTATION_ constants.
Santos Cordon [Thu, 14 May 2015 01:47:38 +0000 (18:47 -0700)]
Improve javadoc for PRESENTATION_ constants.

Bug: 21089678
Change-Id: I045fd71a30c75c213dd5c0c64ded983ea5e5d866

9 years agoMerge "[1/4] Use new Icon class in PhoneAccount." into mnc-dev
Santos Cordon [Thu, 14 May 2015 02:07:52 +0000 (02:07 +0000)]
Merge "[1/4] Use new Icon class in PhoneAccount." into mnc-dev

9 years agoMerge "Add BIND_TELECOM_CONNECTION_SERVICE permission" into mnc-dev
Yorke Lee [Thu, 14 May 2015 02:06:52 +0000 (02:06 +0000)]
Merge "Add BIND_TELECOM_CONNECTION_SERVICE permission" into mnc-dev

9 years agoMerge "Do not allow opting out from the new permission model." into mnc-dev
Svetoslav [Thu, 14 May 2015 02:04:27 +0000 (02:04 +0000)]
Merge "Do not allow opting out from the new permission model." into mnc-dev

9 years agoTIF: Add DVB device handling to TvInputManagerService
Jaesung Chung [Fri, 24 Apr 2015 10:39:59 +0000 (19:39 +0900)]
TIF: Add DVB device handling to TvInputManagerService

Added an API to pass an open file descriptor of DVB devices and
addressed the security issue of setting the permissions on DVB devices
to 0666.

Bug: 20436120
Change-Id: I4649e76084f3356ec22b7e776fb87c6a8fdc00d6

9 years agoDo not allow opting out from the new permission model.
Svetoslav [Thu, 14 May 2015 01:02:46 +0000 (18:02 -0700)]
Do not allow opting out from the new permission model.

bug:20525775

Change-Id: I84cd4587db5adb96f6f29148adb242905f53f2dc

9 years agoMerge "Don't stop animation when starting windows app token changes" into mnc-dev
Wale Ogunwale [Thu, 14 May 2015 01:51:49 +0000 (01:51 +0000)]
Merge "Don't stop animation when starting windows app token changes" into mnc-dev

9 years agoDon't stop animation when starting windows app token changes
Wale Ogunwale [Wed, 13 May 2015 22:27:12 +0000 (15:27 -0700)]
Don't stop animation when starting windows app token changes

If another activity is starting while we are still animating
the starting window of the previous activity to start, we
transfer the starting window of the old activity to the one that
is currently starting so we don't have to create another starting
window and also to reduce jank from the starting window animation
appearing to restart.

However, there were several conditions that led to the starting
window animation stopping when the transfers app tokens

1. Starting window animator not been removed from the previous
app token animator causing it to finish/remove the starting window
prematurily.
2. Starting window animator not been properly added to the new
app token animator causing the animation not be be picked up.
3. WMS.mSkipAppTransitionAnimation been set to false regardless of if
an app transition was actually prepared in WMS.prepareAppTransition()
4. WMS.mSkipAppTransitionAnimation not been set to true in all cases
where the starting window transfers tokens even though we don't want the
new app to do any transition animation is the starting window is
animating.
5. New app not setting its animation to dummy animation when the next
transition should be skipped due to starting window still animating.
6. Starting window animation been cleared for the new app in
WMS.handleAppTransitionReadyLocked() even for cases where we transferred
the animation from the previous app.

Also, cleaned up some code.

Bug: 20953232
Change-Id: I714d6bdfcdaeeaac29f9d464bab9f3e9c192e937

9 years agoMerge "Update the new error reporting API in android.webkit" into mnc-dev
Mikhail Naganov [Thu, 14 May 2015 01:43:45 +0000 (01:43 +0000)]
Merge "Update the new error reporting API in android.webkit" into mnc-dev

9 years agoUpdate the new error reporting API in android.webkit
Mikhail Naganov [Wed, 13 May 2015 00:44:15 +0000 (17:44 -0700)]
Update the new error reporting API in android.webkit

 - minor changes in WebResourceError;
 - prepare to remove WebResourceResponseBase;
 - add immutable mode to WebResourceResponse.

Bug: 21063767

Change-Id: Iaf5f92e3850732c7a888453468e108809b3b782a

9 years agoAdd getChannelIndexMasks API to AudioDeviceInfo
Andy Hung [Thu, 14 May 2015 01:25:48 +0000 (18:25 -0700)]
Add getChannelIndexMasks API to AudioDeviceInfo

Fix some javadoc as well.

Bug: 21129531
Change-Id: I82e5b66f254f6acdcd93638eeed878b4c5b5be34

9 years agoMerge "Allow settings to change app inactive state" into mnc-dev
Amith Yamasani [Thu, 14 May 2015 01:24:28 +0000 (01:24 +0000)]
Merge "Allow settings to change app inactive state" into mnc-dev

9 years agoMerge "Add IntentFilter auto verification - part 11" into mnc-dev
Fabrice Di Meglio [Thu, 14 May 2015 01:21:56 +0000 (01:21 +0000)]
Merge "Add IntentFilter auto verification - part 11" into mnc-dev

9 years agoAllow settings to change app inactive state
Amith Yamasani [Thu, 14 May 2015 01:21:09 +0000 (18:21 -0700)]
Allow settings to change app inactive state

Change-Id: I57efb4b5fa69c9a268025fb1ef83de36c4cc83ca

9 years agoMerge "Rename AudioState to CallAudioState" into mnc-dev
Yorke Lee [Thu, 14 May 2015 01:21:06 +0000 (01:21 +0000)]
Merge "Rename AudioState to CallAudioState" into mnc-dev

9 years agoAdd IntentFilter auto verification - part 11
Fabrice Di Meglio [Thu, 14 May 2015 01:17:12 +0000 (18:17 -0700)]
Add IntentFilter auto verification - part 11

- tune Intent resolution candidates filtering: add also the undefinedList
  into the results at first so that when you install an App which is not
  verified (after installing a verified App) you will still have the
  Disambiguation Dialog prompted to the User.

See bug #19628271

Change-Id: I611fff4c1c7f60db22312d7948c8d5120719fbd0

9 years agoMerge "Add QS Tuner" into mnc-dev
Jason Monk [Thu, 14 May 2015 01:02:12 +0000 (01:02 +0000)]
Merge "Add QS Tuner" into mnc-dev

9 years agoAdd QS Tuner
Jason Monk [Tue, 12 May 2015 23:29:02 +0000 (19:29 -0400)]
Add QS Tuner

Change-Id: I908d0161b7209b8e99299f5cb3eb58f3d7b52752

9 years agoIgnore small time changes in alarm manager.
Dianne Hackborn [Wed, 13 May 2015 21:03:20 +0000 (14:03 -0700)]
Ignore small time changes in alarm manager.

It turns out switching to the new kernel alarm
reporting causes lots and lots of spurious flags
that the clock has changed.  The alarm manager
would blindly trust these, thinking the world has
changed on it and recomputing everything and reporting
this to everyone else.  This was expensive.

We now verify that the time has changed sufficiently
that it is worth caring about.  This is basically the
same algorithm that battery stats was using to avoid
recording small clock changes, so we are really just
pushing this down into the alarm manager and can now
remove that from battery stats.

Also since we are getting these so much, make use of
the other information in about the wakeup that tells us
if an alarm went off to avoid doing anything if it didn't.

Change-Id: I6f4f4226db6eb2b38ca73860786e7cf7c9136cc3

9 years agoam 7238435e: (-s ours) resolved conflicts for merge of e869835d to lmp-mr1-ub-dev
John Reck [Thu, 14 May 2015 00:38:28 +0000 (00:38 +0000)]
am 7238435e: (-s ours) resolved conflicts for merge of e869835d to lmp-mr1-ub-dev

* commit '7238435e9b3f133965b63abc7b352b34f9401af5':
  DO NOT MERGE Backport of limited jank-tracking metrics

9 years agoMerge "Fix build." into mnc-dev
Dianne Hackborn [Thu, 14 May 2015 00:36:56 +0000 (00:36 +0000)]
Merge "Fix build." into mnc-dev

9 years agoMerge "Fix fingerprint for multiuser" into mnc-dev
Jorim Jaggi [Thu, 14 May 2015 00:36:02 +0000 (00:36 +0000)]
Merge "Fix fingerprint for multiuser" into mnc-dev

9 years agoFix build.
Dianne Hackborn [Thu, 14 May 2015 00:35:42 +0000 (17:35 -0700)]
Fix build.

Change-Id: I94c7e3033721c1d8024a212614752512e685289b

9 years agoMerge "Allow partial playback parameter settings in AudioTrack" into mnc-dev
Andy Hung [Thu, 14 May 2015 00:21:23 +0000 (00:21 +0000)]
Merge "Allow partial playback parameter settings in AudioTrack" into mnc-dev

9 years agoresolved conflicts for merge of e869835d to lmp-mr1-ub-dev
John Reck [Thu, 14 May 2015 00:16:31 +0000 (17:16 -0700)]
resolved conflicts for merge of e869835d to lmp-mr1-ub-dev

Change-Id: Ia183cafb1aa19dcbb6e3bbefceecec5df29663da

9 years agoMerge "Add support for static RadioCapabilities." into mnc-dev
Robert Greenwalt [Thu, 14 May 2015 00:06:57 +0000 (00:06 +0000)]
Merge "Add support for static RadioCapabilities." into mnc-dev

9 years agoAdd support for static RadioCapabilities.
Robert Greenwalt [Tue, 12 May 2015 00:54:13 +0000 (17:54 -0700)]
Add support for static RadioCapabilities.

Some RILs don't support RIL_REQUEST_GET_RADIO_CAPABILITY.  Add
code to RIL.java to notice a REQUEST_NOT_SUPPORTED response and
check config.xml (config_radio_access_family) for a static answer.

Also catching GENERIC_FAILURE responses because Hammerhead modem
returns that.  B 21079604 created for this.

If neither Modem nor config.xml provide data, uses RAF_UNKNOWN
so we don't lie about capabilities and also so we fail fast
(setPreferredNetwork won't work).

bug:20561357
Change-Id: I49e4527fe94919a7094bc7c1e100d20e8f833865

9 years agoam 3ccf0caf: am 7fc3b6c0: am abd8d422: am f5d6156c: Merge "Docs: NDK r10e changes...
David Friedman [Thu, 14 May 2015 00:00:10 +0000 (00:00 +0000)]
am 3ccf0caf: am 7fc3b6c0: am abd8d422: am f5d6156c: Merge "Docs: NDK r10e changes to publish to DAC." into lmp-docs

* commit '3ccf0caf015034976f8c654d89ac74619aa94bd0':
  Docs: NDK r10e changes to publish to DAC.

9 years ago[1/4] Use new Icon class in PhoneAccount.
Santos Cordon [Wed, 13 May 2015 18:17:25 +0000 (11:17 -0700)]
[1/4] Use new Icon class in PhoneAccount.

Bug: 21088522
Change-Id: Ia03171d4861f758701e89733f4082863587e8c11

9 years agoMerge "Add back alpha atrace log" into mnc-dev
Chris Craik [Wed, 13 May 2015 23:53:47 +0000 (23:53 +0000)]
Merge "Add back alpha atrace log" into mnc-dev

9 years agoAdd back alpha atrace log
Chris Craik [Wed, 13 May 2015 23:33:04 +0000 (16:33 -0700)]
Add back alpha atrace log

bug:20922838

Change-Id: I70ccbffdd5f140cd1dd71fbf456fb5b085e74a4a

9 years agoam 7fc3b6c0: am abd8d422: am f5d6156c: Merge "Docs: NDK r10e changes to publish to...
David Friedman [Wed, 13 May 2015 23:46:36 +0000 (23:46 +0000)]
am 7fc3b6c0: am abd8d422: am f5d6156c: Merge "Docs: NDK r10e changes to publish to DAC." into lmp-docs

* commit '7fc3b6c00b55e15881d1f098666399b674a64e42':
  Docs: NDK r10e changes to publish to DAC.

9 years agoMerge "Access mock location is no longer a runtime permission - framework" into mnc-dev
Svet Ganov [Wed, 13 May 2015 23:45:22 +0000 (23:45 +0000)]
Merge "Access mock location is no longer a runtime permission - framework" into mnc-dev

9 years agoMerge "MediaPlayer/TimedMetaData: API updates related to timed metadata" into mnc-dev
Robert Shih [Wed, 13 May 2015 23:36:47 +0000 (23:36 +0000)]
Merge "MediaPlayer/TimedMetaData: API updates related to timed metadata" into mnc-dev

9 years agoFix fingerprint for multiuser
Jorim Jaggi [Wed, 13 May 2015 23:30:04 +0000 (16:30 -0700)]
Fix fingerprint for multiuser

Change-Id: Iab18c4de9764da1a65490b186b33535f8e79e1e5

9 years agoMerge "Call dispatchFinishTemporaryDetach before returning a transient view" into...
Alan Viverette [Wed, 13 May 2015 23:35:53 +0000 (23:35 +0000)]
Merge "Call dispatchFinishTemporaryDetach before returning a transient view" into mnc-dev

9 years agoam abd8d422: am f5d6156c: Merge "Docs: NDK r10e changes to publish to DAC." into...
David Friedman [Wed, 13 May 2015 23:30:41 +0000 (23:30 +0000)]
am abd8d422: am f5d6156c: Merge "Docs: NDK r10e changes to publish to DAC." into lmp-docs

* commit 'abd8d42225f58396abaef2cf0e8a604be111e683':
  Docs: NDK r10e changes to publish to DAC.

9 years agoMerge "Hide getPackageProcessState(), it is not ready yet." into mnc-dev
Dianne Hackborn [Wed, 13 May 2015 23:29:29 +0000 (23:29 +0000)]
Merge "Hide getPackageProcessState(), it is not ready yet." into mnc-dev

9 years agoMerge "Refactor StatusHints (1/3)" into mnc-dev
Ihab Awad [Wed, 13 May 2015 23:26:04 +0000 (23:26 +0000)]
Merge "Refactor StatusHints (1/3)" into mnc-dev

9 years agoMerge "Add IntentFilter auto verification - part 10" into mnc-dev
Fabrice Di Meglio [Wed, 13 May 2015 23:20:46 +0000 (23:20 +0000)]
Merge "Add IntentFilter auto verification - part 10" into mnc-dev

9 years agoMediaPlayer/TimedMetaData: API updates related to timed metadata
Robert Shih [Wed, 13 May 2015 22:02:25 +0000 (15:02 -0700)]
MediaPlayer/TimedMetaData: API updates related to timed metadata

- renamed MediaPlayer.*OnTimedMetaData* to *OnTimedMetaDataAvailable*
- added `final` modifier to TimedMetaData class
- added javadocs for TimedMetaData public methods
- renamed private members and cooresponding accessors for TimedMetaData
- reworded existing TimedMetaData javadoc

Bug: 21045118
Change-Id: If0113307fce08083226fc7f64c4fe6f93553d899

9 years agoAdd IntentFilter auto verification - part 10
Fabrice Di Meglio [Wed, 13 May 2015 23:17:11 +0000 (16:17 -0700)]
Add IntentFilter auto verification - part 10

- tune Intent resolution candidates filtering: remove the undefinedList
from the results and then add it again it there is no more candidates.

See bug #19628271

Change-Id: I9ab077f6a431367be8bab30c134d34e1e7ac51ed

9 years agoam f5d6156c: Merge "Docs: NDK r10e changes to publish to DAC." into lmp-docs
David Friedman [Wed, 13 May 2015 23:16:41 +0000 (23:16 +0000)]
am f5d6156c: Merge "Docs: NDK r10e changes to publish to DAC." into lmp-docs

* commit 'f5d6156ce8e56eb92abcf046fd8ff5a9647d38ae':
  Docs: NDK r10e changes to publish to DAC.

9 years agoRefactor StatusHints (1/3)
Ihab Awad [Wed, 13 May 2015 18:34:53 +0000 (11:34 -0700)]
Refactor StatusHints (1/3)

Refactor StatusHints to use the new Icon class.

Bug: 21040387
Change-Id: I3e7aae38127294b46859efb6a2aec71cf90e0e2a

9 years agoAdd BIND_TELECOM_CONNECTION_SERVICE permission
Yorke Lee [Wed, 13 May 2015 22:59:29 +0000 (15:59 -0700)]
Add BIND_TELECOM_CONNECTION_SERVICE permission

Bug: 21088342
Change-Id: I465307899d83c4a3ee5e88a28554c4b867c1f4ba

9 years agoMerge "media: rename MediaCodec.setSurface to setOutputSurface" into mnc-dev
Lajos Molnar [Wed, 13 May 2015 23:01:27 +0000 (23:01 +0000)]
Merge "media: rename MediaCodec.setSurface to setOutputSurface" into mnc-dev

9 years agoMerge "Docs: NDK r10e changes to publish to DAC." into lmp-docs
David Friedman [Wed, 13 May 2015 23:00:37 +0000 (23:00 +0000)]
Merge "Docs: NDK r10e changes to publish to DAC." into lmp-docs

9 years agoDocs: NDK r10e changes to publish to DAC.
David Friedman [Mon, 11 May 2015 21:38:18 +0000 (14:38 -0700)]
Docs: NDK r10e changes to publish to DAC.

Change-Id: Id178523df1d5524bb25d43e304591526e6488b92

9 years agoAccess mock location is no longer a runtime permission - framework
Svet Ganov [Wed, 13 May 2015 17:40:31 +0000 (10:40 -0700)]
Access mock location is no longer a runtime permission - framework

The access mock location is no longer a runtime permission. It is a
signature protected one that apps cannot get but the fact they request
it means they want to inject location into the system. Now the user
gets to choose the current mock location app in developer options from
the apps that request the mock location permission. The access to mock
location is no longer guarded by the permisson but from a new app op
which is off by default and the settiings UI sets it to enabled only
for the currently selected mock location app.

bug:21078873

Change-Id: I19e3f9dc7c7de82eab46b30fec1abfbca54a0e59

9 years agoMerge "Address API feedback for PostMessage" into mnc-dev
Selim Gurun [Wed, 13 May 2015 22:36:59 +0000 (22:36 +0000)]
Merge "Address API feedback for PostMessage" into mnc-dev

9 years agoMerge "Fix build" into mnc-dev
Jorim Jaggi [Wed, 13 May 2015 22:36:00 +0000 (22:36 +0000)]
Merge "Fix build" into mnc-dev

9 years agoFix build
Jorim Jaggi [Wed, 13 May 2015 22:34:01 +0000 (15:34 -0700)]
Fix build

Change-Id: Ia9277c6c983758d301c89312e39b59a2db0b29c4

9 years agoMerge "Modify how USB connections are handled." into mnc-dev
Nick Kralevich [Wed, 13 May 2015 22:31:57 +0000 (22:31 +0000)]
Merge "Modify how USB connections are handled." into mnc-dev

9 years agoHide getPackageProcessState(), it is not ready yet.
Dianne Hackborn [Wed, 13 May 2015 22:10:24 +0000 (15:10 -0700)]
Hide getPackageProcessState(), it is not ready yet.

Change-Id: I188c647573207e89510174e3ad56ca0c19e5ece3

9 years agoAllow partial playback parameter settings in AudioTrack
Andy Hung [Wed, 13 May 2015 22:15:25 +0000 (15:15 -0700)]
Allow partial playback parameter settings in AudioTrack

Change-Id: Ifb12c85312e25aa74da47fe0eae2d5b1fa4bb23b

9 years agoMerge "Make sure the app can draw a frame before unlocking" into mnc-dev
Jorim Jaggi [Wed, 13 May 2015 22:13:26 +0000 (22:13 +0000)]
Merge "Make sure the app can draw a frame before unlocking" into mnc-dev

9 years agoMerge "Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense...
Junda Liu [Wed, 13 May 2015 22:13:23 +0000 (22:13 +0000)]
Merge "Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense." into mnc-dev

9 years agoRename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense.
Junda Liu [Wed, 13 May 2015 22:11:10 +0000 (15:11 -0700)]
Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense.

Bug: b/21028396
Change-Id: I4905a1d1db247955ae7fa00a7f5ddfd7337ba5a8

9 years agoMerge "Update IME focus when the active view is losing the focus." into mnc-dev
Yohei Yukawa [Wed, 13 May 2015 22:10:33 +0000 (22:10 +0000)]
Merge "Update IME focus when the active view is losing the focus." into mnc-dev

9 years agoMerge "Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense...
Junda Liu [Wed, 13 May 2015 22:09:20 +0000 (22:09 +0000)]
Merge "Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense." into mnc-dev

9 years agoMerge "Address API council feedback for setOffscreenPreRaster." into mnc-dev
Hui Shu [Wed, 13 May 2015 22:07:54 +0000 (22:07 +0000)]
Merge "Address API council feedback for setOffscreenPreRaster." into mnc-dev

9 years agoam a5b28b92: am 69355eaa: Merge "DO NOT MERGE Backport of limited jank-tracking metri...
John Reck [Wed, 13 May 2015 22:07:15 +0000 (22:07 +0000)]
am a5b28b92: am 69355eaa: Merge "DO NOT MERGE Backport of limited jank-tracking metrics" into lmp-mr1-dev

* commit 'a5b28b92b14d0949d43be6198fedc31872ad07f6':
  DO NOT MERGE Backport of limited jank-tracking metrics

9 years agoAdd null annotations for getting carrier config.
Jonathan Basseri [Tue, 5 May 2015 19:00:59 +0000 (12:00 -0700)]
Add null annotations for getting carrier config.

CarrierConfigManager can return null Bundles for carrier config, but
never returns null when getting default values. Add the appropriate
annotations.

Change-Id: Iffbed3b54ca7cc28cf8b04f133aacdf9e6e4fd20

9 years agoRename AudioState to CallAudioState
Yorke Lee [Wed, 13 May 2015 21:14:54 +0000 (14:14 -0700)]
Rename AudioState to CallAudioState

Deprecate AudioState class and make methods @SystemApi where
necessary to minimize impact to SystemApi
Replace usages of AudioState inside Telecom sub-systems
Fire both onCallAudioStateChanged and onAudioStateChanged callbacks
for backward compatibility
Support both setAudioState and setCallAudioState for all classes

Bug: 21040387
Bug: 21088300
Change-Id: I3ec7b3afdaa344c6d639d1c421f1842d67f7d0f7

9 years agoRename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense.
Junda Liu [Wed, 13 May 2015 21:57:48 +0000 (14:57 -0700)]
Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense.

Bug: b/21028396
Change-Id: I029671b6bcd03a07956ccf35f4e5fe03d16a2218

9 years agoMerge "Add phone account field for voicemail to distinguish the source." into mnc-dev
Nancy Chen [Wed, 13 May 2015 21:54:47 +0000 (21:54 +0000)]
Merge "Add phone account field for voicemail to distinguish the source." into mnc-dev

9 years agoam 69355eaa: Merge "DO NOT MERGE Backport of limited jank-tracking metrics" into...
John Reck [Wed, 13 May 2015 21:52:50 +0000 (21:52 +0000)]
am 69355eaa: Merge "DO NOT MERGE Backport of limited jank-tracking metrics" into lmp-mr1-dev

* commit '69355eaa1c1f4bfc961d5dd9fdb0f3817d36d5f0':
  DO NOT MERGE Backport of limited jank-tracking metrics

9 years agoMerge "TIF: API Review: android.media.tv" into mnc-dev
Jae Seo [Wed, 13 May 2015 21:43:47 +0000 (21:43 +0000)]
Merge "TIF: API Review: android.media.tv" into mnc-dev

9 years agoMerge "Use drawableStart in dialog list item so we can set padding" into mnc-dev
Alan Viverette [Wed, 13 May 2015 21:43:12 +0000 (21:43 +0000)]
Merge "Use drawableStart in dialog list item so we can set padding" into mnc-dev

9 years agomedia: rename MediaCodec.setSurface to setOutputSurface
Lajos Molnar [Wed, 13 May 2015 21:39:55 +0000 (14:39 -0700)]
media: rename MediaCodec.setSurface to setOutputSurface

Bug: 21045402
Change-Id: Ie57880af6ce6feea9713360b094f2b198d3c119e

9 years agoMerge "AAPT2: Fix issue where @null was wrongly encoded" into mnc-dev
Adam Lesinski [Wed, 13 May 2015 21:42:57 +0000 (21:42 +0000)]
Merge "AAPT2: Fix issue where @null was wrongly encoded" into mnc-dev

9 years agoMerge "Use platform delay for assist long press gesture" into mnc-dev
Jorim Jaggi [Wed, 13 May 2015 21:42:14 +0000 (21:42 +0000)]
Merge "Use platform delay for assist long press gesture" into mnc-dev

9 years agoMerge "DO NOT MERGE Backport of limited jank-tracking metrics" into lmp-mr1-dev
John Reck [Wed, 13 May 2015 21:42:08 +0000 (21:42 +0000)]
Merge "DO NOT MERGE Backport of limited jank-tracking metrics" into lmp-mr1-dev

9 years agoMerge "AAPT2: Debug: Dump only targetted style" into mnc-dev
Adam Lesinski [Wed, 13 May 2015 21:41:38 +0000 (21:41 +0000)]
Merge "AAPT2: Debug: Dump only targetted style" into mnc-dev

9 years agoMerge "AAPT2: inferred style parent processing" into mnc-dev
Adam Lesinski [Wed, 13 May 2015 21:40:06 +0000 (21:40 +0000)]
Merge "AAPT2: inferred style parent processing" into mnc-dev

9 years agoMerge "AAPT2: Support static lib referencing static lib" into mnc-dev
Adam Lesinski [Wed, 13 May 2015 21:38:01 +0000 (21:38 +0000)]
Merge "AAPT2: Support static lib referencing static lib" into mnc-dev

9 years agoMerge "New AndroidKeyStore API in android.security.keystore." into mnc-dev
Alex Klyubin [Wed, 13 May 2015 21:33:36 +0000 (21:33 +0000)]
Merge "New AndroidKeyStore API in android.security.keystore." into mnc-dev

9 years agoModify how USB connections are handled.
Nick Kralevich [Wed, 13 May 2015 18:54:03 +0000 (11:54 -0700)]
Modify how USB connections are handled.

* Introduce a new "charger only" mode. In this mode, MTP is disabled,
and no file transfers can occur.
* Make charger only mode the default.
* Modify "persist.sys.usb.config" so it now only holds the adb status.
* Make the USB settings non-persistent. Unplugging the USB connection will
reset the device back to "charger only" mode.
* Fixup wording per UI guidelines.

TODO: Re-implement MDM restrictions for USB / MTP access controls.

Bug: 18905620
Change-Id: I99a50d9132a81e98187f431166fd9fef4d437e4f

9 years agoMake sure the app can draw a frame before unlocking
Jorim Jaggi [Thu, 7 May 2015 18:41:41 +0000 (11:41 -0700)]
Make sure the app can draw a frame before unlocking

- The mechanism to stop windows drawing while window animator was
animating was somehow flaky. It relied on the fact that the client
would call relayout() whenever the animating state changed. This is
mostly the case, but not for lockscreen animations. Instead, we now
use a push model, where window manager tells the app that the state
has changed.
- In addition, it only stopped drawing if that window was animating,
but then only resumed drawing after all windows have finished
animating. Now, we do this per window, so we only stop drawing for
windows that are currently animating.
- We resume the top activity now at the very beginning of the
unlocking sequence. This gives the app a chance to draw a frame
before the user sees anything. If it's to slow, then we just use the
outdated framebuffer.

Bug: 19964562
Change-Id: Ifef8abd189a3146d854b81b9b948861e4d38c155

9 years agoUse platform delay for assist long press gesture
Jorim Jaggi [Wed, 13 May 2015 21:17:16 +0000 (14:17 -0700)]
Use platform delay for assist long press gesture

Bug: 20853645
Change-Id: I1f25a04bfc7d07077211743b9d258fd637a402e6

9 years agoAddress API feedback for PostMessage
Selim Gurun [Wed, 13 May 2015 17:15:55 +0000 (10:15 -0700)]
Address API feedback for PostMessage

Bug: 21043955

Add anchor tags, and hide the constructor for WebMessagePort.

Change-Id: Ibd2e15581c06be9015a3cd7c7741edf6657d4552

9 years agoMerge "Allowing profile to set a subset of keyguard restrictions." into mnc-dev
Kenny Guy [Wed, 13 May 2015 21:07:15 +0000 (21:07 +0000)]
Merge "Allowing profile to set a subset of keyguard restrictions." into mnc-dev

9 years agoMerge "Add default icon for permissions" into mnc-dev
Jason Monk [Wed, 13 May 2015 21:06:28 +0000 (21:06 +0000)]
Merge "Add default icon for permissions" into mnc-dev

9 years agoMerge "Determine if we have adoptable disks." into mnc-dev
Jeff Sharkey [Wed, 13 May 2015 20:57:01 +0000 (20:57 +0000)]
Merge "Determine if we have adoptable disks." into mnc-dev

9 years agoDetermine if we have adoptable disks.
Jeff Sharkey [Wed, 13 May 2015 20:54:30 +0000 (13:54 -0700)]
Determine if we have adoptable disks.

Bug: 19993667
Change-Id: I9b21b05736c22d34ca22f5ad6e1a6ebec440cfb6

9 years agoMerge "Revert "Anti-alias by default"" into mnc-dev
Chris Craik [Wed, 13 May 2015 20:47:46 +0000 (20:47 +0000)]
Merge "Revert "Anti-alias by default"" into mnc-dev

9 years agoMerge "Anti-Alias ColorDrawable" into mnc-dev
Chris Craik [Wed, 13 May 2015 20:44:48 +0000 (20:44 +0000)]
Merge "Anti-Alias ColorDrawable" into mnc-dev

9 years agoRevert "Anti-alias by default"
Chris Craik [Wed, 13 May 2015 20:09:50 +0000 (13:09 -0700)]
Revert "Anti-alias by default"

bug:20948129

Keep HIDDEN_DEFAULT_PAINT_FLAGS name.

This reverts commit 1b60cc0529161b5eca6407b551d67d355994c567.

Change-Id: I97cd9c556375c74c52b006bda4fc7b3a2cfa89e1

9 years agoMerge "Volume: Update divider color to match qs tile divider color." into mnc-dev
John Spurlock [Wed, 13 May 2015 20:39:54 +0000 (20:39 +0000)]
Merge "Volume: Update divider color to match qs tile divider color." into mnc-dev

9 years agoVolume: Update divider color to match qs tile divider color.
John Spurlock [Wed, 13 May 2015 20:31:34 +0000 (16:31 -0400)]
Volume: Update divider color to match qs tile divider color.

Bug: 21120949
Change-Id: I35ad4f1badbb109e49d5d5b452e3e11b641d7e14

9 years agoMerge "Volume: Use inactive slider tints when disabled." into mnc-dev
John Spurlock [Wed, 13 May 2015 20:35:09 +0000 (20:35 +0000)]
Merge "Volume: Use inactive slider tints when disabled." into mnc-dev

9 years agoVolume: Use inactive slider tints when disabled.
John Spurlock [Wed, 13 May 2015 20:23:14 +0000 (16:23 -0400)]
Volume: Use inactive slider tints when disabled.

Bug: 21119650
Change-Id: I14e10c83e9d73096775f92d5290306b76eba6af4