Fix error in pure 64-bit environment
In Android S preview, there’s no 32-bit libraries in x86_64 system image for emulator. Signed-off-by: Shaka Huang <shakalaca@gmail.com>
This commit is contained in:
parent
68090943f4
commit
ba1ce16b8b
@ -223,7 +223,7 @@ open class MainActivity : BaseUIActivity<MainViewModel, ActivityMainMd2Binding>(
|
|||||||
.cancellable(false)
|
.cancellable(false)
|
||||||
.reveal()
|
.reveal()
|
||||||
}
|
}
|
||||||
}g
|
}
|
||||||
|
|
||||||
private fun askForHomeShortcut() {
|
private fun askForHomeShortcut() {
|
||||||
if (isRunningAsStub && !Config.askedHome &&
|
if (isRunningAsStub && !Config.askedHome &&
|
||||||
|
@ -110,7 +110,7 @@ void selinux_builtin_impl() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void dload_selinux() {
|
void dload_selinux() {
|
||||||
if (access("/system/lib/libselinux.so", F_OK))
|
if (access("/system/lib/libselinux.so", F_OK) && access("/system/lib64/libselinux.so", F_OK))
|
||||||
return;
|
return;
|
||||||
/* We only check whether libselinux.so exists but don't dlopen.
|
/* We only check whether libselinux.so exists but don't dlopen.
|
||||||
* For some reason calling symbols returned from dlsym
|
* For some reason calling symbols returned from dlsym
|
||||||
|
Loading…
Reference in New Issue
Block a user