Commit Graph

42703 Commits

Author SHA1 Message Date
Hector Dearman
d2ee561f69 am 814e2f65: am 37fcb962: am 41d1648f: Merge "Fix CookieSyncManager package summary" into lmp-dev
* commit '814e2f65ebf4a5fc5da9aeee5cc18600d5e35952':
  Fix CookieSyncManager package summary
2014-08-05 16:17:45 +00:00
Przemyslaw Szczepaniak
c33c898cb0 am 4621b16a: am 48926d30: am e27f1632: Merge "Set the TTS voice name for the default language." into lmp-dev
* commit '4621b16ace1b0ecab43280eff9f24a22a7a18054':
  Set the TTS voice name for the default language.
2014-08-05 16:12:10 +00:00
Jungshik Jang
d2249cce4b am 2426219c: am c8c34f1f: am 69f08659: Merge "Refine recode apis." into lmp-dev
* commit '2426219c3516aec64e83a8078e2d552f073c8d26':
  Refine recode apis.
2014-08-05 13:26:39 +00:00
Jungshik Jang
e4491b6c9e am f1caed8a: am 71758d5b: am ef1e889d: Merge "Fix invalid annotation, @throw" into lmp-dev
* commit 'f1caed8a395bef295e5a9c64d1b3c46528856367':
  Fix invalid annotation, @throw
2014-08-05 13:26:18 +00:00
Jinsuk Kim
02671bfe0e am f661cc31: am 760ad583: am c4319a19: Plumbing for HdmiTvClient and HdmiControlService
* commit 'f661cc31b9ae87969767e940ab92cc40ad4d5517':
  Plumbing for HdmiTvClient and HdmiControlService
2014-08-05 13:26:10 +00:00
Jinsuk Kim
6ffb03816f Plumbing for HdmiTvClient and HdmiControlService
Added a few more methods in HdmiTvClient to use the API provided
by HdmiControlService

Change-Id: Ib506699b9661b99cefc837b96ac64347a4e9420c
2014-08-05 13:05:49 +09:00
Jungshik Jang
74e403fd39 am 6cc6bd39: am 1bc420cd: am 70ac06d8: Merge "Implement clear timer." into lmp-dev
* commit '6cc6bd399f41c6450d78ec0d4f4158a93f29affb':
  Implement clear timer.
2014-08-05 00:45:22 +00:00
Hector Dearman
ae9251262a Merge "Fix CookieSyncManager package summary" into lmp-dev 2014-08-05 00:35:13 +00:00
Hector Dearman
24f7e61a38 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
2014-08-05 10:55:30 +01:00
Przemyslaw Szczepaniak
1eb47e1624 Merge "Set the TTS voice name for the default language." into lmp-dev 2014-08-05 00:35:13 +00:00
Przemyslaw Szczepaniak
fd80746bb9 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
2014-08-05 14:50:34 +01:00
Jungshik Jang
363c4efa51 Merge "Fix invalid annotation, @throw" into lmp-dev 2014-08-05 00:07:36 +00:00
Jungshik Jang
f406cc3442 Fix invalid annotation, @throw
Change-Id: Id22635414567a8b525032df792f2309102d7ae62
2014-08-05 14:27:17 +09:00
Jungshik Jang
2afd97698d 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
2014-08-05 14:46:05 +09:00
Jungshik Jang
e5a9337ebe 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
2014-08-05 09:32:34 +09:00
Jungshik Jang
dc452eb05c am 260d5100: am 9c55d10f: am 98be7752: Merge "Fix several bugs on timer recoder code." into lmp-dev
* commit '260d5100f3b6057091fd25016e68197fe36b17ec':
  Fix several bugs on timer recoder code.
2014-08-04 23:45:41 +00:00
Chris Craik
169b2cedf5 am fd8e8aec: am edf92aec: am 7a250371: Set default outline alpha to 1.0f
* commit 'fd8e8aecccb20cf8a66a226d27e2100853e4b37c':
  Set default outline alpha to 1.0f
2014-08-04 21:10:41 +00:00
Yorke Lee
c7c9ce2d4a am 76c61762: am 27627ecd: am ddf3fd48: Merge "Update documentation for ContactCounts" into lmp-dev
* commit '76c61762fe53d67dfa39a652118cc2d11a22f3c4':
  Update documentation for ContactCounts
