diff options
author | zfu <zfu@codeaurora.org> | 2016-03-07 15:14:53 +0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-08-03 15:45:46 -0700 |
commit | 5bb6fe377c000e4287432518080968344583357a (patch) | |
tree | 152976f92ae48f88ba30ac3101efa7b68f2a7be6 /src/com/android/camera/VideoMenu.java | |
parent | c58924a30bda333137f5b9d808c9e6bb2e004a8f (diff) | |
download | android_packages_apps_Snap-5bb6fe377c000e4287432518080968344583357a.tar.gz android_packages_apps_Snap-5bb6fe377c000e4287432518080968344583357a.tar.bz2 android_packages_apps_Snap-5bb6fe377c000e4287432518080968344583357a.zip |
Fix android.process.media got killed when capture
android.process.media has a very low priority as Cached app in background.
When snapdragon camera using ContentResolver and do query/updating it will
promot to foreground priority, but there may have some race condition
that lmk in the progress to kill media, and AMS want set to foreground.
So, keep this process as foreground during the whole ActivityLife time,
by hold a query cursor onCreate and destory onStop.
CRs-Fixed: 984061
Change-Id: I530fddfa240030ad84dc09b599ad783f6a2f21e0
Diffstat (limited to 'src/com/android/camera/VideoMenu.java')
0 files changed, 0 insertions, 0 deletions