41881 Commits

Author SHA1 Message Date
Sandeep Siddhartha
6efdcebaa3 am 9f0b328e: am 8672899c: Merge "AlwaysOnHotwordDetector needs to reflect enrollment changes" into lmp-dev
* commit '9f0b328e04f62c584cd34c33e0b922628933a5de':
  AlwaysOnHotwordDetector needs to reflect enrollment changes
2014-07-22 17:17:46 +00:00
Neil Fuller
cc7c4f8824 am 1a429047: am fc6346d4: Merge "Rewriting android.text.format.Time without the native _tz functions"
* commit '1a4290473df0f583dff5cb2b5856465e5e27d1c7':
  Rewriting android.text.format.Time without the native _tz functions
2014-07-22 15:34:09 +00:00
Neil Fuller
1a4290473d am fc6346d4: Merge "Rewriting android.text.format.Time without the native _tz functions"
* commit 'fc6346d461c9ed9b499643db830885241cc82838':
  Rewriting android.text.format.Time without the native _tz functions
2014-07-22 15:29:08 +00:00
John Spurlock
ea025088e9 am 8028a5a8: am 752dc6e1: New NotificationListenerService listener flags api.
* commit '8028a5a8a3f17e54fe6a5d28c50683def1473b9c':
  New NotificationListenerService listener flags api.
2014-07-22 13:56:34 +00:00
Jinsuk Kim
ec25af3fb3 am 0b6aeed0: am 68bc0359: Define a constant for HDMI-CEC logical address used for internal source
* commit '0b6aeed02e25756c85beea03ce74f52b8a89377a':
  Define a constant for HDMI-CEC logical address used for internal source
2014-07-22 13:56:26 +00:00
Narayan Kamath
b0490cdefe am b5c714fc: am e242111c: Merge "Remove copy of Locale.adjustLanguageCode."
* commit 'b5c714fca79028116db0b00157dc09616efeaa95':
  Remove copy of Locale.adjustLanguageCode.
2014-07-22 13:49:36 +00:00
Dianne Hackborn
1221ddbd8e am d8b0edbf: am 8f5105c6: Merge "Add permissions associated with app ops." into lmp-dev
* commit 'd8b0edbfceff19ee0e9f53e80ee4da4dbf4327b6':
  Add permissions associated with app ops.
2014-07-22 13:38:37 +00:00
Narayan Kamath
b5c714fca7 am e242111c: Merge "Remove copy of Locale.adjustLanguageCode."
* commit 'e242111c5dc63e1cbba41d2341b493cb9c064589':
  Remove copy of Locale.adjustLanguageCode.
2014-07-22 13:30:41 +00:00
John Spurlock
1fa865f396 New NotificationListenerService listener flags api.
Give activated listeners the ability to request changes to
listener-level or host-level state.

Currently this consists of the ability to suppress notification alerts
(alerts = the haptic / audio feedback of a notification).

Bug:15888672
Change-Id: I045e3b99d1f15e3f96ebaf17d3083a97e02ecb42
2014-07-22 07:24:22 -04:00
Jinsuk Kim
29a5d26207 Define a constant for HDMI-CEC logical address used for internal source
Change-Id: Ic7d6a5378361d7ed8ae4b635312b956b063fc95a
2014-07-22 07:37:45 +00:00
Adam Powell
433e6f7c3e am c18adc99: am 6cda0efe: Merge "Allow focusable in touch mode views to ignore touchscreen focus blocks" into lmp-dev
* commit 'c18adc99c7fac24ae26c39ec308e882e05becddb':
  Allow focusable in touch mode views to ignore touchscreen focus blocks
2014-07-22 02:30:31 +00:00
Jeff Brown
aea54c15e9 am 887a54b7: am e5871d89: Allow dreams to control screen state and brightness.
* commit '887a54b793da79f7a6c012154373ede91b7bf149':
  Allow dreams to control screen state and brightness.
2014-07-22 01:26:52 +00:00
Jeff Brown
970d4132ea Allow dreams to control screen state and brightness.
Added setDozeScreenState() and setDozeScreenBrightness() methods to
DreamService.  The values specified here only take effect once
startDozing is called and can be changed while dozing.

This required some significant rework of the display power controller
but the result seems quite nice and better represents the policy
we want to apply.

Changed the test dream a little bit to make it flash the screen
every minute using the new functions.

Bug: 15903322
Change-Id: I83bcc34503f1b87727d2b2b3c0ef08507f9f0808
2014-07-22 01:18:26 +00:00
Alan Viverette
b96b0673ba am f7b914b8: am a27cc3f4: Merge "Remove unused quick setting display preferences" into lmp-dev
* commit 'f7b914b8e4ea6a4ee73e8404e8d026eb4f2d9773':
  Remove unused quick setting display preferences
2014-07-22 01:13:43 +00:00
Alan Viverette
489ca5568a am f0f87713: am b42d72db: Clean up view tinting APIs, tileModeX/Y attribute docs
* commit 'f0f87713049583df9d9ad61f1e0ad6242c968dbc':
  Clean up view tinting APIs, tileModeX/Y attribute docs
2014-07-22 01:13:35 +00:00
Alan Viverette
4f64c04850 Clean up view tinting APIs, tileModeX/Y attribute docs
BUG: 16400590
BUG: 16403307
Change-Id: Ie924815a39eb0e683d1982b08ec478ed3edbfb7b
2014-07-22 01:03:58 +00:00
Amith Yamasani
d4591986b7 am ff053445: am f6feac69: API Review: Improvements to RestrictionsManager API
* commit 'ff053445f8b81ca4e7ab57feb981dbcc34ddb569':
  API Review: Improvements to RestrictionsManager API
2014-07-22 00:12:40 +00:00
Amith Yamasani
9c44933958 API Review: Improvements to RestrictionsManager API
Use an activity intent for local approval instead of a type.
Use PeristableBundle instead of Bundle.
Pass requestId as an explicit argument in cases where it's required.

Bug: 16400892
Change-Id: Id882033f17c39aa9cd63a7eeb73bb7b51f98cf5b
2014-07-22 00:03:39 +00:00
Amith Yamasani
69c68e1a73 am b0cae189: am f8b67f1f: Rename setApplicationBlocked to setApplicationHidden
* commit 'b0cae1897384f7175ec3b9ee08fd535fff1d6e51':
  Rename setApplicationBlocked to setApplicationHidden
2014-07-21 22:32:25 +00:00
Amith Yamasani
e5bcff624f Rename setApplicationBlocked to setApplicationHidden
This corrects the expected behavior of the app state. Hidden apps
can be installed by the store to be brought out of hidden state.

Bug: 16191518
Change-Id: Id128ce971ceee99ba1dea14ba07ce03bd8d77335
2014-07-21 22:18:40 +00:00
Alan Viverette
8c1982c33a am 7094ec0f: am 748dd3c4: Merge "Always apply surface insets" into lmp-dev
* commit '7094ec0f6344823cdf1525f52bf70f2f0230d548':
  Always apply surface insets
2014-07-21 22:05:35 +00:00
Craig Mautner
198d2f4897 am e62332fb: am e15321a5: Merge "Don\'t create a delegate for null callbacks." into lmp-dev
* commit 'e62332fbcbc9acca2b8f694ff890ac0b1301283c':
  Don't create a delegate for null callbacks.
2014-07-21 21:42:22 +00:00
Andres Morales
a4d9c1e48c am c55c7dd7: am 47855ed4: Don\'t register PDBService if not available on device
* commit 'c55c7dd7aebeaa9ba08394008b5bbaf86f5214ed':
  Don't register PDBService if not available on device
2014-07-21 19:42:01 +00:00
Andres Morales
1e586e08bf Don't register PDBService if not available on device
Bug: 16455896
Change-Id: If576ce8e837ba498f10848795706efb29e76974a
2014-07-21 12:16:32 -07:00
Adam Powell
bf12f10354 am 2b0d3fc7: am dd896d93: Merge "Sort ResolverActivity items based on UsageStats" into lmp-dev
* commit '2b0d3fc764bf9544dd1a2bc77dd31661c07b8328':
  Sort ResolverActivity items based on UsageStats
2014-07-21 18:17:53 +00:00
Craig Mautner
0eac9f42d4 am 28d5d4df: am 52cf4df1: Merge "Rename flag and attribute per API council" into lmp-dev
* commit '28d5d4df0db89ae40ebd83c9973b7583522e5f1c':
  Rename flag and attribute per API council
2014-07-21 17:36:04 +00:00
Yorke Lee
488d3f5f4b am b9105f15: am ec0197da: Merge "Add call log entries to all currently running users" into lmp-dev
* commit 'b9105f15aa914fcbc10cf414edf2a79ab23c403c':
  Add call log entries to all currently running users
2014-07-21 17:05:27 +00:00
Alan Viverette
340c98cae8 Merge "Always apply surface insets" into lmp-dev 2014-07-21 15:42:19 +00:00
Alan Viverette
ac89416c77 Always apply surface insets
Change-Id: I9d8ad0c7fcf7a1016e01c2332f45614da5d2cf0c
2014-07-21 12:10:30 -07:00
Craig Mautner
2cfeb1ac39 Merge "Don't create a delegate for null callbacks." into lmp-dev 2014-07-21 15:42:19 +00:00
Craig Mautner
3d0c57a1d3 Don't create a delegate for null callbacks.
ActivityView does not create callbacks for the VirtualDisplay. This
leads to setting Looper.myLooper() from a Binder thread which
leads to NPE when trying to dereference its message queue.

Fixes bug 16386002.

Change-Id: I12760a22075ed4770f3fe960763e0135fe095cfe
2014-07-21 14:33:47 -07:00
Adam Powell
33a234b3b0 Merge "Sort ResolverActivity items based on UsageStats" into lmp-dev 2014-07-21 15:42:19 +00:00
Craig Mautner
1716baa6d3 Merge "Rename flag and attribute per API council" into lmp-dev 2014-07-21 15:42:19 +00:00
Craig Mautner
7f72f53704 Rename flag and attribute per API council
ActivityInfo.DO_NOT_PERSIST => PERSIST_NEVER.
android:persistableMode="doNotPersist" => "persistNever".

Fixes bug 16400594.

Change-Id: I94d25f7d2e3dc453b1251c89bce8c210a65dc331
2014-07-21 10:07:12 -07:00
Adrian Roos
3f5d82bb8d am 35e21d40: am a727db86: Update LockPatternUtils to new alarm API
* commit '35e21d40ee1f219d9e44654ffdadf96bf85f69c7':
  Update LockPatternUtils to new alarm API
2014-07-21 12:40:23 +00:00
Niels Egberts
bf471288c1 am 1eb446a5: am 7a925857: New TtsSpan builders for money, electronic and telephone.
* commit '1eb446a5e0636d3269a667007c3bb64596263d56':
  New TtsSpan builders for money, electronic and telephone.
2014-07-21 12:40:19 +00:00
Jungshik Jang
e2879e5977 am 13dc029e: am 7506f4c9: Merge "Add two apis for one touch record." into lmp-dev
* commit '13dc029e32c3a8fbe1e87dfa0387ad303b0e83ba':
  Add two apis for one touch record.
2014-07-21 12:40:15 +00:00
Jesse Hall
2785e352de am c623c94c: am 65c75169: Merge "Add FEATURE_OPENGLES_EXTENSION_PACK_ES31A" into lmp-dev
* commit 'c623c94c0f4c823f4f33a2ce37b706277ce621bc':
  Add FEATURE_OPENGLES_EXTENSION_PACK_ES31A
