Text styling, download fix, small bugs
This commit is contained in:
parent
109fc6f54b
commit
6f250df004
8 changed files with 110 additions and 48 deletions
|
@ -1,5 +1,7 @@
|
|||
package f.f.freezer;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
@ -47,6 +49,13 @@ public class MainActivity extends FlutterActivity {
|
|||
decryptTrack(path, tid);
|
||||
result.success(0);
|
||||
}
|
||||
//Android media scanner
|
||||
if (call.method.equals("rescanLibrary")) {
|
||||
String path = call.argument("path");
|
||||
Uri uri = Uri.fromFile(new File(path));
|
||||
sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, uri));
|
||||
result.success(0);
|
||||
}
|
||||
//Add tags to track
|
||||
if (call.method.equals("tagTrack")) {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue