|
46 | 46 | * The following wake lock levels are defined, with varying effects on system power. |
47 | 47 | * <i>These levels are mutually exclusive - you may only specify one of them.</i> |
48 | 48 | * |
49 | | - * <table border="2" width="85%" align="center" frame="hsides" rules="rows"> |
50 | | - * <thead> |
| 49 | + * <table> |
51 | 50 | * <tr><th>Flag Value</th> |
52 | 51 | * <th>CPU</th> <th>Screen</th> <th>Keyboard</th></tr> |
53 | | - * </thead> |
54 | 52 | * |
55 | | - * <tbody> |
56 | | - * <tr><th>{@link #PARTIAL_WAKE_LOCK}</th> |
| 53 | + * <tr><td>{@link #PARTIAL_WAKE_LOCK}</td> |
57 | 54 | * <td>On*</td> <td>Off</td> <td>Off</td> |
58 | 55 | * </tr> |
59 | 56 | * |
60 | | - * <tr><th>{@link #SCREEN_DIM_WAKE_LOCK}</th> |
| 57 | + * <tr><td>{@link #SCREEN_DIM_WAKE_LOCK}</td> |
61 | 58 | * <td>On</td> <td>Dim</td> <td>Off</td> |
62 | 59 | * </tr> |
63 | 60 | * |
64 | | - * <tr><th>{@link #SCREEN_BRIGHT_WAKE_LOCK}</th> |
| 61 | + * <tr><td>{@link #SCREEN_BRIGHT_WAKE_LOCK}</td> |
65 | 62 | * <td>On</td> <td>Bright</td> <td>Off</td> |
66 | 63 | * </tr> |
67 | 64 | * |
68 | | - * <tr><th>{@link #FULL_WAKE_LOCK}</th> |
| 65 | + * <tr><td>{@link #FULL_WAKE_LOCK}</td> |
69 | 66 | * <td>On</td> <td>Bright</td> <td>Bright</td> |
70 | 67 | * </tr> |
71 | | - * </tbody> |
72 | 68 | * </table> |
73 | 69 | * </p><p> |
74 | 70 | * *<i>If you hold a partial wake lock, the CPU will continue to run, regardless of any |
|
77 | 73 | * using the power button.</i> |
78 | 74 | * </p><p> |
79 | 75 | * 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> |
81 | 77 | * |
82 | | - * <table border="2" width="85%" align="center" frame="hsides" rules="rows"> |
83 | | - * <thead> |
| 78 | + * <table> |
84 | 79 | * <tr><th>Flag Value</th> <th>Description</th></tr> |
85 | | - * </thead> |
86 | 80 | * |
87 | | - * <tbody> |
88 | | - * <tr><th>{@link #ACQUIRE_CAUSES_WAKEUP}</th> |
| 81 | + * <tr><td>{@link #ACQUIRE_CAUSES_WAKEUP}</td> |
89 | 82 | * <td>Normal wake locks don't actually turn on the illumination. Instead, they cause |
90 | 83 | * the illumination to remain on once it turns on (e.g. from user activity). This flag |
91 | 84 | * will force the screen and/or keyboard to turn on immediately, when the WakeLock is |
92 | 85 | * acquired. A typical use would be for notifications which are important for the user to |
93 | 86 | * see immediately.</td> |
94 | 87 | * </tr> |
95 | 88 | * |
96 | | - * <tr><th>{@link #ON_AFTER_RELEASE}</th> |
| 89 | + * <tr><td>{@link #ON_AFTER_RELEASE}</td> |
97 | 90 | * <td>If this flag is set, the user activity timer will be reset when the WakeLock is |
98 | 91 | * released, causing the illumination to remain on a bit longer. This can be used to |
99 | 92 | * reduce flicker if you are cycling between wake lock conditions.</td> |
100 | 93 | * </tr> |
101 | | - * </tbody> |
102 | 94 | * </table> |
103 | | - * </p><p> |
| 95 | + * <p> |
104 | 96 | * Any application using a WakeLock must request the {@code android.permission.WAKE_LOCK} |
105 | 97 | * permission in an {@code <uses-permission>} element of the application's manifest. |
106 | 98 | * </p> |
|
0 commit comments