Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: mobile/android/base/BrowserApp.java

Issue 5928376401395712: Disable the start pane (Closed)
Patch Set: Actually hide the start pane Created March 1, 2015, 11:57 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mobile/android/base/BrowserApp.java
===================================================================
--- a/mobile/android/base/BrowserApp.java
+++ b/mobile/android/base/BrowserApp.java
@@ -622,6 +622,10 @@
* @param intentAction Intent that launched this activity
*/
private void checkStartPane(Context context, String intentAction) {
+ // We never want the start pane to show up in Adblock Browser.
Felix Dahlke 2015/03/01 12:00:50 There are two places where we can keep the start p
René Jeschke 2015/03/01 18:27:30 I really don't like having dead code lying around,
Felix Dahlke 2015/03/02 03:46:59 We can change it in GeckoProfile, as I said. But t
+ if (true)
+ return;
+
final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskReads();
try {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld