Home | History | Annotate | Download | only in browser

Lines Matching full:context

19 import android.content.Context;
48 public void onReceive(Context context, Intent intent) {
50 if (isPreloadEnabledOnCurrentNetwork(context) &&
52 handlePreload(context, intent);
56 private boolean isPreloadEnabledOnCurrentNetwork(Context context) {
59 if (BrowserSettings.getPreloadAlwaysPreferenceString(context).equals(preload)) {
61 } else if (BrowserSettings.getPreloadOnWifiOnlyPreferenceString(context).equals(preload)) {
62 boolean onWifi = isOnWifi(context);
70 private boolean isOnWifi(Context context) {
73 context.getSystemService(Context.CONNECTIVITY_SERVICE);
96 private void handlePreload(Context context, Intent i) {