Skip to content

Instantly share code, notes, and snippets.

@pabloogc
Last active January 6, 2019 06:38
Show Gist options
  • Save pabloogc/342b5bd43ce56b5e42b5 to your computer and use it in GitHub Desktop.
Save pabloogc/342b5bd43ce56b5e42b5 to your computer and use it in GitHub Desktop.
Regex for Android Studio filter
^((?!ResourcesManager|InputEventReceiver|PopupWindow|MaliEGL|PhoneWindow|GraphicBuffer|.MALI..Gralloc.|InputMethodManager|libc-netbsd|NativeCrypto|OpenSSLLib|VelocityTracker|Posix|View|System.out|ADB_SERVICES|BatteryMeterView|BufferQueue|dalvikvm|ActivityThread|PowerManagerService|SurfaceFlinger|OpenGLRenderer|ANRManager|InputReader|PhoneInterfaceManagerEx|PowerManagerNotifier|KeyguardUpdateMonitor|WifiStateMachine|PowerManagerDisplayController|WifiHW|AppOps|StatusBar\.NetworkController|dingtao_Resolver|Provider.Settings|System.out|SignalClusterView|wpa_supplicant|SurfaceFlinger|Tethering|SIMHelper|wifi).)*$
@pabloogc
Copy link
Author

  • Create a filter in Android Studio in Edit Filter Configuration.
  • Apply this regex to the Log Tag field.
  • Set the package name of your application in the Package Name field, without regex (com.bq.something).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment