Commit Graph

41865 Commits

Author SHA1 Message Date
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
Adam Powell
facd9fa786 am cc19d68a: am bf5ecd02: Merge "Don\'t apply the ActionBar style to a Toolbar as a result of setActionBar" into lmp-dev
* commit 'cc19d68a90486ace893ad381911e9f675f1cf3d0':
  Don't apply the ActionBar style to a Toolbar as a result of setActionBar
2014-07-20 18:07:54 +00:00
John Spurlock
a7aaa227ef am 1fab88a4: am 16f6e259: Merge "Add audioAttributes to Notification." into lmp-dev
* commit '1fab88a4d5e79b516a382474d777a212c5989f68':
  Add audioAttributes to Notification.
2014-07-20 18:07:23 +00:00
Adam Powell
c29868765c am ca355c16: am 69ebf2cf: Merge "Measure Toolbar titles last" into lmp-dev
* commit 'ca355c16f188d847b55cd0efa25c86db44dcc36c':
  Measure Toolbar titles last
2014-07-20 18:04:38 +00:00
Adam Powell
79412ffe60 am 71ff46d2: am 0505a3fe: Fix Toolbar title layout in RTL mode
* commit '71ff46d2f67fb90d6b959adb0f162b889a57be17':
  Fix Toolbar title layout in RTL mode
2014-07-20 18:04:30 +00:00
Adam Powell
c12148d084 am 00061ce1: am 7a5bca44: Merge "Adapt ActionBar.LayoutParams to Toolbar.LayoutParams on demand" into lmp-dev
* commit '00061ce1363d6ffa8e94f15048db5a61bb5088cf':
  Adapt ActionBar.LayoutParams to Toolbar.LayoutParams on demand
2014-07-20 18:04:23 +00:00
John Spurlock
eaeac08489 am 3897183d: am c297b9b3: Zen mode filtering should use new usage constants.
* commit '3897183d7bd884c4a01b22dccce75df48e93ab4a':
  Zen mode filtering should use new usage constants.
2014-07-20 18:04:06 +00:00
Yohei Yukawa
6437d7559a am eb5eb5c8: am f5827ba0: Merge "Add FLAG_CURSOR_ANCHOR_INFO_IMMEDIATE support in TextView" into lmp-dev
* commit 'eb5eb5c81d25e20cfdbf77494913576dcb974e13':
  Add FLAG_CURSOR_ANCHOR_INFO_IMMEDIATE support in TextView
2014-07-20 18:03:59 +00:00
Jeff Brown
3ab509a29b am 958361e9: am 25892fe6: Merge "Allow dreams to wake up gently." into lmp-dev
* commit '958361e92371fd7d3b40fbbd91077ec4d7abe374':
  Allow dreams to wake up gently.
2014-07-20 18:03:35 +00:00
Jeff Brown
253aa5d458 am 610014e6: am 03fb5270: Add new Display.STATE_DOZE_SUSPEND power state.
* commit '610014e6501d3543f33aedcc7f302288afcc4df4':
  Add new Display.STATE_DOZE_SUSPEND power state.
2014-07-20 18:03:26 +00:00
John Reck
4369443e44 am 761e298b: am b09a6670: Return Animator instead of ValueAnimator
* commit '761e298b11b31233067daf215ab788bb7042dc33':
  Return Animator instead of ValueAnimator
2014-07-20 18:02:59 +00:00