diff --git a/zsh/.aliases.sh b/zsh/.aliases.sh index 112df8e..1132c66 100644 --- a/zsh/.aliases.sh +++ b/zsh/.aliases.sh @@ -55,6 +55,10 @@ sl_gms() { sl integ GmsCore_prodnext_xxhdpi_debug } +build_gms() { + blaze build --config gmscore_arm64 //java/com/google/android/gmscore/integ:GmsCore_prodnext_xxhdpi_debug +} + cdm() { adb shell am start -n com.google.android.gms/.chimera.debug.ChimeraDebugActivity } @@ -84,6 +88,14 @@ get_current_activity() { adb shell dumpsys window | grep -E 'mCurrentFocus' } +cl_search() { + hg whatsout | xargs -i sh -c "echo {} && rg $1 {}" +} + +cl_replace() { + hg whatsout | xargs -i sh -c "sed -i '$1' {}" +} + restart_gms() { adb shell am force-stop com.google.android.gms adb shell am broadcast -a com.google.android.gms.INITIALIZE