Remove old methods from Activity mojom interface after they were moved.

This is part 3 of my 3 part change to add the udpater sky package.
This commit is contained in:
Matt Perry
2015-10-01 12:10:54 -04:00
parent 6441879d1a
commit cfa5b8191f
2 changed files with 0 additions and 20 deletions
-4
View File
@@ -56,10 +56,6 @@ interface Activity {
SetTaskDescription(TaskDescription description);
SetSystemUIVisibility(SystemUiVisibility visibility);
SetRequestedOrientation(ScreenOrientation orientation);
// TODO(mpcomplete): moving to PathService. Remove these.
GetFilesDir() => (string path);
GetCacheDir() => (string path);
};
interface PathService {
@@ -159,20 +159,4 @@ public class ActivityImpl implements Activity {
sCurrentActivity.setRequestedOrientation(androidOrientation);
}
@Override
public void getFilesDir(GetFilesDirResponse callback) {
String path = null;
if (sCurrentActivity != null)
path = sCurrentActivity.getFilesDir().getPath();
callback.call(path);
}
@Override
public void getCacheDir(GetCacheDirResponse callback) {
String path = null;
if (sCurrentActivity != null)
path = sCurrentActivity.getCacheDir().getPath();
callback.call(path);
}
}