瀏覽代碼

Deprecate FileDataStorageManager constructors depending on legacy Account

This commit deprecates constructors using legacy platform Account type
and wraps them using new API accepting User model.

All calls to FileDataStorageManager constructors that were trivially
portable without are updated as well. Places where passing new type
requires more risku work were left out for now.

FileDataStorageManager still uses Account internally - modifying this
requires getting rid of all legacy constructors first.

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
Chris Narkiewicz 3 年之前
父節點
當前提交
53eea6d08e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/debug/java/com/nextcloud/client/TestActivity.kt

+ 1 - 0
src/debug/java/com/nextcloud/client/TestActivity.kt

@@ -38,6 +38,7 @@ import com.owncloud.android.ui.activity.FileActivity
 import com.owncloud.android.ui.activity.OnEnforceableRefreshListener
 import com.owncloud.android.ui.fragment.FileFragment
 import com.owncloud.android.ui.helpers.FileOperationsHelper
+import java.lang.RuntimeException
 
 class TestActivity :
     FileActivity(),