144128 Commits

Author SHA1 Message Date
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
244342e524 am e5871d89: Allow dreams to control screen state and brightness.
* commit 'e5871d89289fed58c2094cddb9f6361a500166d9':
  Allow dreams to control screen state and brightness.
2014-07-22 01:21:28 +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
Deepanshu Gupta
3889d51a2b am 79bf9ec2: am 23cee05b: am aa474ff0: (-s ours) am 9a61270d: Merge "LayoutLib: Fix EditText rendering [DO NOT MERGE]" into klp-modular-dev
* commit '79bf9ec2a424c71d04e711c8009d8fddf3647aa6':
  LayoutLib: Fix EditText rendering [DO NOT MERGE]
2014-07-22 01:17:54 +00:00
Deepanshu Gupta
4f9af53c9b am 521a2b69: am bad30ff7: am b51750fd: (-s ours) am 0ca0853c: Merge "Update layoutlib create README [DO NOT MERGE]" into klp-modular-dev
* commit '521a2b692f472fb93c1721e99e03947091fc97b4':
  Update layoutlib create README [DO NOT MERGE]
2014-07-22 01:17:51 +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
Dirk Dougherty
80d28e1117 am 57495b13: am eeacd421: am b8109996: am d1929c50: am f3659284: Doc change: add reminder for developers on using ad id.
* commit '57495b1307c074e87f7262a4f909f0f06959f0bd':
  Doc change: add reminder for developers on using ad id.
2014-07-22 01:13:39 +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
Deepanshu Gupta
a9252a159c am 23cee05b: am aa474ff0: (-s ours) am 9a61270d: Merge "LayoutLib: Fix EditText rendering [DO NOT MERGE]" into klp-modular-dev
* commit '23cee05b6eedd41d6fdd97ac5fa6016c6f6478ce':
  LayoutLib: Fix EditText rendering [DO NOT MERGE]
2014-07-22 01:13:07 +00:00
Deepanshu Gupta
4ad8eb68ab am bad30ff7: am b51750fd: (-s ours) am 0ca0853c: Merge "Update layoutlib create README [DO NOT MERGE]" into klp-modular-dev
* commit 'bad30ff7c09b8f65657ae282482a2a6407c2882c':
  Update layoutlib create README [DO NOT MERGE]
2014-07-22 01:13:04 +00:00
Deepanshu Gupta
f89bff9ed8 am aa474ff0: (-s ours) am 9a61270d: Merge "LayoutLib: Fix EditText rendering [DO NOT MERGE]" into klp-modular-dev
* commit 'aa474ff0f3bf68110dc60f9472c062ff1a4a44ae':
  LayoutLib: Fix EditText rendering [DO NOT MERGE]
2014-07-22 01:09:02 +00:00
Alan Viverette
b38ac7e1fa am a27cc3f4: Merge "Remove unused quick setting display preferences" into lmp-dev
* commit 'a27cc3f404d2c88acb64fab84815a7785a5e902d':
  Remove unused quick setting display preferences
2014-07-22 01:08:58 +00:00
Dirk Dougherty
0604f9ef16 am eeacd421: am b8109996: am d1929c50: am f3659284: Doc change: add reminder for developers on using ad id.
* commit 'eeacd421327747cecdf17d117e75a8d37ed97707':
  Doc change: add reminder for developers on using ad id.
2014-07-22 01:08:55 +00:00
Deepanshu Gupta
52948ffdf2 am b51750fd: (-s ours) am 0ca0853c: Merge "Update layoutlib create README [DO NOT MERGE]" into klp-modular-dev
* commit 'b51750fda671c8ec7a7ed9037aad1a65e49539ec':
  Update layoutlib create README [DO NOT MERGE]
2014-07-22 01:08:55 +00:00
Alan Viverette
9fd200b073 am b42d72db: Clean up view tinting APIs, tileModeX/Y attribute docs
* commit 'b42d72dbd34fcf8c5ee40cce9823ff9df6b76f78':
  Clean up view tinting APIs, tileModeX/Y attribute docs
2014-07-22 01:08:51 +00:00
Dirk Dougherty
4ebdd2f075 am b8109996: am d1929c50: am f3659284: Doc change: add reminder for developers on using ad id.
* commit 'b81099963772f886e68129c33f32fefb85ac673e':
  Doc change: add reminder for developers on using ad id.
2014-07-22 01:04:30 +00:00
Deepanshu Gupta
aa474ff0f3 am 9a61270d: Merge "LayoutLib: Fix EditText rendering [DO NOT MERGE]" into klp-modular-dev
* commit '9a61270d67f654f3558b29f6b3e78c0b2fbe0178':
  LayoutLib: Fix EditText rendering [DO NOT MERGE]
2014-07-22 01:04:00 +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
Deepanshu Gupta
b51750fda6 am 0ca0853c: Merge "Update layoutlib create README [DO NOT MERGE]" into klp-modular-dev
* commit '0ca0853c52a81b317996b2997373f5882b369c80':
  Update layoutlib create README [DO NOT MERGE]
2014-07-22 01:03:55 +00:00
Dirk Dougherty
b810999637 am d1929c50: am f3659284: Doc change: add reminder for developers on using ad id.
* commit 'd1929c505a66afc13d661beac9868f2886cbd1e8':
  Doc change: add reminder for developers on using ad id.
2014-07-22 00:58:13 +00:00
Dirk Dougherty
d1929c505a am f3659284: Doc change: add reminder for developers on using ad id.
* commit 'f365928406ef0a80d3aecc2d025642f9efb80a05':
  Doc change: add reminder for developers on using ad id.
2014-07-22 00:54:01 +00:00
Jean-Michel Trivi
a7370453f8 am d4906519: am 444ad3fb: Merge "Unhide SoundPool builder with AudioAttributes" into lmp-dev
* commit 'd49065191a4612d097157f2392b9cb7a8dceea15':
  Unhide SoundPool builder with AudioAttributes
2014-07-22 00:41:57 +00:00
Jean-Michel Trivi
6872f50f39 am 444ad3fb: Merge "Unhide SoundPool builder with AudioAttributes" into lmp-dev
* commit '444ad3fb4d0d0327528b217ec97b5e9c73b22d65':
  Unhide SoundPool builder with AudioAttributes
2014-07-22 00:36:33 +00:00
Alan Viverette
132ba19632 am 2dcec46b: am d412ea9e: Fix switch animation end state colors
* commit '2dcec46bf35f37b15e18e89e6a8918c4872b5dd6':
  Fix switch animation end state colors
2014-07-22 00:27:01 +00:00
Alan Viverette
ebac7e72a6 am d412ea9e: Fix switch animation end state colors
* commit 'd412ea9e033d500a0cc66511be54fbe0abba7696':
  Fix switch animation end state colors
2014-07-22 00:21:46 +00:00
Alan Viverette
7d6866086a Fix switch animation end state colors
BUG: 16418389
Change-Id: I678eb25c38a1303141dc89cfe1cccbd1bd8bcdc1
2014-07-22 00:17:17 +00:00
Amith Yamasani
434dc85f00 am f0b2364b: am ee5c41f5: Merge "Fix a security exception when checking cross-profile caller-id cap." into lmp-dev
* commit 'f0b2364be972cebd83825ff514f11fe84b04afce':
  Fix a security exception when checking cross-profile caller-id cap.
2014-07-22 00:16:56 +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
5f7d75ca46 am ee5c41f5: Merge "Fix a security exception when checking cross-profile caller-id cap." into lmp-dev
* commit 'ee5c41f5360226c2579055a787da875e1a5ada90':
  Fix a security exception when checking cross-profile caller-id cap.
2014-07-22 00:12:39 +00:00
Amith Yamasani
85aa2ba71d am f6feac69: API Review: Improvements to RestrictionsManager API
* commit 'f6feac69abe5427e0ee89f2721a4d825e8a84fb0':
  API Review: Improvements to RestrictionsManager API
2014-07-22 00:08:25 +00:00
Jean-Michel Trivi
767a96f85a am 7f12d010: am 25f47ef4: Merge "New MediaFormat keys for AAC" into lmp-dev
* commit '7f12d01093248e67879c96bf333e85128933c6d6':
  New MediaFormat keys for AAC
2014-07-22 00:06:25 +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
Jean-Michel Trivi
1c418f5af4 am 25f47ef4: Merge "New MediaFormat keys for AAC" into lmp-dev
* commit '25f47ef4b11116fae9ca1cd3edc328435e56a194':
  New MediaFormat keys for AAC
2014-07-22 00:02:17 +00:00
Jinsuk Kim
30c6877873 am 6f5652c9: am aec45c28: Revert "Send TV app the intent for the new active source"
* commit '6f5652c9841346df3fa9eaa530590688c1b22a15':
  Revert "Send TV app the intent for the new active source"
2014-07-22 00:00:11 +00:00
Jinsuk Kim
5cbf14aab9 am aec45c28: Revert "Send TV app the intent for the new active source"
* commit 'aec45c28846652185d47dd74abe86fc2f0b8c546':
  Revert "Send TV app the intent for the new active source"
2014-07-21 23:55:50 +00:00
Jinsuk Kim
469085e4fe Revert "Send TV app the intent for the new active source"
This reverts commit 9808af71a190844cd5eb493d87870238a31fa408.

Change-Id: I0e019534c07b230173230d064c6d8bc389fafcbc
2014-07-21 23:52:39 +00:00
Jinsuk Kim
815d89000a am 8ea9bdbf: am 9808af71: Send TV app the intent for the new active source
* commit '8ea9bdbf827264315a46cdb11fb718db7a10f655':
  Send TV app the intent for the new active source
2014-07-21 23:28:59 +00:00
Jinsuk Kim
16cfe2c478 am 9808af71: Send TV app the intent for the new active source
* commit '9808af71a190844cd5eb493d87870238a31fa408':
  Send TV app the intent for the new active source
2014-07-21 23:22:44 +00:00
Adam Lesinski
0a767d1e67 am dfefa5e2: am 3702b836: Merge "Change UsageStatsService to check uses-permission" into lmp-dev
* commit 'dfefa5e24776902533cfc9bc061cf0bf493ff449':
  Change UsageStatsService to check uses-permission
2014-07-21 23:21:05 +00:00
Yorke Lee
b96d464f01 am 5dcfed0b: am 82c0b5df: Expose call settings as public API (1/3)
* commit '5dcfed0b8df224068b8fff332d9399f7711283ba':
  Expose call settings as public API (1/3)
2014-07-21 23:21:01 +00:00
Jinsuk Kim
0f68d62a4b Send TV app the intent for the new active source
When signalled by an external CEC device about to become a new active
source, TIF(TvInputHardwareManager) sends an intent for TV app to tune to
the input mapped to the device.

Change-Id: I29b28a4365d1454a8bbe947ddb5df4371960c71a
2014-07-21 23:18:00 +00:00
Adam Lesinski
b06131fd9c am 3702b836: Merge "Change UsageStatsService to check uses-permission" into lmp-dev
* commit '3702b836126fa77492faaa42bbd0ea1f4c5143f8':
  Change UsageStatsService to check uses-permission
2014-07-21 23:17:47 +00:00
Yorke Lee
b8b64de69d am 82c0b5df: Expose call settings as public API (1/3)
* commit '82c0b5df73ead3f84f1a59818f4b5bab47ab9957':
  Expose call settings as public API (1/3)
2014-07-21 23:17:41 +00:00
Yorke Lee
3818a89220 Expose call settings as public API (1/3)
Other settings activities like wifi settings, mobile network settings
etc are all accessible by third party apps via public intents, so
make CallFeaturesSettings similarly available.
Bug: 16298644
Change-Id: Ia615797e20f396a38fe382f3a2d54ec41c5249ef
2014-07-21 16:10:08 -07:00
Ying Wang
1fbf05a670 am 7c5fe1db: am 1e976fd5: Build framework.jar with multidex support.
* commit '7c5fe1dbd3c50eaec11e7f799f5e46df18dd31ee':
  Build framework.jar with multidex support.
2014-07-21 22:36:41 +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
Ying Wang
300a7c5623 am 1e976fd5: Build framework.jar with multidex support.
* commit '1e976fd50f83a43a1df49a6670f813a57d1a625a':
  Build framework.jar with multidex support.
2014-07-21 22:29:48 +00:00
Amith Yamasani
eb7fd38389 am f8b67f1f: Rename setApplicationBlocked to setApplicationHidden
* commit 'f8b67f1f4e34664854421d92efd0955d405c7a71':
  Rename setApplicationBlocked to setApplicationHidden
2014-07-21 22:25:15 +00:00
Ying Wang
88e199045b Build framework.jar with multidex support.
We don't need the framework/framework2 split now with the multidex
support.

Change-Id: I30ee5c7e24df87b2c54e854f17fbf0b5adef4c60
2014-07-21 15:23:14 -07: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