MCPcopy Create free account
hub / github.com/buggins/coolreader / extractFileName

Method extractFileName

android/src/org/coolreader/CoolReader.java:940–949  ·  view source on GitHub ↗
( Uri uri )

Source from the content-addressed store, hash-verified

938 }
939
940 private String extractFileName( Uri uri )
941 {
942 if ( uri!=null ) {
943 if ( uri.equals(Uri.parse("file:///")) )
944 return null;
945 else
946 return uri.getPath();
947 }
948 return null;
949 }
950
951 public void showHomeScreen() {
952 Intent intent = new Intent(Intent.ACTION_MAIN);

Callers 2

onCreateMethod · 0.95
onNewIntentMethod · 0.95

Calls 3

equalsMethod · 0.45
parseMethod · 0.45
getPathMethod · 0.45

Tested by

no test coverage detected