java - App works perfectly fine on Samsung phone but doesn't work on LG -
i've created simple android flashlight app seems working on samsung device i've tried on doesn't seem work lg g series phones. i've tested on lg g3, g4 , g5.
the app loads mainactivity fine, when flashlight button clicked, nothing happens. i've plugged in see if there's sort of error message comes when attempt use flashlight, no error occurs.
is common problem between device manufacturers? i've done bit of research , i've gathered long code app towards each android os, shouldn't have problem.
i've had lg devices work, while others don't. both phones have been on same android version , on same network. else experience this?
edit
i learned have setpreviewtexture(0) on phones in order app turn torch on properly. however, i'm running issue of app lagging when trying use burst mode.