Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec4ffa91 authored by Vasu Nori's avatar Vasu Nori Committed by Android (Google) Code Review
Browse files

Merge "before shipping, remove stacktrace printing in requery-warning msg"

parents 66ad9bb7 e7fa4aeb
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -393,9 +393,12 @@ public class SQLiteCursor extends AbstractWindowedCursor {
            if (!sAlreadyWarned.containsKey(databasePath)) {
                sAlreadyWarned.put(databasePath, true);
                String packageName = ActivityThread.currentPackageName();
                Throwable t = null;
                // BEGIN STOPSHIP remove the following line
                t = new RequeryOnUiThreadException(packageName);
                // END STOPSHIP
                Log.w(TAG, "should not attempt requery on main (UI) thread: app = " +
                        packageName == null ? "'unknown'" : packageName,
                        new RequeryOnUiThreadException(packageName));
                        packageName == null ? "'unknown'" : packageName, t);
            }
        }
    }