OSDN Git Service
(root)
/
android-x86
/
device-generic-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
012d9f4
)
init.sh: don't try to load the dummy camera driver
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Fri, 3 Jun 2016 04:05:58 +0000
(12:05 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Fri, 3 Jun 2016 04:05:58 +0000
(12:05 +0800)
Now the camera app will be hidden if no camera device is found.
So remove the obsolete code.
init.sh
patch
|
blob
|
history
diff --git
a/init.sh
b/init.sh
index
eacf3bb
..
20161d6
100644
(file)
--- a/
init.sh
+++ b/
init.sh
@@
-68,7
+68,7
@@
function init_hal_bluetooth()
function init_hal_camera()
{
function init_hal_camera()
{
- [ -c /dev/video0 ] || modprobe vivi
+ return
}
function init_hal_gps()
}
function init_hal_gps()