Commit Graph

42046 Commits

Author SHA1 Message Date
Jeff Brown
ef3ee09a1c am f831885b: am 887a54b7: am e5871d89: Allow dreams to control screen state and brightness.
* commit 'f831885ba9e3f8e3c42cf6565a9d431580809ee2':
  Allow dreams to control screen state and brightness.
2014-07-22 01:30:23 +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
301a072c3f am 3db52061: am f7b914b8: am a27cc3f4: Merge "Remove unused quick setting display preferences" into lmp-dev
* commit '3db52061967a14a2d197e8850160d5a0a6ec16dd':
  Remove unused quick setting display preferences
2014-07-22 01:17:10 +00:00
Alan Viverette
2a9b35c40f am a3b76ae1: am f0f87713: am b42d72db: Clean up view tinting APIs, tileModeX/Y attribute docs
* commit 'a3b76ae1f50b33c54c2b187ebc48d19c5eb91975':
  Clean up view tinting APIs, tileModeX/Y attribute docs
2014-07-22 01:17:00 +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
91963bf51c am 4fc62368: am ff053445: am f6feac69: API Review: Improvements to RestrictionsManager API
* commit '4fc623682a039650d86c4ccb87da66191573e2e3':
  API Review: Improvements to RestrictionsManager API
2014-07-22 00:17:18 +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
d84e59c70f am 5d5fa324: am b0cae189: am f8b67f1f: Rename setApplicationBlocked to setApplicationHidden
* commit '5d5fa324871437c3bd240ae231adae9bbea6b0ba':
  Rename setApplicationBlocked to setApplicationHidden
2014-07-21 22:37:09 +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
Alan Viverette
2db37d29cd am a65709c0: am 7094ec0f: am 748dd3c4: Merge "Always apply surface insets" into lmp-dev
* commit 'a65709c05bb825af83156f14242e05e81976fa4f':
  Always apply surface insets
2014-07-21 22:24:15 +00:00
Craig Mautner
e6628fba6a am 456e8fc5: am e62332fb: am e15321a5: Merge "Don\'t create a delegate for null callbacks." into lmp-dev
* commit '456e8fc54b588cc291befe5ebeb3cb01e1f7e7fd':
  Don't create a delegate for null callbacks.
2014-07-21 22:23:58 +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
d0da576425 am fca5a2d1: am c55c7dd7: am 47855ed4: Don\'t register PDBService if not available on device
* commit 'fca5a2d1e59a6645075c74ab32ed565d48f1c14c':
  Don't register PDBService if not available on device
2014-07-21 19:49:04 +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
Adam Powell
0b6027d25d am bf0fcd80: am 2b0d3fc7: am dd896d93: Merge "Sort ResolverActivity items based on UsageStats" into lmp-dev
* commit 'bf0fcd8047305c2d9015047d60396ff1d244898c':
  Sort ResolverActivity items based on UsageStats
2014-07-21 19:24:25 +00:00
Craig Mautner
ee4c9ffb10 am ca30ccb5: am 28d5d4df: am 52cf4df1: Merge "Rename flag and attribute per API council" into lmp-dev
* commit 'ca30ccb556f6814c5ac4352adb95c7eb22652d6b':
  Rename flag and attribute per API council
2014-07-21 19:23:51 +00:00
Yorke Lee
b38a8d5ec1 am aebd7c1c: am b9105f15: am ec0197da: Merge "Add call log entries to all currently running users" into lmp-dev
* commit 'aebd7c1c6764a8535aaf29ba334225d1ea42dff7':
  Add call log entries to all currently running users
2014-07-21 19:23:35 +00:00
Adrian Roos
1122b9945e am 9b521513: am 35e21d40: am a727db86: Update LockPatternUtils to new alarm API
* commit '9b52151396d3a735a6f966f8c24e76df7cfb25ba':
  Update LockPatternUtils to new alarm API
2014-07-21 19:21:18 +00:00
Niels Egberts
d1dc888f48 am 8451acc7: am 1eb446a5: am 7a925857: New TtsSpan builders for money, electronic and telephone.
* commit '8451acc7e2fdca720098daea1937230375d62778':
  New TtsSpan builders for money, electronic and telephone.
2014-07-21 19:21:13 +00:00
Jungshik Jang
b66de10fa4 am 353dcd70: am 13dc029e: am 7506f4c9: Merge "Add two apis for one touch record." into lmp-dev
* commit '353dcd7034fa69f8061c2079be5523f5b4102387':
  Add two apis for one touch record.
2014-07-21 19:21:06 +00:00
Jesse Hall
67877b6634 am c7777484: am c623c94c: am 65c75169: Merge "Add FEATURE_OPENGLES_EXTENSION_PACK_ES31A" into lmp-dev
* commit 'c7777484547894a7817ac4428e5890dcf817262c':
  Add FEATURE_OPENGLES_EXTENSION_PACK_ES31A
2014-07-21 19:20:28 +00:00
Sandeep Siddhartha
01f2d630d5 am e85c634d: am 7c88cbf4: am 20a8b531: Fix synchronization issues in AlwaysOnHotwordDetector
* commit 'e85c634da4f2cca7f1fc5e73f399da0fc046edec':
  Fix synchronization issues in AlwaysOnHotwordDetector
2014-07-21 19:19:24 +00:00
Dianne Hackborn
526e843499 am 65f62f23: am 39285ff1: am 1648dbb4: Merge "Fix issue #16400873: Apps that show ads as new tasks stay in recents..." into lmp-dev
* commit '65f62f236395b44a0c168f1ec72855197927a885':
  Fix issue #16400873: Apps that show ads as new tasks stay in recents...
2014-07-21 19:19:18 +00:00
Evan Charlton
a961ff298f am ae930cb8: am d5d9a4de: am 19e236f5: Merge "Rename PhoneAccountMetadata to PhoneAccount" into lmp-dev
* commit 'ae930cb836c784df45d76e9716610de91747ac24':
  Rename PhoneAccountMetadata to PhoneAccount
2014-07-21 19:19:06 +00:00
Jean-Michel Trivi
e093bc6faf am 1b357e1f: am 50c7e24f: am c741502b: Merge "Rename USAGE_NOTIFICATION_TELEPHONY_RINGTONE" into lmp-dev
* commit '1b357e1f8cef221bbbf0029ac72bf6a0a87784cb':
  Rename USAGE_NOTIFICATION_TELEPHONY_RINGTONE
2014-07-21 19:18:58 +00:00
Jean-Michel Trivi
12dacc6285 am 43d3d6d7: am 2772f208: am 9e583961: Merge "API for audio session ID generation" into lmp-dev
* commit '43d3d6d7ee276f9ab6d19eb2b7baa9ede26f2813':
  API for audio session ID generation
2014-07-21 19:18:35 +00:00
Sandeep Siddhartha
a2db38ca9f am 925afdc0: am a0c24dc6: am 29f27297: Move sound trigger calls to VoiceInteractionManagerService
* commit '925afdc01f40b43db53f49f83d752f2d4348dabc':
  Move sound trigger calls to VoiceInteractionManagerService
2014-07-21 19:18:04 +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
Evan Charlton
4373edd648 am 2254cebd: am 144036b8: am 1bb914ea: Rename PhoneAccount to PhoneAccountHandle
* commit '2254cebd48a8702210a1c3fdcc77a5bcc8151f4b':
  Rename PhoneAccount to PhoneAccountHandle
2014-07-21 18:27:35 +00:00
Adam Powell
67d3d63968 am 0d714b7e: am cc19d68a: am bf5ecd02: Merge "Don\'t apply the ActionBar style to a Toolbar as a result of setActionBar" into lmp-dev
* commit '0d714b7e0cfe11543970120a96aa78298321bdbe':
  Don't apply the ActionBar style to a Toolbar as a result of setActionBar
2014-07-21 18:26:59 +00:00
John Spurlock
8475e65a96 am ca59026d: am 1fab88a4: am 16f6e259: Merge "Add audioAttributes to Notification." into lmp-dev
* commit 'ca59026d9a45f1cae4758f53d979a05d36c200f9':
  Add audioAttributes to Notification.
2014-07-21 18:26:30 +00:00
Adam Powell
657e7b4c6e am 10dc0299: am ca355c16: am 69ebf2cf: Merge "Measure Toolbar titles last" into lmp-dev
* commit '10dc0299a40b2808b5a6489452df339e2eafe397':
  Measure Toolbar titles last
