mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
Removed log statements as per Dominik's suggestions
This commit is contained in:
parent
92ba91de14
commit
42fc15e66e
@ -134,14 +134,10 @@ public class KeyEditor extends LinearLayout implements Editor, OnClickListener {
|
|||||||
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.HONEYCOMB) {
|
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.HONEYCOMB) {
|
||||||
if ( dialog != null && mCreatedDate != null ) {
|
if ( dialog != null && mCreatedDate != null ) {
|
||||||
dialog.getDatePicker().setMinDate(mCreatedDate.getTime().getTime()+ DateUtils.DAY_IN_MILLIS);
|
dialog.getDatePicker().setMinDate(mCreatedDate.getTime().getTime()+ DateUtils.DAY_IN_MILLIS);
|
||||||
android.util.Log.w("Date picker", "Date min set");
|
|
||||||
} else {
|
} else {
|
||||||
//When created date isn't available
|
//When created date isn't available
|
||||||
dialog.getDatePicker().setMinDate(date.getTime().getTime()+ DateUtils.DAY_IN_MILLIS);
|
dialog.getDatePicker().setMinDate(date.getTime().getTime()+ DateUtils.DAY_IN_MILLIS);
|
||||||
android.util.Log.w("Date picker", "Date min set using current time");
|
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
android.util.Log.w("Date picker", "API Level < 11 so not restricting date range...");
|
|
||||||
}
|
}
|
||||||
dialog.show();
|
dialog.show();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user