projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
877b424
)
droid: do not try to diddle permissions if we are not an aml device
author
S. Davilla
<davilla@4pi.com>
Tue, 31 Dec 2013 19:29:26 +0000
(14:29 -0500)
committer
S. Davilla
<davilla@4pi.com>
Tue, 31 Dec 2013 19:29:36 +0000
(14:29 -0500)
xbmc/utils/AMLUtils.cpp
patch
|
blob
|
history
diff --git
a/xbmc/utils/AMLUtils.cpp
b/xbmc/utils/AMLUtils.cpp
index
4c0e161
..
67872a7
100644
(file)
--- a/
xbmc/utils/AMLUtils.cpp
+++ b/
xbmc/utils/AMLUtils.cpp
@@
-116,6
+116,9
@@
bool aml_wired_present()
void aml_permissions()
{
+ if (!aml_present())
+ return false;
+
// most all aml devices are already rooted.
int ret = system("ls /system/xbin/su");
if (ret != 0)