Raff Tsai 2831b14048 Release the media player when the video preference is not visible.
Mediaplayer is not released when the device is paused, and hence it
keep consuming battery.

Fixes: 120945749
Test: adb root && watch -n 0.5 -d "adb shell cat /sys/kernel/debug/msm_vidc/core0/inst*/info\|egrep -i \"height\|width\|instance\|fps\|name\""
      Use above command to check if any decoder instance exists.

Change-Id: Ia0edbba0c2fd3c70753bc36d23d82c0770f95672
2019-01-03 12:12:51 +08:00
2018-12-05 08:15:17 +08:00
2019-01-02 05:40:11 +00:00
2018-12-18 09:51:08 +00:00
2018-12-18 09:51:08 +00:00
2018-12-19 20:24:23 -08:00
Description
No description provided
1.5 GiB
Languages
Java 89.7%
Kotlin 10.3%