Alastor Wu
6c3ba5f12b
Bug 1373888 - part7 : modify platform wakelocks. r=cpearce,snorp,spohl
...
* OSX
Make the lock of the type kIOPMAssertionTypeNoDisplaySleep and kIOPMAssertionTypeNoIdleSleep
as a singleton. Won't need to require an extra lock.
* Windows
Add |mRequireForDisplay| to ensure the "audio-playing" won't overwrite the previous
display requirement.
* Android
Add "audio-playing" and "video-playing", and make sure the audio-lock won't be cancel
when receiving "WakeLockDelegate.STATE_LOCKED_BACKGROUND".
MozReview-Commit-ID: 97oNX7H2qij
2017-08-29 15:28:23 +08:00
..
2017-08-18 10:36:16 +08:00
2017-08-04 14:40:52 +10:00
2017-07-06 17:45:34 -07:00
2017-07-06 17:45:34 -07:00
2017-07-06 17:45:34 -07:00
2017-01-12 17:29:42 -05:00
2017-08-25 10:39:30 -05:00
2016-12-16 11:56:59 -05:00
2016-12-16 16:00:43 +08:00
2017-07-31 14:23:50 +10:00
2017-06-20 19:19:05 +10:00
2016-11-29 16:43:49 +08:00
2017-07-06 17:45:34 -07:00
2017-07-06 17:45:34 -07:00
2017-07-06 14:06:09 +08:00
2017-07-06 14:06:09 +08:00
2017-02-10 12:06:23 +09:00
2016-12-16 16:00:43 +08:00
2017-07-08 03:08:07 +09:00
2017-07-08 03:08:07 +09:00
2017-06-26 14:19:58 -07:00
2017-08-09 14:28:16 +08:00
2017-08-29 15:28:23 +08:00
2017-03-15 15:55:50 +00:00
2017-06-30 19:05:41 -07:00
2017-08-24 12:34:09 -05:00
2017-08-09 09:46:51 -07:00
2017-06-26 14:19:58 -07:00
2017-08-21 20:01:27 +10:00
2017-06-12 12:12:30 +09:00
2017-08-08 16:07:55 +10:00
2017-07-13 13:07:18 +08:00
2017-06-13 11:00:10 -04:00
2017-02-17 11:29:42 +08:00
2017-08-06 13:15:31 +09:00
2017-08-06 13:15:31 +09:00
2017-06-30 19:05:41 -07:00
2016-12-16 16:00:43 +08:00
2017-07-27 09:37:10 +01:00
2017-08-06 15:41:08 -07:00
2016-12-16 16:00:43 +08:00
2017-02-17 11:29:42 +08:00
2016-12-23 18:09:44 -05:00
2017-07-17 13:55:28 -07:00
2017-07-17 13:55:28 -07:00
2017-07-11 14:01:00 -07:00
2017-06-08 11:08:49 +08:00
2017-07-07 10:15:32 -07:00
2017-08-18 09:47:36 +09:00
2017-08-18 09:47:36 +09:00
2017-08-09 09:46:51 -07:00
2017-08-25 10:39:30 -05:00
2017-07-06 17:45:34 -07:00
2017-02-14 14:01:59 -08:00
2017-04-01 00:42:35 +08:00
2016-12-16 16:00:43 +08:00
2017-06-30 19:05:41 -07:00
2017-08-18 09:47:36 +09:00
2017-08-18 09:47:36 +09:00
2017-08-20 22:45:17 +08:00
2017-08-20 22:45:17 +08:00
2017-07-06 10:25:46 +08:00
2017-07-06 10:25:46 +08:00
2017-07-06 17:45:34 -07:00
2017-06-16 11:16:47 +08:00
2017-04-13 07:20:35 +09:00
2017-02-10 12:06:23 +09:00
2017-08-02 18:30:16 +09:00
2017-06-22 20:07:10 +09:00
2017-06-26 14:19:58 -07:00
2017-07-06 17:45:34 -07:00
2017-07-06 17:45:34 -07:00
2016-12-16 16:00:43 +08:00
2016-12-02 11:43:44 +08:00
2016-12-02 11:43:44 +08:00
2017-03-14 15:26:27 +13:00
2017-08-01 00:13:57 +09:00
2017-06-07 11:42:27 +09:00
2017-04-01 00:44:26 +08:00
2017-08-16 16:48:52 -07:00
2017-03-21 14:59:02 -04:00
2017-03-13 15:40:52 +08:00
2017-04-25 13:28:04 -05:00
2017-08-06 13:35:02 +09:00
2017-03-07 22:34:39 -05:00
2017-03-07 22:34:39 -05:00
2017-08-23 12:59:40 +09:00
2017-08-23 12:59:40 +09:00