Merge branch 'audiorecorder-3.4.5'
This commit is contained in:
commit
3014dbcbbd
2 changed files with 4 additions and 3 deletions
|
|
@ -9,8 +9,8 @@ android {
|
|||
applicationId "com.github.axet.audiorecorder"
|
||||
minSdkVersion 9
|
||||
targetSdkVersion 29
|
||||
versionCode 354
|
||||
versionName "3.4.4"
|
||||
versionCode 355
|
||||
versionName "3.4.5"
|
||||
}
|
||||
signingConfigs {
|
||||
release {
|
||||
|
|
|
|||
|
|
@ -43,11 +43,12 @@ public class TileService extends android.service.quicksettings.TileService {
|
|||
if (AudioApplication.from(this).recording != null) {
|
||||
tile.setIcon(Icon.createWithResource(this, R.drawable.ic_stop_black_24dp));
|
||||
tile.setLabel(getString(R.string.tile_stop_recording));
|
||||
tile.setState(Tile.STATE_ACTIVE);
|
||||
} else {
|
||||
tile.setIcon(Icon.createWithResource(this, R.drawable.ic_mic_24dp));
|
||||
tile.setLabel(getString(R.string.tile_start_recording));
|
||||
tile.setState(Tile.STATE_INACTIVE);
|
||||
}
|
||||
tile.setState(Tile.STATE_ACTIVE);
|
||||
tile.updateTile();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue