Fixed fileManager functions for Android jdk