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

Delta Between Two Patch Sets: mobile/android/thirdparty/org/adblockplus/browser/SubscriptionPreferenceCategory.java

Issue 29322610: Issue 2720 - [Adblocking settings] Add the other filter lists category (Closed)
Left Patch Set: Even more naming Created July 30, 2015, 9:29 a.m.
Right Patch Set: Last naming nit Created July 31, 2015, 9:36 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 this.setEnabled(false); 73 this.setEnabled(false);
74 this.setShouldDisableView(true); 74 this.setShouldDisableView(true);
75 75
76 super.onAttachedToActivity(); 76 super.onAttachedToActivity();
77 77
78 this.progressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER); 78 this.progressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
79 this.progressDialog.setMessage(this.getContext().getString(R.string.abb_adbl ocking_waiting)); 79 this.progressDialog.setMessage(this.getContext().getString(R.string.abb_adbl ocking_waiting));
80 this.progressDialog.show(); 80 this.progressDialog.show();
81 81
82 AddOnBridge.handlerPost(new Runnable() 82 AddOnBridge.postToHandler(new Runnable()
83 { 83 {
84 @Override 84 @Override
85 public void run() 85 public void run()
86 { 86 {
87 initSubscriptions(); 87 initSubscriptions();
88 ThreadUtils.postToUiThread(new Runnable() 88 ThreadUtils.postToUiThread(new Runnable()
89 { 89 {
90 @Override 90 @Override
91 public void run() 91 public void run()
92 { 92 {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 final boolean enable = ((Boolean) newValue).booleanValue(); 171 final boolean enable = ((Boolean) newValue).booleanValue();
172 SubscriptionPreferenceCategory.subscriptionContainer.changeSubscriptionS tate( 172 SubscriptionPreferenceCategory.subscriptionContainer.changeSubscriptionS tate(
173 cbp.getKey(), 173 cbp.getKey(),
174 enable); 174 enable);
175 } 175 }
176 return true; 176 return true;
177 } 177 }
178 } 178 }
179 } 179 }
180 180
LEFTRIGHT

Powered by Google App Engine
This is Rietveld