init: qcom: Install SWE_Browser.apk on first bootup.

Install SWE_Browser.apk from /data/prebuilt if it is not already
installed.

CRs-fixed: 657017
Change-Id: I48c9acbf3257121b3d89dec2f779aa61b50eff43
This commit is contained in:
Stewart Chao 2013-05-03 11:52:53 -04:00 committed by Gopal G Goberu
parent 47b588ae64
commit 1cefca7a51
1 changed files with 3 additions and 3 deletions

View File

@ -734,9 +734,9 @@ if [ -f /data/prebuilt/AdrenoTest.apk ]; then
fi
# Install SWE_Browser.apk if not already installed
if [ -f /data/prebuilt/SWE_Browser.apk ]; then
if [ ! -d /data/data/org.codeaurora.swe.browser ]; then
pm install /data/prebuilt/SWE_Browser.apk
if [ -f /data/prebuilt/SWE_AndroidBrowser.apk ]; then
if [ ! -d /data/data/com.android.swe.browser ]; then
pm install /data/prebuilt/SWE_AndroidBrowser.apk
fi
fi