Commit d5c582c
John Spurlock
Additions to Dream public api.
- lightsOut() -> setLightsOut(boolean)
(deprecated lightsOut, will remove once all baked-in dreams are updated)
- Added ability to keep the screen bright (default = false).
- Lights out is now true by default.
- Consistent setters(setXxx) + getters(isXxx) for
interactive, lightsOut, fullscreen, and screenBright dream attributes.
Can set attributes at any time (even before window is created).
- Fleshed out javadocs for public api.
- Reordered things a bit.
- Added example of manifest dream declaration ready for copypasta.
- Removed unused action constant, added category constant.
Bug:7172816
Bug:7111868
Change-Id: I721db7a1a5e5ad047a3723b4d5141ef53b0970af1 parent 7566abd commit d5c582c
File tree
2 files changed
+230
-66
lines changed- api
- core/java/android/service/dreams
2 files changed
+230
-66
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20270 | 20270 | | |
20271 | 20271 | | |
20272 | 20272 | | |
| 20273 | + | |
20273 | 20274 | | |
20274 | | - | |
| 20275 | + | |
| 20276 | + | |
| 20277 | + | |
20275 | 20278 | | |
20276 | 20279 | | |
20277 | 20280 | | |
| |||
20292 | 20295 | | |
20293 | 20296 | | |
20294 | 20297 | | |
| 20298 | + | |
20295 | 20299 | | |
| 20300 | + | |
| 20301 | + | |
20296 | 20302 | | |
20297 | 20303 | | |
| 20304 | + | |
20298 | 20305 | | |
20299 | | - | |
20300 | 20306 | | |
20301 | 20307 | | |
20302 | 20308 | | |
| |||
0 commit comments