-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Marshmallow sysdpes getSupportedAbis to avoid read /proc/se…
…lf/exe error on Android M+ Summary: We can't guarantee we have permission to access `/proc/self/exe`. `Os.readlink("/proc/self/exe").contains("64")` is not a perfect way to check is64bit. On Android M, there's a public API to check 64bit. [Process#is64Bit()](https://developer.android.com/reference/android/os/Process#is64Bit()) Differential Revision: D20130485 fbshipit-source-id: f287285056214831d3777255010932d9c7259595
- Loading branch information
1 parent
3311e1a
commit c796ed6
Showing
1 changed file
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters