Whitelist of Android doze not work for chrome
Reported by
wanghui0...@gmail.com,
Oct 17 2016
|
|||
Issue descriptionExample URL: djpunjab.video/video/11031/do-you-know-diljit-dosanjh.html Steps to reproduce the problem: 1 Add chrome to the whitelist of Android doze. 2 Download video (MP4) 3 Tap the Power, and switch the display off. 4 After several mimutes, the device will enter Doze mode. 5 The download will be interrupted What is the expected behavior? donn't be interrupted What went wrong? the downloading will be interrrupted, chrome kill this job. Did this work before? N/A Chrome version: 53.0.2785.124 Channel: n/a OS Version: 6.0.1 Flash Version: Shockwave Flash 23.0 r0 It's normal with chromium54. but not work for chrome52 or chrome53.
,
Oct 17 2016
Hi, since this works on the new version of Chrome (M54), could you update your version from 52/53 to 54?
,
Oct 17 2016
,
Oct 18 2016
Hi I only can find the chrome beta of m54 in the playstore
,
Oct 18 2016
If i both install chrome53 and chromium54, chromium54 will work same with chrome53, the whitelist of android doze will not work for both chrome53 and chromium54
,
Oct 18 2016
I debuged it and found the job of download always be pending, then chromium kill it and set the error ERR_ABORT. when i whitelist the chromium54 the download will be success. but not work for chrome(52/53). BTW where can i find the release chrome(54) not chrome beta. it seems work normal with chrome beta(54). Thanks
,
Oct 18 2016
(gdb) bt #0 Kill () at ../../net/url_request/url_request_job.cc:150 #1 0xdeb87a70 in DoCancel () at ../../net/url_request/url_request.cc:728 #2 0xdeb85e8e in net::URLRequest::Cancel() () at ../../net/url_request/url_request.cc:689 #3 0xe137b0d0 in Run () at ../../base/callback.h:61 #4 NotifyWrapper () at ../../base/observer_list_threadsafe.h:229 #5 0xe137b292 in MakeItSo<void (base::ObserverListThreadSafe<base::PowerObserver>::*const &)(base::ObserverListThreadSafe<base::PowerObserver>::ObserverListContext *, const base::Callback<void (base::PowerObserver *), base::internal::CopyMode::Copyable> &), const scoped_refptr<base::ObserverListThreadSafe<base::PowerObserver> > &, base::ObserverListThreadSafe<base::PowerObserver>::ObserverListContext *const &, const base::Callback<void (base::PowerObserver *), base::internal::CopyMode::Copyable> &> () at ../../base/bind_internal.h:284 #6 RunImpl<void (base::ObserverListThreadSafe<base::PowerObserver>::*const &)(base::ObserverListThreadSafe<base::PowerObserver>::ObserverListContext *, const base::Callback<void (base::PowerObserver *), base::internal::CopyMode::Copyable> &), const std::__ndk1::tuple<scoped_refptr<base::ObserverListThreadSafe<base::PowerObserver> >, base::ObserverListThreadSafe<base::PowerObserver>::ObserverListContext *, base::Callback<void (base::PowerObserver *), base::internal::CopyMode::Copyable> > &, 0, 1, 2> () at ../../base/bind_internal.h:347 #7 Run () at ../../base/bind_internal.h:325 #8 0xe13504a8 in Run () at ../../base/callback.h:61 #9 RunTask () at ../../base/debug/task_annotator.cc:54 #10 0xe13673f0 in RunTask () at ../../base/message_loop/message_loop.cc:488 #11 0xe1367592 in DeferOrRunPendingTask () at ../../base/message_loop/message_loop.cc:497 #12 0xe1367710 in DoWork () at ../../base/message_loop/message_loop.cc:621 #13 0xe1369a42 in Run () at ../../base/message_loop/message_pump_libevent.cc:217 #14 0xe13671ea in RunHandler () at ../../base/message_loop/message_loop.cc:451 #15 0xe137ee12 in base::RunLoop::Run() () at ../../base/run_loop.cc:35 #16 0xe139f80e in Run () at ../../base/threading/thread.cc:228 #17 0xda27584a in IOThreadRun () at ../../content/browser/browser_thread_impl.cc:243 #18 0xda27594e in Run () at ../../content/browser/browser_thread_impl.cc:278 #19 0xe139fa5c in ThreadMain () at ../../base/threading/thread.cc:301 #20 0xe139b270 in ThreadFunc () at ../../base/threading/platform_thread_posix.cc:71 #21 0xf7265824 in __pthread_start(void*) () from /tmp/wanghui-adb-gdb-libs/system/lib/libc.so #22 0xf723d286 in __start_thread () from /tmp/wanghui-adb-gdb-libs/system/lib/libc.so #23 0x00000000 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?)
,
Oct 18 2016
it seems the event power suspending lead to this issue. doze have relationship with it?
,
Oct 18 2016
10-18 05:30:47.600 1349 2886 I PowerManagerService: Going to sleep due to power button (uid 1000)... 10-18 05:30:48.277 478 478 D qdhwcomposer: hwc_setPowerMode: Setting mode 0 on display: 0 10-18 05:30:48.582 478 478 D qdhwcomposer: hwc_setPowerMode: Done setting mode 0 on display 0 10-18 05:30:48.583 1349 2950 D SurfaceControl: Excessive delay in setPowerMode(): 306ms 10-18 05:30:48.584 1349 1672 I QTI PowerHAL: Got set_interactive hint 10-18 05:30:48.587 1349 1672 I PowerManagerService: Dozing... 10-18 05:31:48.253 4864 4864 V chromium: [VERBOSE1:power_monitor.cc(56)] Power Suspending 10-18 05:31:48.255 6089 6107 V chromium: [VERBOSE1:power_monitor.cc(56)] Power Suspending 10-18 05:31:48.262 6058 6085 V chromium: [VERBOSE1:power_monitor.cc(56)] Power Suspending 10-18 05:31:50.864 1349 2886 I PowerManagerService: Waking up from dozing (uid 1000)... 10-18 05:31:50.865 1349 2886 I QTI PowerHAL: Got set_interactive hint 10-18 05:31:50.866 1349 1672 I DisplayPowerController: Blocking screen on until initial contents have been drawn. 10-18 05:31:50.868 478 478 D qdhwcomposer: hwc_setPowerMode: Setting mode 2 on display: 0 10-18 05:31:51.015 1349 1672 I DisplayPowerController: Unblocked screen on after 149 ms 10-18 05:31:51.143 478 478 D qdhwcomposer: hwc_setPowerMode: Done setting mode 2 on display 0 10-18 05:31:51.145 1349 2950 D SurfaceControl: Excessive delay in setPowerMode(): 277ms (gdb) bt #0 OnSuspend () at ../../content/browser/power_monitor_message_broadcaster.cc:39 #1 0xe138d0d0 in Run () at ../../base/callback.h:61 #2 NotifyWrapper () at ../../base/observer_list_threadsafe.h:229 #3 0xe138d292 in MakeItSo<void (base::ObserverListThreadSafe<base::PowerObserver>::*const &)(base::ObserverListThreadSafe<base::PowerObserver>::ObserverListContext *, const base::Callback<void (base::PowerObserver *), base::internal::CopyMode::Copyable> &), const scoped_refptr<base::ObserverListThreadSafe<base::PowerObserver> > &, base::ObserverListThreadSafe<base::PowerObserver>::ObserverListContext *const &, const base::Callback<void (base::PowerObserver *), base::internal::CopyMode::Copyable> &> () at ../../base/bind_internal.h:284 #4 RunImpl<void (base::ObserverListThreadSafe<base::PowerObserver>::*const &)(base::ObserverListThreadSafe<base::PowerObserver>::ObserverListContext *, const base::Callback<void (base::PowerObserver *), base::internal::CopyMode::Copyable> &), const std::__ndk1::tuple<scoped_refptr<base::ObserverListThreadSafe<base::PowerObserver> >, base::ObserverListThreadSafe<base::PowerObserver>::ObserverListContext *, base::Callback<void (base::PowerObserver *), base::internal::CopyMode::Copyable> > &, 0, 1, 2> () at ../../base/bind_internal.h:347 #5 Run () at ../../base/bind_internal.h:325 #6 0xe13624a8 in Run () at ../../base/callback.h:61 #7 RunTask () at ../../base/debug/task_annotator.cc:54 #8 0xe13793f0 in RunTask () at ../../base/message_loop/message_loop.cc:488 #9 0xe1379592 in DeferOrRunPendingTask () at ../../base/message_loop/message_loop.cc:497 #10 0xe1379710 in DoWork () at ../../base/message_loop/message_loop.cc:621 #11 0xe137a8b2 in DoRunLoopOnce () at ../../base/message_loop/message_pump_android.cc:44 #12 Java_org_chromium_base_SystemMessageHandler_nativeDoRunLoopOnce () at gen/base/base_jni_headers/base/jni/SystemMessageHandler_jni.h:44 #13 0xf4d758aa in art_quick_generic_jni_trampoline () from /tmp/wanghui-adb-gdb-libs/system/lib/libart.so #14 0xf42de368 in ?? () |
|||
►
Sign in to add a comment |
|||
Comment 1 by wanghui0...@gmail.com
, Oct 17 2016