OSDN Git Service

android-x86/frameworks-base.git
10 years agoSecurity fixes related to cross-user content.
Nicolas Prevot [Thu, 26 Jun 2014 09:07:33 +0000 (10:07 +0100)]
Security fixes related to cross-user content.

Enforcing that only uri grants work across users (not permissions).
Fixing a security hole where malicious Apps could access a uri if they had uri grants to the same uri on another user.
Enforcing that userIds in uris, if they exist, are the one of the ContentProvider.

BUG: 16779492

Change-Id: Iaa5264bd6c3aa0e15be3a4a64f9dc88238e0cb2e

10 years agoAdd transport parameter to createBond() function (4/4)
Andre Eisenbach [Tue, 5 Aug 2014 00:51:43 +0000 (17:51 -0700)]
Add transport parameter to createBond() function (4/4)

Bug: 14063256
Change-Id: I096248b60752992aa23ce5bfbfc47fda95773db2

10 years agoClean up hiden notifications on Keyguard handling
Jorim Jaggi [Tue, 5 Aug 2014 14:22:30 +0000 (16:22 +0200)]
Clean up hiden notifications on Keyguard handling

Change-Id: Ifeabfdd1ed8c11b0796cc79bba81752518921be3

10 years agoMerge "Allow listeners to see children" into lmp-dev
Justin Koh [Tue, 5 Aug 2014 16:56:02 +0000 (16:56 +0000)]
Merge "Allow listeners to see children" into lmp-dev

10 years agoAllow listeners to see children
Justin Koh [Tue, 5 Aug 2014 01:29:49 +0000 (18:29 -0700)]
Allow listeners to see children

Allow listeners to see notification children. Since L is not baked yet, keeping
this version check makes it difficult to test apps.

Bug: 16733244
Change-Id: I70afd6b99fc18c1f0b9188279c04fab80c37d414

10 years agoIMS Framework & AIDL Changes for Call Barring & String Error Codes.
Shriram Ganesh [Wed, 9 Jul 2014 01:48:35 +0000 (18:48 -0700)]
IMS Framework & AIDL Changes for Call Barring & String Error Codes.

Change-Id: I66fdbbd175c13261c283627999f37071259f7a6a

10 years agoMerge "AudioAttributes: implement hashcode and equals methods" into lmp-dev
Jean-Michel Trivi [Tue, 5 Aug 2014 16:39:21 +0000 (16:39 +0000)]
Merge "AudioAttributes: implement hashcode and equals methods" into lmp-dev

10 years agoMerge "Log the version of the WebView package used." into lmp-dev
Torne (Richard Coles) [Tue, 5 Aug 2014 16:05:14 +0000 (16:05 +0000)]
Merge "Log the version of the WebView package used." into lmp-dev

10 years agoProperly update accessibility manager state.
Svet Ganov [Tue, 5 Aug 2014 15:41:08 +0000 (08:41 -0700)]
Properly update accessibility manager state.

Applciations that fire accessibility events have to first check
it accessibility is on and then fire the event. If the app fires
an event when the feature is off an exception is thrown. However,
due to the way accessibility state is pushed to the local
accessibility manager it was possible that the app checks that
aaccessibility is off, fires an event, then the state of the
local manager changes by the time the event is propagated up
the view tree and an exception is thrown. This is a regression.

We really want this exception to prevent apps sending events
across processes if accessibility is off, so now the state
we get from the system manager service is applied via a
message so if the app checks that accessibility is off, then
it will remain off (locally) until the event is propagated.

bug:16672964

Change-Id: Icf5d1b1bdff87b58f285f0d9e1a098552513bbe8

10 years agoLog the version of the WebView package used.
Torne (Richard Coles) [Tue, 5 Aug 2014 15:12:09 +0000 (16:12 +0100)]
Log the version of the WebView package used.

To aid in debugging app behaviour when WebView updates may be present,
log the package name, version name, and version code of the WebView
package when we are about to load it into an application. Do this before
we actually load any part of the package in case of an issue loading it
in the first place.

Change-Id: Id653bad431760b7ead8e3f8eb29f9d6a8bb68d07

10 years agoRefactor <Feature Abort> logic to concentrate it in one place.
Yuncheol Heo [Tue, 5 Aug 2014 05:48:37 +0000 (14:48 +0900)]
Refactor <Feature Abort> logic to concentrate it in one place.

- Don't reply from the unregistered address.
- Use "unrecognized opcode" as the default reason.

Bug: 16799466, Bug: 16798785
Change-Id: I7c2ece6436f7ebd59986d2baf4f45cd86e6622d9

