mirror of
https://github.com/Cateners/tiny_computer.git
synced 2026-05-20 16:35:47 +08:00
Fix hardcoded document provider name
This commit is contained in:
@@ -67,7 +67,7 @@ public class TinyDocumentsProvider extends DocumentsProvider {
|
||||
@Override
|
||||
public Cursor queryRoots(String[] projection) {
|
||||
final MatrixCursor result = new MatrixCursor(projection != null ? projection : DEFAULT_ROOT_PROJECTION);
|
||||
final String applicationName = "小小电脑";
|
||||
final String applicationName = getContext().getString(R.string.tc_app_name);
|
||||
final File BASE_DIR = new File(getContext().getFilesDir(), "containers");
|
||||
final MatrixCursor.RowBuilder row = result.newRow();
|
||||
row.add(Root.COLUMN_ROOT_ID, getDocIdForFile(BASE_DIR));
|
||||
|
||||
Reference in New Issue
Block a user