Skip to content

Commit 7b9a288

Browse files
committed
Doc change: fix some table formatting.
Change-Id: I1533be695347697f5afd5c8d2719a0ff0b07abaa
1 parent c99a110 commit 7b9a288

File tree

1 file changed

+10
-18
lines changed

1 file changed

+10
-18
lines changed

core/java/android/os/PowerManager.java

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,25 @@
4646
* The following wake lock levels are defined, with varying effects on system power.
4747
* <i>These levels are mutually exclusive - you may only specify one of them.</i>
4848
*
49-
* <table border="2" width="85%" align="center" frame="hsides" rules="rows">
50-
* <thead>
49+
* <table>
5150
* <tr><th>Flag Value</th>
5251
* <th>CPU</th> <th>Screen</th> <th>Keyboard</th></tr>
53-
* </thead>
5452
*
55-
* <tbody>
56-
* <tr><th>{@link #PARTIAL_WAKE_LOCK}</th>
53+
* <tr><td>{@link #PARTIAL_WAKE_LOCK}</td>
5754
* <td>On*</td> <td>Off</td> <td>Off</td>
5855
* </tr>
5956
*
60-
* <tr><th>{@link #SCREEN_DIM_WAKE_LOCK}</th>
57+
* <tr><td>{@link #SCREEN_DIM_WAKE_LOCK}</td>
6158
* <td>On</td> <td>Dim</td> <td>Off</td>
6259
* </tr>
6360
*
64-
* <tr><th>{@link #SCREEN_BRIGHT_WAKE_LOCK}</th>
61+
* <tr><td>{@link #SCREEN_BRIGHT_WAKE_LOCK}</td>
6562
* <td>On</td> <td>Bright</td> <td>Off</td>
6663
* </tr>
6764
*
68-
* <tr><th>{@link #FULL_WAKE_LOCK}</th>
65+
* <tr><td>{@link #FULL_WAKE_LOCK}</td>
6966
* <td>On</td> <td>Bright</td> <td>Bright</td>
7067
* </tr>
71-
* </tbody>
7268
* </table>
7369
* </p><p>
7470
* *<i>If you hold a partial wake lock, the CPU will continue to run, regardless of any
@@ -77,30 +73,26 @@
7773
* using the power button.</i>
7874
* </p><p>
7975
* In addition, you can add two more flags, which affect behavior of the screen only.
80-
* <i>These flags have no effect when combined with a {@link #PARTIAL_WAKE_LOCK}.</i>
76+
* <i>These flags have no effect when combined with a {@link #PARTIAL_WAKE_LOCK}.</i></p>
8177
*
82-
* <table border="2" width="85%" align="center" frame="hsides" rules="rows">
83-
* <thead>
78+
* <table>
8479
* <tr><th>Flag Value</th> <th>Description</th></tr>
85-
* </thead>
8680
*
87-
* <tbody>
88-
* <tr><th>{@link #ACQUIRE_CAUSES_WAKEUP}</th>
81+
* <tr><td>{@link #ACQUIRE_CAUSES_WAKEUP}</td>
8982
* <td>Normal wake locks don't actually turn on the illumination. Instead, they cause
9083
* the illumination to remain on once it turns on (e.g. from user activity). This flag
9184
* will force the screen and/or keyboard to turn on immediately, when the WakeLock is
9285
* acquired. A typical use would be for notifications which are important for the user to
9386
* see immediately.</td>
9487
* </tr>
9588
*
96-
* <tr><th>{@link #ON_AFTER_RELEASE}</th>
89+
* <tr><td>{@link #ON_AFTER_RELEASE}</td>
9790
* <td>If this flag is set, the user activity timer will be reset when the WakeLock is
9891
* released, causing the illumination to remain on a bit longer. This can be used to
9992
* reduce flicker if you are cycling between wake lock conditions.</td>
10093
* </tr>
101-
* </tbody>
10294
* </table>
103-
* </p><p>
95+
* <p>
10496
* Any application using a WakeLock must request the {@code android.permission.WAKE_LOCK}
10597
* permission in an {@code &lt;uses-permission&gt;} element of the application's manifest.
10698
* </p>

0 commit comments

Comments
 (0)