10 years agoMerge "Fix CookieSyncManager package summary" into lmp-dev
Hector Dearman [Tue, 5 Aug 2014 16:00:48 +0000 (16:00 +0000)]
Merge "Fix CookieSyncManager package summary" into lmp-dev

10 years agoFix CookieSyncManager package summary
Hector Dearman [Tue, 5 Aug 2014 09:55:30 +0000 (10:55 +0100)]
Fix CookieSyncManager package summary

Putting the deprecated at the beginning of a class comment seems
to cause problems with JavaDoc so I've moved it to the end.

Bug: 16799480
Change-Id: Ia23dab2ad8ceb8e107e047480b5cb324d11a1457

10 years agoMerge "TIF: A preliminary CL to add multiple rating systems" into lmp-dev
Sungsoo Lim [Tue, 5 Aug 2014 08:36:33 +0000 (08:36 +0000)]
Merge "TIF: A preliminary CL to add multiple rating systems" into lmp-dev

10 years agoTIF: A preliminary CL to add multiple rating systems
Sungsoo Lim [Tue, 5 Aug 2014 05:55:05 +0000 (14:55 +0900)]
TIF: A preliminary CL to add multiple rating systems

TODO: Add rating systems for the countries defined in this CL.

Change-Id: I128284fd8779723b5ffb5968e2a11ce4b4eae6b5

10 years agoMerge "Refine recode apis." into lmp-dev
Jungshik Jang [Tue, 5 Aug 2014 08:35:31 +0000 (08:35 +0000)]
Merge "Refine recode apis." into lmp-dev

10 years agoFix bugs on timer recording action.
Jungshik Jang [Tue, 5 Aug 2014 07:10:21 +0000 (16:10 +0900)]
Fix bugs on timer recording action.

1. Apply masking to feature abort of SetXXXTimer
2. Announce error when failed to send SetXXXTimer.
3. Remove TimerRecordingAction when deivce is disabled.
4. Report clear timer record error thru onClearTimerRecordingResult.

Change-Id: Id243aa25481dad57509b4229ca214fa9b6b00fdc

10 years agoRefine recode apis.
Jungshik Jang [Tue, 5 Aug 2014 05:43:24 +0000 (14:43 +0900)]
Refine recode apis.

1. add return type, int, to toByteArray method so
that caller can know how many of bytes it consumes.

2. put final keyword

Change-Id: Ia942016fa35ecb04b49be51170739101644c3e31

10 years agoMerge "Fix invalid annotation, @throw" into lmp-dev
Jungshik Jang [Tue, 5 Aug 2014 05:28:39 +0000 (05:28 +0000)]
Merge "Fix invalid annotation, @throw" into lmp-dev

10 years agoFix invalid annotation, @throw
Jungshik Jang [Tue, 5 Aug 2014 05:27:17 +0000 (14:27 +0900)]
Fix invalid annotation, @throw

Change-Id: Id22635414567a8b525032df792f2309102d7ae62

10 years agoMerge "TIF: implement setVolume for hardware inputs" into lmp-dev
Wonsik Kim [Tue, 5 Aug 2014 04:47:48 +0000 (04:47 +0000)]
Merge "TIF: implement setVolume for hardware inputs" into lmp-dev

10 years agoPlumbing for HdmiTvClient and HdmiControlService
Jinsuk Kim [Fri, 1 Aug 2014 10:13:53 +0000 (19:13 +0900)]
Plumbing for HdmiTvClient and HdmiControlService

Added a few more methods in HdmiTvClient to use the API provided
by HdmiControlService

Change-Id: Ib506699b9661b99cefc837b96ac64347a4e9420c

10 years agoLet STB oneTouchPlay on SCREEN_ON event.
Yuncheol Heo [Mon, 4 Aug 2014 10:41:09 +0000 (19:41 +0900)]
Let STB oneTouchPlay on SCREEN_ON event.

- Eleborate the reason code to initiate the initialization.

Bug: 16668375
Change-Id: I4ce657a9438e4f7baa7df2eaa102eb1ce1a7bccb

10 years agoTIF: implement setVolume for hardware inputs
Wonsik Kim [Mon, 4 Aug 2014 01:17:18 +0000 (10:17 +0900)]
TIF: implement setVolume for hardware inputs

Bug: 16635576
Change-Id: Ibba9f32b22451d9792b5e74c2cf36cab356e4ab1

10 years agoMerge "Implement clear timer." into lmp-dev
Jungshik Jang [Tue, 5 Aug 2014 00:33:27 +0000 (00:33 +0000)]
Merge "Implement clear timer." into lmp-dev

