mirror of
https://github.com/MatomoCamp/matomocamp-companion-android.git
synced 2024-09-19 16:13:46 +02:00
Remove deprecated method calls
This commit is contained in:
parent
53da049c4a
commit
1d4aa090c4
2 changed files with 2 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
|||
package be.digitalia.fosdem.activities;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.app.SearchManager;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
@ -93,7 +92,6 @@ public class SearchResultActivity extends AppCompatActivity {
|
|||
}
|
||||
}
|
||||
|
||||
@SuppressLint("NewApi")
|
||||
@Override
|
||||
public boolean onCreateOptionsMenu(Menu menu) {
|
||||
getMenuInflater().inflate(R.menu.search, menu);
|
||||
|
|
|
@ -191,7 +191,7 @@ public class MultiChoiceHelper {
|
|||
if (value) {
|
||||
checkedIdStates.put(id, position);
|
||||
} else {
|
||||
checkedIdStates.delete(id);
|
||||
checkedIdStates.remove(id);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -356,7 +356,7 @@ public class MultiChoiceHelper {
|
|||
}
|
||||
|
||||
if (!found) {
|
||||
checkedIdStates.delete(id);
|
||||
checkedIdStates.remove(id);
|
||||
checkedIndex--;
|
||||
checkedItemCount--;
|
||||
checkedCountChanged = true;
|
||||
|
|
Loading…
Reference in a new issue