2014-07-21 18:25:25 +00:00
Adam Powell
088746bf55 am 31db0307: am 71ff46d2: am 0505a3fe: Fix Toolbar title layout in RTL mode
* commit '31db0307c95e7b1bbbd6eca37eca20b12247e23f':
  Fix Toolbar title layout in RTL mode
2014-07-21 18:25:16 +00:00
Adam Powell
898484e5ff am 52cd54f5: am 00061ce1: am 7a5bca44: Merge "Adapt ActionBar.LayoutParams to Toolbar.LayoutParams on demand" into lmp-dev
* commit '52cd54f524adb1f33883d4e79a0c310ee6115bf9':
  Adapt ActionBar.LayoutParams to Toolbar.LayoutParams on demand
2014-07-21 18:25:12 +00:00
John Spurlock
999b83af8b am 4704c806: am 3897183d: am c297b9b3: Zen mode filtering should use new usage constants.
* commit '4704c8067743f36df6fc9622090f422e6bdec2c5':
  Zen mode filtering should use new usage constants.
2014-07-21 18:24:58 +00:00
Yohei Yukawa
883baab06b am f0ec8f06: am eb5eb5c8: am f5827ba0: Merge "Add FLAG_CURSOR_ANCHOR_INFO_IMMEDIATE support in TextView" into lmp-dev
* commit 'f0ec8f065eb286e5910b3eaeb2bd0fa5e6f7fec5':
  Add FLAG_CURSOR_ANCHOR_INFO_IMMEDIATE support in TextView
2014-07-21 18:24:53 +00:00
Jeff Brown
e53b1eb276 am 5fbc6cae: am 958361e9: am 25892fe6: Merge "Allow dreams to wake up gently." into lmp-dev
* commit '5fbc6cae0c643be46de3c7c720c8e26a182514fa':
  Allow dreams to wake up gently.
2014-07-21 18:24:33 +00:00
Jeff Brown
1d95978423 am 22193893: am 610014e6: am 03fb5270: Add new Display.STATE_DOZE_SUSPEND power state.
* commit '22193893f7a79f1351caf157a8d6932e7ec3c825':
  Add new Display.STATE_DOZE_SUSPEND power state.
2014-07-21 18:24:21 +00:00
John Reck
f206ef5a58 am e5469d04: am 761e298b: am b09a6670: Return Animator instead of ValueAnimator
* commit 'e5469d0478c4319b05f569c24e21c2f0821390e4':
  Return Animator instead of ValueAnimator
2014-07-21 18:24:07 +00:00
Fabrice Di Meglio
504d44bc41 am 17b4d928: am 6b64ac48: am 3a4701fa: Revert "Fix LocalePicker background"
* commit '17b4d92850ea036577ab71e17909d7a14e7f6042':
  Revert "Fix LocalePicker background"
2014-07-21 18:24:00 +00:00
Wei Wang
399212445e am 9d2698b3: am 6e065374: am 5cb5ae18: More API modification of BLE APIs (1/2).
* commit '9d2698b3a34618852bd88a30a54f6e608b18f14d':
  More API modification of BLE APIs (1/2).
2014-07-21 18:23:56 +00:00
Chris Craik
d5a3e217bd am 0a3bcdcc: am 7339d993: am e25d7792: Merge "Tweaks to outline API" into lmp-dev
* commit '0a3bcdccb14aa7247463aa91de1cc7e3e1ea148f':
  Tweaks to outline API
2014-07-21 18:22:53 +00:00
Adam Powell
91d67f9c7d am bd90f0ce: am 186802ac: am d0cb5fd8: Merge "Add EXTRA_REPLACEMENT_EXTRAS for ACTION_CHOOSER" into lmp-dev
* commit 'bd90f0ce2d052d2e0d753e0cc7b10a1f658b496e':
  Add EXTRA_REPLACEMENT_EXTRAS for ACTION_CHOOSER
2014-07-21 18:22:48 +00:00
Sreeram Ramachandran
5854dfed88 am 35de9295: am 5e23de19: am 4000b01f: Merge "Allow VPN interfaces to be put into blocking mode." into lmp-dev
* commit '35de92955536b6f050e4657ece2028fab67d7f7e':
  Allow VPN interfaces to be put into blocking mode.
2014-07-21 18:22:28 +00:00