10 years agoImplement clear timer.
Jungshik Jang [Fri, 25 Jul 2014 04:41:14 +0000 (13:41 +0900)]
Implement clear timer.

This change implements clear timer, which sends
<Clear xxx Timer> to recorder, and reponse of it,
<Timer Cleared Status>.
Along with it, add result parser for [Timer Status Data].

Bug: 16160962

Change-Id: I1f48ec055aa93dc836156525de8b7ef921aad8b5

10 years agoAdd changes for LTE to IWLAN Handover Notifications for an IMS Call
Shriram Ganesh [Mon, 21 Jul 2014 21:06:53 +0000 (14:06 -0700)]
Add changes for LTE to IWLAN Handover Notifications for an IMS Call

Change-Id: I6847ba1660df81d8d2ba610e9b27638800f71f77

10 years agoMerge "TIF: make the documentation consistent." into lmp-dev
Dongwon Kang [Tue, 5 Aug 2014 08:08:01 +0000 (08:08 +0000)]
Merge "TIF: make the documentation consistent." into lmp-dev

10 years agoTIF: make the documentation consistent.
Dongwon Kang [Tue, 5 Aug 2014 06:13:15 +0000 (15:13 +0900)]
TIF: make the documentation consistent.

Change-Id: Iaf93c8753c43fa128b464cea3f63a38fb7b3c8b3

10 years agoMerge "Fix unnecessarily non-static inner class to static inner" into lmp-dev
Tadashi G. Takaoka [Tue, 5 Aug 2014 07:42:02 +0000 (07:42 +0000)]
Merge "Fix unnecessarily non-static inner class to static inner" into lmp-dev

10 years agoFix unnecessarily non-static inner class to static inner
Tadashi G. Takaoka [Tue, 5 Aug 2014 06:29:17 +0000 (15:29 +0900)]
Fix unnecessarily non-static inner class to static inner

Change-Id: I0c8efda6ef0bede6b5871cd651f42db82dbfbd39

10 years agoMerge "TIF: fix JTvInputHal::removeStream issue" into lmp-dev
Wonsik Kim [Tue, 5 Aug 2014 07:31:02 +0000 (07:31 +0000)]
Merge "TIF: fix JTvInputHal::removeStream issue" into lmp-dev

10 years agoTIF: fix JTvInputHal::removeStream issue
Wonsik Kim [Tue, 5 Aug 2014 06:35:07 +0000 (15:35 +0900)]
TIF: fix JTvInputHal::removeStream issue

Bug: 16803334
Change-Id: I3f92a12479cdded7a3bf572cc59e68367a0797ad

10 years agoWhen exiting lock task require authentication
Jason Monk [Mon, 4 Aug 2014 20:28:09 +0000 (16:28 -0400)]
When exiting lock task require authentication

When exiting lock task with screen locking on make sure to notify
that the credentials need to be entered again.

Bug: 16496374
Change-Id: I891a8a8a04a67aa70eba8ea78bd585ad0dd17808

10 years agoMerge "Empty notification shade state." into lmp-dev
Jorim Jaggi [Tue, 5 Aug 2014 15:54:15 +0000 (15:54 +0000)]
Merge "Empty notification shade state." into lmp-dev

10 years agoEmpty notification shade state.
Jorim Jaggi [Tue, 5 Aug 2014 14:22:30 +0000 (16:22 +0200)]
Empty notification shade state.

Bug: 16483230
Change-Id: I7953a7954cae12124146f462ed8c0dc44769a38f

10 years agoNew swipe-up assist animation for L.
Jorim Jaggi [Mon, 4 Aug 2014 20:49:41 +0000 (22:49 +0200)]
New swipe-up assist animation for L.

Bug: 16307470
Bug: 14623152
Change-Id: Ib7e0381d118bda177981cc56ec9a8fb418dfb0e3

10 years agoMerge "Allow user-prioritized packages through in priority mode." into lmp-dev
John Spurlock [Tue, 5 Aug 2014 15:10:24 +0000 (15:10 +0000)]
Merge "Allow user-prioritized packages through in priority mode." into lmp-dev

10 years agoAllow user-prioritized packages through in priority mode.
John Spurlock [Fri, 18 Jul 2014 15:27:54 +0000 (11:27 -0400)]
Allow user-prioritized packages through in priority mode.

Bug:16396715
Change-Id: I115d717e5c25500407d4f7876f070a1497fb2887

10 years agoMerge "QS: Enable availability listener for flashlight" into lmp-dev
Adrian Roos [Tue, 5 Aug 2014 15:06:17 +0000 (15:06 +0000)]
Merge "QS: Enable availability listener for flashlight" into lmp-dev

10 years agoQS: Enable availability listener for flashlight
Adrian Roos [Tue, 5 Aug 2014 14:49:34 +0000 (16:49 +0200)]
QS: Enable availability listener for flashlight

Enables the availability listener now that the
underlying framwork is stable.

Bug: 16483222
Change-Id: I586a43941ade1ee8a8f3cb1a087e5356539703c1

10 years agoMerge "Set the TTS voice name for the default language." into lmp-dev
Przemyslaw Szczepaniak [Tue, 5 Aug 2014 14:30:43 +0000 (14:30 +0000)]
Merge "Set the TTS voice name for the default language." into lmp-dev

10 years agoSet the TTS voice name for the default language.
Przemyslaw Szczepaniak [Tue, 5 Aug 2014 10:49:32 +0000 (11:49 +0100)]
Set the TTS voice name for the default language.

This changes makes the initial, default language set and
the #setLanguage call with the default language as input
exactly the same.

Previously, the requests made after the initial default language
set were missing the name of the default voice.

+ Some tests clean-up. Some of them fail due to issues with
Locale#toLanguageTag upper-casing the variant field.

Change-Id: I5470617007fe45462b7198bf62a03eb5fe47a590

10 years agoMerge "QS: Share usage tracking timeout with color inversion tile." into lmp-dev
John Spurlock [Tue, 5 Aug 2014 13:56:55 +0000 (13:56 +0000)]
Merge "QS: Share usage tracking timeout with color inversion tile." into lmp-dev

10 years agoQS: Share usage tracking timeout with color inversion tile.
John Spurlock [Mon, 4 Aug 2014 21:45:16 +0000 (17:45 -0400)]
QS: Share usage tracking timeout with color inversion tile.

Pull out 30-day feature timeout code into a separate helper, use
in both ColorInversionTile and HotspotTile.

Expose an intent to force a reset of the timeout.

Change-Id: Ic0b89913fd5cec4e1df3cb0d5a548f052a60550f

10 years agoMerge "Dismiss all layout updates." into lmp-dev
Jorim Jaggi [Tue, 5 Aug 2014 10:43:51 +0000 (10:43 +0000)]
Merge "Dismiss all layout updates." into lmp-dev

10 years agoDismiss all layout updates.
Jorim Jaggi [Mon, 4 Aug 2014 21:35:47 +0000 (23:35 +0200)]
Dismiss all layout updates.

Bug: 14826666
Change-Id: I19773d0afaf34f92d987a5292de861b5963a7d8a

10 years agoAnimate public/private notification layouts
Jorim Jaggi [Fri, 1 Aug 2014 00:45:18 +0000 (02:45 +0200)]
Animate public/private notification layouts

This change move the boolean whether we hide sensitive contents into
AmbientState, which makes it consistent with the other stack states
and allows for a orchestrated transition between public/private
layouts. We need this transition when going into the full shade.

Bug: 16291973
Change-Id: I379a6119b5b73eca900a4a2ba9d5ec95b293e487

10 years agoHandle go to full shade motion for redacted case
Jorim Jaggi [Thu, 31 Jul 2014 23:16:36 +0000 (01:16 +0200)]
Handle go to full shade motion for redacted case

Bug: 16291973
Change-Id: Idc5ea93548e17ef9cd2d7c36416b293950554703

10 years agoNotification: Only post-process legacy notifications
Christoph Studer [Thu, 31 Jul 2014 15:29:20 +0000 (17:29 +0200)]
Notification: Only post-process legacy notifications

Bug: 16522199
Change-Id: I20330f946cee6569c249be1800c3a0e814d79efc

10 years agoQS: Fix detail clip reverse transition.
John Spurlock [Sun, 3 Aug 2014 15:47:35 +0000 (11:47 -0400)]
QS: Fix detail clip reverse transition.

Give it a layer during the transition to workaround a recent
regression in the clip animation.

Also:
 - Dial down the transition alpha a bit
 - Do a delayed reverse transition on exit

Change-Id: I622d6eb863d6186293b0126dda8fca3a04a80a85

10 years agoAdd ECBM functionality for IMS
Uma Maheswari Ramalingam [Thu, 31 Jul 2014 22:54:52 +0000 (15:54 -0700)]
Add ECBM functionality for IMS

Code for adding ECBM functionality for IMS.

Change-Id: I2833c81baf0a55a18ac6433c47fd76bad7cf0ec9

10 years agoAudioAttributes: implement hashcode and equals methods
Jean-Michel Trivi [Tue, 29 Jul 2014 20:04:41 +0000 (13:04 -0700)]
AudioAttributes: implement hashcode and equals methods

