|
|
|
@ -4,6 +4,7 @@ import androidx.appcompat.app.AppCompatActivity;
|
|
|
|
|
|
|
|
|
|
import android.content.Context;
|
|
|
|
|
import android.os.Bundle;
|
|
|
|
|
import android.os.Handler;
|
|
|
|
|
import android.text.TextUtils;
|
|
|
|
|
import android.view.Menu;
|
|
|
|
|
import android.view.MenuInflater;
|
|
|
|
@ -69,6 +70,14 @@ public class ChannelActivity extends AppCompatActivity {
|
|
|
|
|
int channel = binding.channels.getSelectedItemPosition() + 1;
|
|
|
|
|
saveChannelParams(channel);
|
|
|
|
|
MicroPhotoService.updateConfigs(ChannelActivity.this.getApplicationContext());
|
|
|
|
|
Handler handler = new Handler();
|
|
|
|
|
handler.postDelayed(new Runnable() {
|
|
|
|
|
@Override
|
|
|
|
|
public void run() {
|
|
|
|
|
ChannelActivity.this.finish();
|
|
|
|
|
}
|
|
|
|
|
}, 200);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|