Loading android/app/src/com/android/bluetooth/opp/BluetoothOppService.java +4 −4 Original line number Diff line number Diff line Loading @@ -255,10 +255,10 @@ public class BluetoothOppService extends ProfileService implements IObexConnecti println(sb, "Shares:"); for (BluetoothOppShareInfo info : mShares) { String dir = info.mDirection == BluetoothShare.DIRECTION_OUTBOUND ? " -> " : " <- "; SimpleDateFormat format = new SimpleDateFormat("MM'.'dd'@'HH':'mm':'ss", Locale.US); SimpleDateFormat format = new SimpleDateFormat("MM-dd HH:mm:ss", Locale.US); Date date = new Date(info.mTimestamp); println(sb, " " + format.format(date) + ": " + dir + " " + info.mCurrentBytes + "/" + info.mTotalBytes + "B "); println(sb, " " + format.format(date) + dir + info.mCurrentBytes + "/" + info.mTotalBytes); } } } Loading Loading
android/app/src/com/android/bluetooth/opp/BluetoothOppService.java +4 −4 Original line number Diff line number Diff line Loading @@ -255,10 +255,10 @@ public class BluetoothOppService extends ProfileService implements IObexConnecti println(sb, "Shares:"); for (BluetoothOppShareInfo info : mShares) { String dir = info.mDirection == BluetoothShare.DIRECTION_OUTBOUND ? " -> " : " <- "; SimpleDateFormat format = new SimpleDateFormat("MM'.'dd'@'HH':'mm':'ss", Locale.US); SimpleDateFormat format = new SimpleDateFormat("MM-dd HH:mm:ss", Locale.US); Date date = new Date(info.mTimestamp); println(sb, " " + format.format(date) + ": " + dir + " " + info.mCurrentBytes + "/" + info.mTotalBytes + "B "); println(sb, " " + format.format(date) + dir + info.mCurrentBytes + "/" + info.mTotalBytes); } } } Loading