Commit 0218e5f1 authored by Rob Carr's avatar Rob Carr Committed by Android (Google) Code Review
Browse files

Merge "RingtonePickerActivity: Keep cursor open while visible." into nyc-dev

parents e23e66b5 4f8fbf74
......@@ -282,12 +282,6 @@ public final class RingtonePickerActivity extends AlertActivity implements
setResult(RESULT_CANCELED);
}
getWindow().getDecorView().post(new Runnable() {
public void run() {
mCursor.deactivate();
}
});
finish();
}
......@@ -346,6 +340,8 @@ public final class RingtonePickerActivity extends AlertActivity implements
@Override
protected void onStop() {
super.onStop();
mCursor.deactivate();
if (!isChangingConfigurations()) {
stopAnyPlayingRingtone();
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment