@Override
            public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
                Pair<String, String> item = adapter.getItem(position);
                if (TextUtils.isEmpty(item.second)) {
                    onNothingSelected(parent);
                    return;
                }
                mPackageNameToBind = item.second;
            }
Once per second, asks the framework for the process importance, and logs any change.
Application/src/main/java/org/chromium/customtabsclient/MainActivity.java