Merge branch 'audiorecorder-3.1.9'
This commit is contained in:
commit
4e8f667c75
2 changed files with 4 additions and 3 deletions
|
|
@ -10,8 +10,8 @@ android {
|
|||
applicationId "com.github.axet.audiorecorder"
|
||||
minSdkVersion 9
|
||||
targetSdkVersion 23 // 24+ file:// unable to open
|
||||
versionCode 239
|
||||
versionName "3.1.8"
|
||||
versionCode 240
|
||||
versionName "3.1.9"
|
||||
}
|
||||
signingConfigs {
|
||||
release {
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ import android.os.Bundle;
|
|||
import android.os.Handler;
|
||||
import android.preference.PreferenceManager;
|
||||
import android.support.design.widget.FloatingActionButton;
|
||||
import android.support.v4.view.MenuItemCompat;
|
||||
import android.support.v7.app.AppCompatActivity;
|
||||
import android.support.v7.widget.Toolbar;
|
||||
import android.util.Log;
|
||||
|
|
@ -138,7 +139,7 @@ public class MainActivity extends AppCompatActivity {
|
|||
}
|
||||
|
||||
MenuItem search = menu.findItem(R.id.action_search);
|
||||
final SearchView searchView = (SearchView) search.getActionView();
|
||||
final SearchView searchView = (SearchView) MenuItemCompat.getActionView(search);
|
||||
searchView.setOnQueryTextListener(new android.support.v7.widget.SearchView.OnQueryTextListener() {
|
||||
@Override
|
||||
public boolean onQueryTextSubmit(String query) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue