mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-26 17:27:39 +00:00
Case insensitive
This commit is contained in:
parent
e17638bc06
commit
f69facc842
@ -65,8 +65,8 @@ public class MagiskHideFragment extends Fragment {
|
||||
public boolean onQueryTextChange(String newText) {
|
||||
fListApps.clear();
|
||||
for (ApplicationInfo info : listApps) {
|
||||
if (info.loadLabel(packageManager).toString().contains(newText)
|
||||
|| info.packageName.contains(newText)) {
|
||||
if (info.loadLabel(packageManager).toString().toLowerCase().contains(newText.toLowerCase())
|
||||
|| info.packageName.toLowerCase().contains(newText.toLowerCase())) {
|
||||
fListApps.add(info);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user