[api] relax android device id check

Android official document says the device id should be 16 chars in hex repr,
but some users report that their device ids is only 14 or 15 chars long.
So we accept any device id with a length of (0,16].