Change-Id: I3245c38d9413ba7590811a038db54628424a420e

10 years agoMerge "Battery saver: new policy changes + SystemUI tweaks." into lmp-dev
John Spurlock [Sun, 3 Aug 2014 01:50:20 +0000 (01:50 +0000)]
Merge "Battery saver: new policy changes + SystemUI tweaks." into lmp-dev

10 years agoAdded debug system property to enable/disable IMS VoLTE/VT.
Etan Cohen [Sat, 2 Aug 2014 08:13:24 +0000 (01:13 -0700)]
Added debug system property to enable/disable IMS VoLTE/VT.

If property is 0: IMS VoLTE is disabled.
If property is 1 then IMS is used as normal: i.e. expected to
be provisioned, registered etc.

Action on missing property defined by constant.

Change-Id: Ibdbb21fa7db30a4088b74092dd6256da012cd697

10 years agoBattery saver: new policy changes + SystemUI tweaks.
John Spurlock [Sat, 2 Aug 2014 21:12:43 +0000 (17:12 -0400)]
Battery saver: new policy changes + SystemUI tweaks.

 - Service policy changes: allow the user to turn off (snooze)
   saver mode below the auto-trigger level.  Plugging in the
   device always exits saver mode.
 - Default trigger level is now 0 (never) instead of 15.
 - SystemUI now also listens to a new POWER_SAVE_MODE_CHANGING,
   since waiting for _CHANGED can take seconds.
 - Move shared feature description text into the framework so it
   can be shared.
 - Tweak dialog title + action strings.
 - Remove trigger-level from SystemUI, it no longer needs it.
 - Add the ability to turn off saver mode directly from the
   notification.
 - Migrate saver confirmation dialog to common system UI dialog
   helper, and add a few convenience methods.
 - Fix bug where the status bar area would be orange over the keyguard
   in SHADE_LOCKED mode.

Bug:16214395
Change-Id: I3d1ded1eec9e63e7d97469486f6a320e1bebbccd

10 years agoMerge "QS: Fix detail flashing during transition." into lmp-dev
John Spurlock [Sat, 2 Aug 2014 14:58:41 +0000 (14:58 +0000)]
Merge "QS: Fix detail flashing during transition." into lmp-dev

10 years agoQS: Fix detail flashing during transition.
John Spurlock [Sat, 2 Aug 2014 14:56:05 +0000 (10:56 -0400)]
QS: Fix detail flashing during transition.

And modify the background a bit during the transition
to enhance the clip effect.

Change-Id: I2b4f4b18cb9c1b41efc2e6b38bc8f7d2a944511e

10 years agoQS: Update auto-rotation icon.
John Spurlock [Sat, 2 Aug 2014 13:24:26 +0000 (09:24 -0400)]
QS: Update auto-rotation icon.

Bug:16739860
Change-Id: Id85beb935cbccbecf97a071f114b2eed3e5cc258

10 years agoMerge "Fix several bugs on timer recoder code." into lmp-dev
Jungshik Jang [Mon, 4 Aug 2014 23:31:22 +0000 (23:31 +0000)]
Merge "Fix several bugs on timer recoder code." into lmp-dev

10 years agoMake outline alpha APIs public
Chris Craik [Mon, 4 Aug 2014 21:24:49 +0000 (14:24 -0700)]
Make outline alpha APIs public

bug:16140822
Change-Id: Ie21e2a75b462319fb49c5696f0c019e1ea803bc1

10 years agoFix several bugs on timer recoder code.
Jungshik Jang [Mon, 4 Aug 2014 07:27:48 +0000 (16:27 +0900)]
Fix several bugs on timer recoder code.

Change-Id: I331d5c61fa11513584c926fdeea55a5d7adbbad9

10 years agoMerge "Stop recognition when shutting down VIS" into lmp-dev
Sandeep Siddhartha [Sat, 2 Aug 2014 01:52:07 +0000 (01:52 +0000)]
Merge "Stop recognition when shutting down VIS" into lmp-dev

10 years agoStop recognition when shutting down VIS
Sandeep Siddhartha [Sat, 2 Aug 2014 01:09:07 +0000 (18:09 -0700)]
Stop recognition when shutting down VIS

Bug: 16629417
Change-Id: I9c98d7e6d487d3eaff604df401c320f8554589f9

10 years agoAdd a flag for multiple triggers with same recognition session
Sandeep Siddhartha [Fri, 1 Aug 2014 18:32:03 +0000 (11:32 -0700)]
Add a flag for multiple triggers with same recognition session

Also annotate the flags with @IntDef to make things clearer and safer

Add more debug logging

Revert to start/stop being synchronous since telephony and microphone will
need to be handled internally.

Bug: 16731586
Bug: 16514535
Bug: 16549061
Change-Id: I83695d52e9547269c95d443e4d921c9238b7401e

10 years agoActivityTransitionCoordinator: Fix memory leak of ResultReceiver
Dake Gu [Fri, 1 Aug 2014 22:39:11 +0000 (15:39 -0700)]
ActivityTransitionCoordinator: Fix memory leak of ResultReceiver

The ActivityTransitionCoordinator is retained by reference from native code.
The coordinator refers to a app's listener which can cause leak.

b/16737906

Change-Id: Ibbb85480b852442f95b00a8d3beff0161bdadb47

10 years agoMerge "Add a flag for multiple triggers with same recognition session" into lmp-dev
Sandeep Siddhartha [Sat, 2 Aug 2014 01:26:52 +0000 (01:26 +0000)]
Merge "Add a flag for multiple triggers with same recognition session" into lmp-dev

10 years agoAdd Logging around getNetworkInfo.
Robert Greenwalt [Fri, 1 Aug 2014 23:56:05 +0000 (16:56 -0700)]
Add Logging around getNetworkInfo.

bug:16610051
Change-Id: I04f19efc99bce6d990364291b6cd8105f08ab263

10 years agoImprove LegacyTypeTracker.
Lorenzo Colitti [Thu, 31 Jul 2014 14:20:17 +0000 (23:20 +0900)]
Improve LegacyTypeTracker.

Keep track of requests as well as of networks that come and go.
This is necessary, for example, to ensure that we pretend that
HIPRI has gone down when the HIPRI request goes away, even
though the underlying cell network is actually completely
unaffected.

Also, ensure that when switching default networks we send
disconnect broadcasts (and do so *before* connect broadcasts, to
maintain the illusion).

Bug: 16610051
Change-Id: Ib3c831387124940156df05b312cc36bc0724373e

10 years agoAdd AsUser versions of existing DevicePolicyManager methods
Zoltan Szatmary-Ban [Wed, 2 Jul 2014 15:42:05 +0000 (16:42 +0100)]
Add AsUser versions of existing DevicePolicyManager methods

Some API methods on DevicePolicyManager call underlying IDevicePolicyManager methods
that can be parameterised with a user id. DPM however only exposed methods for the current user.
This CL makes it possible to call them with any user id by introducing hidden methods on
DevicePolicyManager.

Bug: 15558397
Change-Id: I1786a64fa7cf5f6590ddd04cbf4527bb159f8795

10 years agoMerge "unhide AudioFormat getters" into lmp-dev
Eric Laurent [Fri, 1 Aug 2014 17:55:47 +0000 (17:55 +0000)]
Merge "unhide AudioFormat getters" into lmp-dev

10 years agoAudioAttributes: always build formatted tags from tag array
Jean-Michel Trivi [Wed, 30 Jul 2014 23:03:41 +0000 (16:03 -0700)]
AudioAttributes: always build formatted tags from tag array

An AudioAttributes instance can either be built through the
 Builder, or from unmarshalling: the mFormattedTags field
 should always be in sync with the array of tags.
In toString() method, use the more compact mFormattedTags.

Change-Id: Ie06cd7758bf4f2d2693fedaa8c3ba4245802d921

10 years agoMerge "Fix GSUB ccmp rule to use non-spacing marks." into lmp-dev
Roozbeh Pournader [Fri, 1 Aug 2014 22:18:11 +0000 (22:18 +0000)]
Merge "Fix GSUB ccmp rule to use non-spacing marks." into lmp-dev

10 years agoFix GSUB ccmp rule to use non-spacing marks.
Roozbeh Pournader [Fri, 1 Aug 2014 20:14:03 +0000 (13:14 -0700)]
Fix GSUB ccmp rule to use non-spacing marks.

The fonts are updated to upstream version 2.001047.

