Merge "Fixed obsolete TODOs."

This commit is contained in:
Felipe Leme
2017-03-14 21:09:04 +00:00
committed by Android (Google) Code Review
3 changed files with 3 additions and 6 deletions

View File

@@ -373,8 +373,7 @@ public final class StorageVolume implements Parcelable {
}
/** {@hide} */
// TODO(b/26742218): find out where toString() is called internally and replace these calls by
// dump().
// TODO: find out where toString() is called internally and replace these calls by dump().
public String dump() {
final CharArrayWriter writer = new CharArrayWriter();
dump(new IndentingPrintWriter(writer, " ", 80));

View File

@@ -78,14 +78,12 @@ public final class AutofillServiceInfo {
// TODO(b/35956626): inline newSettingsActivity once clients migrate
final String newSettingsActivity =
metaDataArray.getString(R.styleable.AutofillService_settingsActivity);
System.out.println(">>> NEW CRAP MAN: " + newSettingsActivity); // TODO(felipeal): tmp
if (newSettingsActivity != null) {
mSettingsActivity = newSettingsActivity;
} else {
mSettingsActivity =
metaDataArray.getString(R.styleable.AutoFillService_settingsActivity);
}
System.out.println(">>> FINAL CRAP MAN: " + mSettingsActivity); // TODO(felipeal): tmp
metaDataArray.recycle();
} else {
mSettingsActivity = null;

View File

@@ -240,7 +240,7 @@ final class RemoteFillService implements DeathRecipient {
}
mBinding = false;
if (isBound()) {
// TODO(b/33197203, b/35395043): synchronize access instead
// TODO(b/33197203): synchronize access instead?
// Need to double check if it's null, since it could be set on onServiceDisconnected()
if (mAutoFillService != null) {
try {
@@ -322,7 +322,7 @@ final class RemoteFillService implements DeathRecipient {
}
try {
// TODO(b/33197203, b/35395043): synchronize access instead
// TODO(b/33197203): synchronize access instead?
// Need to double check if it's null, since it could be set on
// onServiceDisconnected()
if (mAutoFillService != null) {