2014-07-21 12:39:45 +00:00
Adrian Roos
edad7b24c1 Update LockPatternUtils to new alarm API
Change-Id: Idc6c2865b86e467e1e254452326f327f145177b0
2014-07-21 12:07:52 +00:00
Niels Egberts
1d44e0ccec New TtsSpan builders for money, electronic and telephone.
Change-Id: Idb6a66725395dbd665e17c00678901d54b4b1753
2014-07-21 11:17:49 +01:00
Adam Powell
09a65601b2 Sort ResolverActivity items based on UsageStats
Sort targets by the total amount of time the user has spent with their
containing package in the foreground.

Bug 15694906

Change-Id: I63c956424f78eb22911517674dfefd96901d19f8
2014-07-20 17:12:13 -07:00
Sandeep Siddhartha
c9892da1cc am 7c88cbf4: am 20a8b531: Fix synchronization issues in AlwaysOnHotwordDetector
* commit '7c88cbf4ff2403dc99f05f91245285eb24198faa':
  Fix synchronization issues in AlwaysOnHotwordDetector
2014-07-21 00:10:08 +00:00
Sandeep Siddhartha
110f569b47 Fix synchronization issues in AlwaysOnHotwordDetector
- Remove unnecessary recognition status from AlwaysOnHotwordDetector

- Remove unnecessary recognition started callback from IRecognitionStatusCallback

- Fix a bug around the fact that we weren't picking up enrollment at runtime because
we were storing the availability at instantiation time.

- Handle 0-length arrays in SoundTrigger classes while parceling/unparceling

- Fix issue in SoundTrigger helper where we were not comparing binders for start/stop calls

- Unload the previous model when starting a new recognition

- Add more debug logging

Change-Id: Icc56d7f3dd1ffa49a8cfeea49080e3ab4d342c32
2014-07-20 16:53:09 -07:00
Dianne Hackborn
767912d738 am 39285ff1: am 1648dbb4: Merge "Fix issue #16400873: Apps that show ads as new tasks stay in recents..." into lmp-dev
* commit '39285ff113de9cbeb0304942f318f0f48ee697f3':
  Fix issue #16400873: Apps that show ads as new tasks stay in recents...
2014-07-20 23:06:56 +00:00
Evan Charlton
919378159c am d5d9a4de: am 19e236f5: Merge "Rename PhoneAccountMetadata to PhoneAccount" into lmp-dev
* commit 'd5d9a4de987a8bc4ef9d55e026d44c9f478f794c':
  Rename PhoneAccountMetadata to PhoneAccount
2014-07-20 22:46:45 +00:00
Jean-Michel Trivi
6e0683f4dd am 50c7e24f: am c741502b: Merge "Rename USAGE_NOTIFICATION_TELEPHONY_RINGTONE" into lmp-dev
* commit '50c7e24f3a10fa4bc15f7a8b2f4bab2ae91459e0':
  Rename USAGE_NOTIFICATION_TELEPHONY_RINGTONE
2014-07-20 22:38:01 +00:00
Jean-Michel Trivi
3ee2e1f8ad am 2772f208: am 9e583961: Merge "API for audio session ID generation" into lmp-dev
* commit '2772f208390df41843d9d1fcf6126c885b907a15':
  API for audio session ID generation
2014-07-20 20:28:59 +00:00
Sandeep Siddhartha
53b5865e07 am a0c24dc6: am 29f27297: Move sound trigger calls to VoiceInteractionManagerService
* commit 'a0c24dc62d5835159e78514afe66dce6e5f45116':
  Move sound trigger calls to VoiceInteractionManagerService
2014-07-20 18:52:52 +00:00
Sandeep Siddhartha
055897208d Move sound trigger calls to VoiceInteractionManagerService
- This ensures that any data being loaded on the DSP comes from the framework

Change-Id: Ie15f0994850ba8f298ca07c49fe0b89e066d9e2b
2014-07-20 11:22:55 -07:00
Evan Charlton
885724c10e am 144036b8: am 1bb914ea: Rename PhoneAccount to PhoneAccountHandle
* commit '144036b8e0dc4314442bcdd5172739797866fce7':
  Rename PhoneAccount to PhoneAccountHandle
2014-07-20 18:09:33 +00:00