The previous version had buggy ccmp rules that were mistakenly replacing
sequences such as A` <U+0041, U+0060> with À <U+00C0>.  The new fonts
replace those with corrected rules that use combining accents instead, such
as U+0300 COMBINING GRAVE ACCENT instead of U+0060 GRAVE.

Also, a GSUB rule that mistakenly replaced aʾ <U+0061, U+02BE> with
ẚ <U+1E9A> is removed, and U+2117 SOUND RECORDING COPYRIGHT that was missing
from the Thin and Thin Italic fonts is added to them.

Bug: 16727859
Bug: 16719701
Change-Id: Ibd0a63ea3f51992c0e56fb255e68352915cc6c3a

10 years agoTurn off extra debugging
Wink Saville [Fri, 1 Aug 2014 18:13:40 +0000 (11:13 -0700)]
Turn off extra debugging

Change-Id: I3d7c68d3d7bcef5be084398807389f4a485bedb0

10 years agoDon't show guest when user switcher is simple
Jason Monk [Thu, 31 Jul 2014 18:35:06 +0000 (14:35 -0400)]
Don't show guest when user switcher is simple

Bug: 15729059
Change-Id: I9e88f0e7d01044a7096d6fc8d67bcd328014a625

10 years agoMerge "Add fontFeatureSettings to TextView and attrs" into lmp-dev
Behdad Esfahbod [Fri, 1 Aug 2014 21:42:07 +0000 (21:42 +0000)]
Merge "Add fontFeatureSettings to TextView and attrs" into lmp-dev

10 years agoAdd fontFeatureSettings to TextView and attrs
Behdad Esfahbod [Wed, 30 Jul 2014 23:46:53 +0000 (19:46 -0400)]
Add fontFeatureSettings to TextView and attrs

New API is hidden.

Bug: 15246510
Change-Id: I8cdbbd3a36fc280e07569dbb130f8c237062fff5

10 years agoMake Connection threadsafe
Evan Charlton [Fri, 1 Aug 2014 19:33:46 +0000 (12:33 -0700)]
Make Connection threadsafe

Punt all modification calls to the UI thread to avoid concurrency
issues. This also makes all callback events (e.g., onAbort()) be
called on the same thread.

Bug: 16731451
Change-Id: I4dfd7493538724b3249780272411e61d956b146a

10 years agoMerge "Add a default impelementation of IBluetoothGattCallback(1/2)." into lmp-dev
Wei Wang [Fri, 1 Aug 2014 21:41:53 +0000 (21:41 +0000)]
Merge "Add a default impelementation of IBluetoothGattCallback(1/2)." into lmp-dev

10 years agoAdd a default impelementation of IBluetoothGattCallback(1/2).
Wei Wang [Wed, 30 Jul 2014 04:34:25 +0000 (21:34 -0700)]
Add a default impelementation of IBluetoothGattCallback(1/2).

Also cleaned up a few TODOs and fixed bug.
b/16410260 AdvertiseCallback null onSuccess callback

Change-Id: I75a582c03be1e2ef6964c2cbeba42aaaf9f9e17c

10 years agoMerge "Add accessorytest Linux host tool for testing USB accessory audio and HID...
Mike Lockwood [Mon, 4 Aug 2014 23:23:41 +0000 (23:23 +0000)]
Merge "Add accessorytest Linux host tool for testing USB accessory audio and HID support." into lmp-dev

10 years agoReplace more Locale methods.
Deepanshu Gupta [Thu, 31 Jul 2014 21:32:34 +0000 (14:32 -0700)]
Replace more Locale methods.

This change replaces some methods of java.util.Locale. Some of them were
added in 1.7 and some are not present in the Desktop VM.

Change-Id: Ifdf8451bb2acf55e01dce8b5e15c40c8160107cc

10 years agoFix Delegates
Deepanshu Gupta [Thu, 31 Jul 2014 03:18:48 +0000 (20:18 -0700)]
Fix Delegates

Change-Id: I2b6a6b679b7a5b2532b76b723155bc2763b70768

10 years agoFix LayoutLib Create tests.
Deepanshu Gupta [Thu, 31 Jul 2014 01:27:14 +0000 (18:27 -0700)]
Fix LayoutLib Create tests.

Change-Id: Ica3efe417d54da7dc74b21d28215199d37600744

10 years agoAdd testing framework to LayoutLib.
Deepanshu Gupta [Thu, 31 Jul 2014 18:32:25 +0000 (11:32 -0700)]
Add testing framework to LayoutLib.

This change adds an end to end test which loads the framework resources
and a test app and ensures that no exceptions or warnings are thrown.

The change also adds project configuration for intelliJ.

Change-Id: I7b67c0f1a2af2dac95df7f3231cab537b9826d7d

10 years agoFixing scrolling regression with layout changes.
Winson Chung [Mon, 4 Aug 2014 22:21:46 +0000 (15:21 -0700)]
Fixing scrolling regression with layout changes.

Change-Id: Ic440d147ca13bf13d7f311b6d9876e3c02d4f189

10 years agoAdd accessorytest Linux host tool for testing USB accessory audio and HID support.
Mike Lockwood [Mon, 4 Aug 2014 21:48:45 +0000 (14:48 -0700)]
Add accessorytest Linux host tool for testing USB accessory audio and HID support.

The tool supports testing USB audio by default.
It reads audio from the ALSA device for the android phone in accessory mode
and outputs it to the ALSA device for the PC's speaker.
The default values work on my PC, but can be changed via command line options.

When the -a option is specified, accessorytest also acts as the host side of the
AccessoryChat test, so audio can be tested side by side with the accessory bulk endpoint support.

When the -h option is specified, accessorytest will look for HID devices on the PC and proxy them
to the phone over the accessory protocol. This requires running accessorytest as root.

Change-Id: I1ea06d7201cd845b95a92a42594464783a90189b

10 years agoam c08203c2: am 4881578e: am ea12f0fd: Fix some sync adapter docs typos.
Andrew Flynn [Mon, 4 Aug 2014 21:26:44 +0000 (21:26 +0000)]
am c08203c2: am 4881578e: am ea12f0fd: Fix some sync adapter docs typos.

* commit 'c08203c22c8407d9a9777eb6f436bfb79edb1f74':
  Fix some sync adapter docs typos.

10 years agoSet default outline alpha to 1.0f
Chris Craik [Mon, 4 Aug 2014 20:42:18 +0000 (13:42 -0700)]
Set default outline alpha to 1.0f

bug:16795461
Change-Id: I7ccecee84b47a2bbf91fc11ad3005160f913ba77

10 years agoam 4881578e: am ea12f0fd: Fix some sync adapter docs typos.
Andrew Flynn [Fri, 1 Aug 2014 18:33:48 +0000 (18:33 +0000)]
am 4881578e: am ea12f0fd: Fix some sync adapter docs typos.

* commit '4881578e6ccd8b51606750e3fd4e20b2204287c7':
  Fix some sync adapter docs typos.

10 years agoam ea12f0fd: Fix some sync adapter docs typos.
Andrew Flynn [Fri, 1 Aug 2014 18:29:27 +0000 (18:29 +0000)]
am ea12f0fd: Fix some sync adapter docs typos.

* commit 'ea12f0fd7ed236fa38f73cfff5be5fa36f016690':
  Fix some sync adapter docs typos.

10 years agoFix some sync adapter docs typos.
Andrew Flynn [Fri, 1 Aug 2014 18:19:48 +0000 (14:19 -0400)]
Fix some sync adapter docs typos.

Change-Id: Icb108bcfd7835049ff7d50660d1f8084ebc3c8e9

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Geoff Mendal [Mon, 4 Aug 2014 18:23:13 +0000 (18:23 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 4 Aug 2014 17:54:40 +0000 (10:54 -0700)]
Import translations. DO NOT MERGE

Change-Id: I11a53b337e1607794c52fd0e60fd6fefac76f9ef
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 4 Aug 2014 18:11:44 +0000 (11:11 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1060b2e4a480058c4949575c31cc2806d0d921bb
Auto-generated-cl: translation import

10 years agoMerge "NoMan: Fix notification sqlite log schema" into lmp-dev
Christoph Studer [Mon, 4 Aug 2014 14:24:49 +0000 (14:24 +0000)]
Merge "NoMan: Fix notification sqlite log schema" into lmp-dev

10 years agoNoMan: Fix notification sqlite log schema
Christoph Studer [Mon, 4 Aug 2014 12:31:25 +0000 (14:31 +0200)]
NoMan: Fix notification sqlite log schema

The 'log' table creation SQLite code had syntax errors
and left the table in a weird state.

This CL fixes the creation syntax and drops old tables
since they might be in an inconsistent state.

Bug: 16726344
Change-Id: I241d08c9e30cedf27ca37bfaf349975077de222d

10 years agoDon't let failures to load the null WebView propagate.
Torne (Richard Coles) [Mon, 4 Aug 2014 13:04:02 +0000 (14:04 +0100)]
Don't let failures to load the null WebView propagate.

We load the null WebView if the real WebView package is not available to
support devices that aren't intended to have a WebView, but this results
in confusing log messages if the real WebView is supposed to be present
but is broken/unloadable for some reason. Since the null WebView is in
the system classpath on devices that should use it, swallow any failures
to load it on the assumption that this is actually just a failure of the
real WebView to be loaded.

Change-Id: I15820da3517daffde6169343c648a4486c0309d7

10 years agoMerge "Faster timings when a notification comes out from more card" into lmp-dev
Jorim Jaggi [Mon, 4 Aug 2014 12:02:17 +0000 (12:02 +0000)]
Merge "Faster timings when a notification comes out from more card" into lmp-dev