2014-08-04 21:06:09 +00:00
Chris Craik
6efd17588b Set default outline alpha to 1.0f
bug:16795461
Change-Id: I7ccecee84b47a2bbf91fc11ad3005160f913ba77
2014-08-04 20:53:41 +00:00
Chet Haase
a3277c93f4 am ed819db0: am 04c5921c: am 7c98f923: Merge "Give disappearing children a chance to recreate DisplayLists" into lmp-dev
* commit 'ed819db06149255d5cc84968028c2e2e8b8b7048':
  Give disappearing children a chance to recreate DisplayLists
2014-08-04 19:20:36 +00:00
John Spurlock
61c4ac187a am 6d065669: am d8fc8726: am cdc993dd: Doze: Add a user opt-out setting.
* commit '6d06566917cf3a6ac67e0648fa6710c634f93cda':
  Doze: Add a user opt-out setting.
2014-08-04 19:14:07 +00:00
John Spurlock
a4215ceb86 Doze: Add a user opt-out setting.
When devices are configured with a doze component, the user
now has the option of disabling doze mode with a secure setting.

Bug:16703536
Change-Id: Ieab6ee8d2acf54580b86fb16e9d77b52080fb3b1
2014-08-04 14:57:06 -04:00
Jungshik Jang
2265c8f700 Merge "Fix several bugs on timer recoder code." into lmp-dev 2014-08-01 16:01:17 +00:00
Jungshik Jang
b634ca8f5f Fix several bugs on timer recoder code.
Change-Id: I331d5c61fa11513584c926fdeea55a5d7adbbad9
2014-08-04 16:27:48 +09:00
Christoph Studer
1cda67f8b3 Notification: Only post-process legacy notifications
Bug: 16522199
Change-Id: I20330f946cee6569c249be1800c3a0e814d79efc
2014-08-03 18:22:46 +00:00
John Spurlock
1bb480a3a4 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
2014-08-02 17:12:43 -04:00
Sandeep Siddhartha
5e33fb057c Stop recognition when shutting down VIS
Bug: 16629417
Change-Id: I9c98d7e6d487d3eaff604df401c320f8554589f9
2014-08-01 18:18:08 -07:00
Sandeep Siddhartha
2c0273e50a 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
2014-08-01 17:46:27 -07:00
Dake Gu
fc0fc0e341 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
2014-08-01 22:53:14 +00:00
Zoltan Szatmary-Ban
3f1ddf83a4 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
2014-08-01 09:27:19 +00:00
Chet Haase
b673790e56 Merge "Give disappearing children a chance to recreate DisplayLists" into lmp-dev 2014-08-01 08:29:25 +00:00
Chet Haase
6c0665fd0f Give disappearing children a chance to recreate DisplayLists
Views which are on the secondary "disappearingChildren" list in a
ViewGroup can be displayed and animated, but are unable to properly
update their underlying DisplayLists. This change processes these
children the same as other children in a ViewGroup, enabling changes
in those children to be reflected in their DisplayLists.

Issue #11551606 disappearing views don't invalidate/redraw correctly

Change-Id: I8d016ada7b73f6a5e74c2f21c979c0b6f84703b1
2014-08-04 18:56:21 +00:00
John Spurlock
254ba9c7a5 am 57d40e56: am da1c042b: am a8473a79: Doze: Follow the notification light.
* commit '57d40e5611da75463f53528877432f05ee13ec99':
  Doze: Follow the notification light.
2014-08-04 15:44:58 +00:00
John Spurlock
cb566aab57 Doze: Follow the notification light.
- Send the notification light info up to SystemUI from NoMan.
 - Doze mode will now periodically pulse the display (once)
   if the notification light is active.
 - Change "tease" terminology to "pulse", which is the singular.
   Maintain the multi-pulse on buzz-beep-blink for now as extra
   emphasis.
 - Scrim controller now always takes number of pulses as an arg,
   to support a single pulse (used for notification light, and
   eventually pickup once available).
 - Dial down the display brightness when pulsing.

Bug:15863249
Change-Id: Ifb208a27e82b66cff1d0c04e5b7f758098ea29cf
2014-08-04 11:32:18 -04:00
Christoph Studer
697642be8b am 725c3271: am 3ac1c594: am 4021914f: Merge "NoMan: Optimize profile badge retrieval" into lmp-dev
* commit '725c3271c3b4942f8806531aeff1cb42de4c4806':
  NoMan: Optimize profile badge retrieval
2014-08-04 14:51:30 +00:00
Torne (Richard Coles)
2028d66f5e am 748ec858: am 19f21500: am 5deb8d4f: Don\'t let failures to load the null WebView propagate.
* commit '748ec858a3ec6efb7d5d40c6910c2bb85091d021':
  Don't let failures to load the null WebView propagate.
