diff --git a/config/initializers/06-mini_profiler.rb b/config/initializers/06-mini_profiler.rb index 35765a14440..8c5f385f7c5 100644 --- a/config/initializers/06-mini_profiler.rb +++ b/config/initializers/06-mini_profiler.rb @@ -16,7 +16,7 @@ if defined?(Rack::MiniProfiler) # For our app, let's just show mini profiler always, polling is chatty so nuke that Rack::MiniProfiler.config.pre_authorize_cb = lambda do |env| - (env['HTTP_USER_AGENT'] !~ /iPad|iPhone|Nexus 7/) && + (env['HTTP_USER_AGENT'] !~ /iPad|iPhone|Nexus 7|Android/) && (env['PATH_INFO'] !~ /^\/message-bus/) && (env['PATH_INFO'] !~ /topics\/timings/) && (env['PATH_INFO'] !~ /assets/) &&