OSDN Git Service

android-x86/frameworks-base.git
10 years agoEnsure backup schedule file is closed.
Michael Wright [Wed, 30 Jul 2014 01:28:47 +0000 (18:28 -0700)]
Ensure backup schedule file is closed.

Change-Id: Ie4a62cda74815c67c62fb08e8df25a71d6102d4c

10 years agoMerge "SoundTrigger API update." into lmp-dev
Eric Laurent [Tue, 5 Aug 2014 19:54:20 +0000 (19:54 +0000)]
Merge "SoundTrigger API update." into lmp-dev

10 years agoUpdate the system linear progress bar
ztenghui [Tue, 5 Aug 2014 18:58:45 +0000 (11:58 -0700)]
Update the system linear progress bar

bug:14622065

Change-Id: Ic08022d934763ba0cc6067af3e50c4afeb8a0e9e

10 years agoFix not being able to dismiss panel with single tap
Jorim Jaggi [Tue, 5 Aug 2014 19:12:02 +0000 (21:12 +0200)]
Fix not being able to dismiss panel with single tap

Bug: 16562847
Change-Id: Ic409b9dd23df7e79a20b83a8a63eaaf1f76b3dd0

10 years agoNavbar scrim when in QS
Jorim Jaggi [Tue, 5 Aug 2014 19:04:39 +0000 (21:04 +0200)]
Navbar scrim when in QS

Bug: 16644711
Change-Id: I91d823671919068500a29878f3dfe9b481000a58

10 years agoUse actual number of packages rather than getCount()
Craig Mautner [Tue, 5 Aug 2014 00:08:25 +0000 (17:08 -0700)]
Use actual number of packages rather than getCount()

The ResolverActivity method getCount() returns the number of
entries below the default entry, not the total number of entries.
But the onCreate() method expected the getCount() method to
return the total number of entries. This change provides the total
to onCreate().

Fixes bug 16800358.

Change-Id: I3915c3d5ad642e31d7248226fc91bd4047f16b2d

10 years agoMerge "Revert "Make Connection threadsafe"" into lmp-dev
Santos Cordon [Tue, 5 Aug 2014 19:09:43 +0000 (19:09 +0000)]
Merge "Revert "Make Connection threadsafe"" into lmp-dev

10 years agoRevert "Make Connection threadsafe"
Santos Cordon [Tue, 5 Aug 2014 18:54:03 +0000 (18:54 +0000)]
Revert "Make Connection threadsafe"

This reverts commit 53488bf3d152eb0ecacca5716c763e8cd7ab28ae.

Change-Id: Ia13c510279e600e8bd1445fd63e2cd6503f4077e

10 years agoShow bouncer if secure camera would show chooser.
Jorim Jaggi [Tue, 5 Aug 2014 18:39:15 +0000 (20:39 +0200)]
Show bouncer if secure camera would show chooser.

Bug: 16570873
Change-Id: I2a86fb3a823d5255c0c35a78c1832c273e3a1578

10 years agoScan after writing external storage files.
Jeff Sharkey [Mon, 4 Aug 2014 22:32:42 +0000 (15:32 -0700)]
Scan after writing external storage files.

Kicks off media scanner after files are written.

Bug: 13557203
Change-Id: I61613f28e07b068573079cc1e362fd3fe135684e

10 years agoMove clip bound execution into drawChild()
Chris Craik [Tue, 5 Aug 2014 00:55:22 +0000 (17:55 -0700)]
Move clip bound execution into drawChild()

bug:15698973

This makes native and java implementations match up in the sequence of
clip vs applying other properties / draw calls.

Change-Id: Ia75e00c5b42f81ecd516722ef1c5233d483e0c97

10 years agoStronger constraints around install session IDs.
Jeff Sharkey [Tue, 5 Aug 2014 17:42:27 +0000 (10:42 -0700)]
Stronger constraints around install session IDs.

Generate positive, non-zero session IDs, and don't recycle them
within a given boot.  Guard against ID starvation by crazy apps.

Bug: 16792837
Change-Id: I6035afe4d942d358b5ca12b4f818c55885b74aba

10 years agoMerge "Disable heads up when DISABLE_NOTIFICATION_ALERT" into lmp-dev
Jason Monk [Tue, 5 Aug 2014 17:28:00 +0000 (17:28 +0000)]
Merge "Disable heads up when DISABLE_NOTIFICATION_ALERT" into lmp-dev

10 years agoUpdate keyguard icon paddings to spec.
Jorim Jaggi [Tue, 5 Aug 2014 17:17:42 +0000 (19:17 +0200)]
Update keyguard icon paddings to spec.

Bug: 15381387
Change-Id: Ia75394fd68f66233ebabe9ec4f62b42d40d19eb9

10 years agoDisable heads up when DISABLE_NOTIFICATION_ALERT
Jason Monk [Thu, 31 Jul 2014 16:42:25 +0000 (12:42 -0400)]
Disable heads up when DISABLE_NOTIFICATION_ALERT

When notification alerts are disabled also turn off heads up. This
will fall back to the old behavior, which can allow the fullscreen
intent to be triggered instead.

Bug: 14157742
Change-Id: I4b6e3d9383894b1674d600c374ff8968ca53513e

10 years agoDocumentsUI is only dialog when really large.
Jeff Sharkey [Tue, 5 Aug 2014 17:14:45 +0000 (10:14 -0700)]
DocumentsUI is only dialog when really large.

Bug: 16780860
Change-Id: Ib20ef9771855beba5b31d19887c1c9c1b8e8e5ed

10 years agoMerge "Revert "Clean up hiden notifications on Keyguard handling"" into lmp-dev
Jorim Jaggi [Tue, 5 Aug 2014 17:10:59 +0000 (17:10 +0000)]
Merge "Revert "Clean up hiden notifications on Keyguard handling"" into lmp-dev

10 years agoRevert "Clean up hiden notifications on Keyguard handling"
Jorim Jaggi [Tue, 5 Aug 2014 17:10:43 +0000 (17:10 +0000)]
Revert "Clean up hiden notifications on Keyguard handling"

This reverts commit d9267cae958b572b715d22a4905b18749a369c9f.

Too much performance regression - need to figure out something else.

Change-Id: I2d399add74402e1c036235ec095a053a6d5b828e

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 "Security fixes related to cross-user content." into lmp-dev
Nicolas Prevot [Tue, 5 Aug 2014 17:10:50 +0000 (17:10 +0000)]
Merge "Security fixes related to cross-user content." into lmp-dev

10 years agoFix cross-user permission checks in print manager service.
Svet Ganov [Tue, 5 Aug 2014 16:52:18 +0000 (09:52 -0700)]
Fix cross-user permission checks in print manager service.

The cross-user check was requesting both interact across users and
interact across users all permissions which is too restrictive. Each
one is sufficient. Further, if the app has one of these premissions
but specifies a given user not current or current-self, the code
was throwing while the correct actions is to return the requested
user id as we alreay vetted the caller's permissions.

bug:16398152

Change-Id: I1a4863eb7b05dababb66bac6e143b78dfad42b81

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 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 agoSoundTrigger API update.
Eric Laurent [Wed, 30 Jul 2014 15:57:39 +0000 (08:57 -0700)]
SoundTrigger API update.

Add sound model update callback.
Add native service state change callback.
Add vendor UUID in sound model description.
Add coarse confidence level in recognition event.
Add capture format in recognition event.

Bug: 12378680.

Change-Id: Id63437819ec7b9a4a69e1ff6185b747e20cad95e

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 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 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