Merge "Add USB RNDIS enable/disable control"

This commit is contained in:
Robert Greenwalt
2010-02-23 18:08:04 -08:00
committed by Android (Google) Code Review
4 changed files with 238 additions and 32 deletions

View File

@@ -45,10 +45,10 @@ public class InterfaceConfiguration implements Parcelable {
}
private static void putAddress(StringBuffer buf, int addr) {
buf.append(addr & 0xff).append('.').
append((addr >>>= 8) & 0xff).append('.').
append((addr >>>= 8) & 0xff).append('.').
append((addr >>>= 8) & 0xff);
buf.append((addr >> 24) & 0xff).append('.').
append((addr >> 16) & 0xff).append('.').
append((addr >> 8) & 0xff).append('.').
append(addr & 0xff);
}
/** Implement the Parcelable interface {@hide} */