Skip to content
Snippets Groups Projects
Commit e982bd25 authored by Eugene Susla's avatar Eugene Susla Committed by Android (Google) Code Review
Browse files

Merge "More CDM logging" into sc-dev

parents 73ef4bcc edacf29a
No related branches found
No related tags found
No related merge requests found
......@@ -165,6 +165,7 @@ public class DeviceChooserActivity extends Activity {
protected void onStop() {
super.onStop();
if (!isFinishing() && !isChangingConfigurations()) {
Log.i(LOG_TAG, "onStop() - cancelling");
cancel();
}
}
......@@ -195,7 +196,6 @@ public class DeviceChooserActivity extends Activity {
titleView.setText(title);
}
//TODO put in resources xmls
private ProgressBar getProgressBar() {
final ProgressBar progressBar = new ProgressBar(this);
progressBar.setForegroundGravity(Gravity.CENTER_HORIZONTAL);
......
......@@ -309,7 +309,7 @@ public class DeviceDiscoveryService extends Service {
}
private void onDeviceLost(@Nullable DeviceFilterPair device) {
if (DEBUG) Log.i(LOG_TAG, "Lost device " + device.getDisplayName());
Log.i(LOG_TAG, "Lost device " + device.getDisplayName());
Handler.getMain().sendMessage(obtainMessage(
DeviceDiscoveryService::onDeviceLostMainThread, this, device));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment