diff --git a/sky/services/activity/activity.mojom b/sky/services/activity/activity.mojom index fc2588deb..7e12d9dda 100644 --- a/sky/services/activity/activity.mojom +++ b/sky/services/activity/activity.mojom @@ -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 { diff --git a/sky/services/activity/src/org/domokit/activity/ActivityImpl.java b/sky/services/activity/src/org/domokit/activity/ActivityImpl.java index ecb9d2e3c..1cab4766b 100644 --- a/sky/services/activity/src/org/domokit/activity/ActivityImpl.java +++ b/sky/services/activity/src/org/domokit/activity/ActivityImpl.java @@ -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); - } }