Video recording intent with time limit never stops at given time limit on android O -


i launching video recording intent time duration limit. works fine on every device, on android o, never stops @ given time. tested devices nexus 5x, nexus 6p, pixel. of these have android o.

public static void videocaptureactivity(activity activity, uri filepath, int durationlimit ){                             intent intent = new intent(mediastore.action_video_capture);             intent.addflags(intent.flag_grant_write_uri_permission);             intent.addflags(intent.flag_activity_clear_task);             intent.putextra(mediastore.extra_output, filepath);             intent.putextra(mediastore.extra_duration_limit, durationlimit * 60);             activity.startactivityforresult(intent, viewconstants.key_video_capture_code);          } 

i checked logs found not helping, though sharing it:

08-18 11:36:07.511 3136-10386/? e/mm-camera-sensor: port_sensor_handle_aec_update:444miss aec update window, skip 08-18 11:36:08.111 3396-1469/? d/wificondcontrol: scan result ready event 08-18 11:36:08.352 3396-3426/? i/zygote64: background concurrent copying gc freed 73915(3mb) allocspace objects, 2(40kb) los objects, 42% free, 16mb/28mb, paused 656us total 202.501ms 08-18 11:36:10.379 8360-9342/? e/videorecpreimp2: onmaxduration 60018 08-18 11:36:12.381 356-356/? w//system/bin/hwservicemanager: gettransportfrommanifest: cannot find entry android.hardware.graphics.mapper@2.0::imapper in either framework or device manifest, using default transport. 08-18 11:36:12.387 10718-10718/? i/vndksupport: sphal namespace not configured process. loading /vendor/lib64/hw/gralloc.msm8992.so current namespace instead. 

it says "e/videorecpreimp2: onmaxduration 60018" not helpful @ all. possible attribute setting time limit has been changed o? checked android-o preview api , there no such info. has faced issue ?

update:

just tested on nexus 6 7.1.1 , nexus 5 6.0 , on nexus 6 working fine not on nexus 5. related googlecamera ?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -