Remove poweramp support (commented)

pull/4/head
nico202 2018-05-25 17:55:42 +02:00
parent c96312b251
commit fb44d3e6c7
1 changed files with 8 additions and 6 deletions

View File

@ -18,7 +18,8 @@ import android.support.v4.app.NotificationCompat;
import android.support.v4.content.ContextCompat; import android.support.v4.content.ContextCompat;
import android.util.Log; import android.util.Log;
import com.maxmpz.poweramp.player.PowerampAPI; // Poweramp support
// import com.maxmpz.poweramp.player.PowerampAPI;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
@ -179,11 +180,12 @@ public class LibraryService extends IntentService {
updater.showMessage(getResources().getString(R.string.music_updated)); updater.showMessage(getResources().getString(R.string.music_updated));
// Poweramp support // I don't want to support proprietary things
Intent poweramp = new Intent(PowerampAPI.Scanner.ACTION_SCAN_DIRS); // If you need to enable Poweramp support, uncomment this
poweramp.setPackage(PowerampAPI.PACKAGE_NAME); // Intent poweramp = new Intent(PowerampAPI.Scanner.ACTION_SCAN_DIRS);
poweramp.putExtra(PowerampAPI.Scanner.EXTRA_FULL_RESCAN, true); // poweramp.setPackage(PowerampAPI.PACKAGE_NAME);
startService(poweramp); // poweramp.putExtra(PowerampAPI.Scanner.EXTRA_FULL_RESCAN, true);
// startService(poweramp);
finished(); finished();
} }