This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.graphics.BitmapShader; | |
import android.graphics.Canvas; | |
import android.graphics.PorterDuff; | |
import android.graphics.Shader; | |
import android.graphics.drawable.BitmapDrawable; | |
import android.graphics.drawable.ClipDrawable; | |
import android.graphics.drawable.Drawable; | |
import android.graphics.drawable.LayerDrawable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PACKAGE_NAME='com.playdayteam.playday.debug' | |
adb shell "run-as $PACKAGE_NAME chmod 777 /data/data/$PACKAGE_NAME/databases/" | |
adb shell "run-as $PACKAGE_NAME chmod 666 /data/data/$PACKAGE_NAME/databases/active_android.db" | |
adb pull /data/data/$PACKAGE_NAME/databases/active_android.db . | |
adb shell "run-as $PACKAGE_NAME chmod 700 /data/data/$PACKAGE_NAME/databases/" | |
adb shell "run-as $PACKAGE_NAME chmod 600 /data/data/$PACKAGE_NAME/databases/active_android.db" |