2014-08-04 13:46:25 +00:00
Torne (Richard Coles)
5f3278ba1e 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
2014-08-04 14:26:16 +01:00
Christoph Studer
1c09562c0d am 9ea9b353: am 06a6416a: am 63cb39a3: Merge "NoMan: Fix speedbump when no low-prio notifs" into lmp-dev
* commit '9ea9b3532913a2944d3d5e762e11d4fa9d21933d':
  NoMan: Fix speedbump when no low-prio notifs
2014-08-04 12:27:10 +00:00
Christoph Studer
b3d6e84638 am 241b0781: am f20347e6: am 728662c8: Merge "Notif: Fix profile badge for stripped RemoteViews" into lmp-dev
* commit '241b07819200e15672ff5a11f4847c00c4a3822a':
  Notif: Fix profile badge for stripped RemoteViews
2014-08-04 12:27:00 +00:00
Christoph Studer
bcb0c5d219 Merge "NoMan: Optimize profile badge retrieval" into lmp-dev 2014-08-04 08:01:05 +00:00
Christoph Studer
7ac80e630d NoMan: Optimize profile badge retrieval
Instead of stuffing the profile badge into extras, store the
originating user and read the badge via UserManager.

Bug: 16735645
Change-Id: Ia5f9b6f113dcbc88581af5308585edcf9b92b88d
2014-08-04 16:27:54 +02:00
Christoph Studer
943aa6778f Notif: Fix profile badge for stripped RemoteViews
Stash the profile badge into the extras such that rebuild() can read
it back.

Bug: 16735645
Change-Id: I620da121615a01c27fb31ee292088701e364d223
2014-08-04 12:26:18 +02:00
Christoph Studer
ff8647b4de am 3e79dab2: am d2a28cdc: am fd266000: Notification: Only post-process legacy notifications
* commit '3e79dab28ee52eb996406cbc866e27688ed5238e':
  Notification: Only post-process legacy notifications
2014-08-03 18:34:27 +00:00
John Spurlock
904f4e3236 am 87d4e08c: am ae960b2d: am 437821bc: Merge "Battery saver: new policy changes + SystemUI tweaks." into lmp-dev
* commit '87d4e08c5c969daddc10d3c383fd813787e403dd':
  Battery saver: new policy changes + SystemUI tweaks.
2014-08-03 02:02:25 +00:00
Sandeep Siddhartha
f4169c00fd am 1a645175: am e84b47ef: am fea9117f: Merge "Stop recognition when shutting down VIS" into lmp-dev
* commit '1a645175ea24d814a340587e9447fe477441de3e':
  Stop recognition when shutting down VIS
2014-08-02 02:03:27 +00:00
Sandeep Siddhartha
73d991e258 am 118b91bf: am 01d13015: am 966134c7: Merge "Add a flag for multiple triggers with same recognition session" into lmp-dev
* commit '118b91bf8e37dfe48551be72790680690eb0a40d':
  Add a flag for multiple triggers with same recognition session
2014-08-02 01:41:38 +00:00
Dake Gu
29a0e682b5 am 04bc766a: am f7560b36: am de545505: ActivityTransitionCoordinator: Fix memory leak of ResultReceiver
* commit '04bc766a04a51c1c01b09a530494d549eef3faf1':
  ActivityTransitionCoordinator: Fix memory leak of ResultReceiver
2014-08-01 23:19:37 +00:00
Behdad Esfahbod
06289295de am af5764fe: am 7838bf82: am 1de5e88f: Merge "Add fontFeatureSettings to TextView and attrs" into lmp-dev
* commit 'af5764feb0adf4b2570272de7cda97160bbc9a82':
  Add fontFeatureSettings to TextView and attrs
2014-08-01 21:55:57 +00:00
Wei Wang
21c8d41935 am 20d4ce13: am f50b88a5: am aac04a4f: Merge "Add a default impelementation of IBluetoothGattCallback(1/2)." into lmp-dev
* commit '20d4ce1313635143e862b30aa65277e7802c7cba':
  Add a default impelementation of IBluetoothGattCallback(1/2).
2014-08-01 21:55:47 +00:00
Wei Wang
b8c6c2f56a am 06e7b060: am b89e6747: am 8508d7ff: Merge "Revert "Revert "Service data and manufacturer data can be repeated fields.""" into lmp-dev
* commit '06e7b0604d3a1f5ae66ec6c715947d7acf4da688':
  Revert "Revert "Service data and manufacturer data can be repeated fields.""
2014-08-01 21:02:02 +00:00