最近在做Android平板的系统定制,需要去除Google搜索框,其实很简单:
找到代码:
./packages/apps/Launcher3/src/com/android/launcher3
去掉 if (LauncherAppState.isKteLauncherUiAndroidQ())的判断,始终移除mQsbContainer。
这里的mQsbContainer就是Google搜索框。
如图所示:
完事。
最近在做Android平板的系统定制,需要去除Google搜索框,其实很简单:
找到代码:
./packages/apps/Launcher3/src/com/android/launcher3
去掉 if (LauncherAppState.isKteLauncherUiAndroidQ())的判断,始终移除mQsbContainer。
这里的mQsbContainer就是Google搜索框。
如图所示:
完事。