のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

SystemBars

    161     public ServiceMonitor(String ownerTag, boolean debug,
    162             Context context, String settingKey, Callbacks callbacks) {
    163         mTag = ownerTag + ".ServiceMonitor";
    164         mDebug = debug;
    165         mContext = context;
    166         mSettingKey = settingKey;
    167         mCallbacks = callbacks;
    168     }
    169 
     47     @Override
     48     public void start() {
     49         if (DEBUG) Log.d(TAG, "start");
     50         mServiceMonitor = new ServiceMonitor(TAG, DEBUG,
     51                 mContext, Settings.Secure.BAR_SERVICE_COMPONENT, this);
     52         mServiceMonitor.start();  // will call onNoService if no remote service is found
     53     }
     38     private static final boolean DEBUG = false;