-
public final class HardwareKt
-
-
Method Summary
Modifier and Type Method Description final static StringhardwareProfileId(HardwareProfile p, String salt)Rung 3 id: sha256over the STABLE components only, salted per tenant exactly like every other identifier the SDK emits, so one operator's profiles are meaningless to another.final static List<String>hardwareEmulatorTells(HardwareProfile p)Pure. -
-
Method Detail
-
hardwareProfileId
final static String hardwareProfileId(HardwareProfile p, String salt)
Rung 3 id:
sha256over the STABLE components only, salted per tenant exactly like every other identifier the SDK emits, so one operator's profiles are meaningless to another.Absent components are written as a fixed marker rather than skipped. Skipping would make a device whose camera read failed once hash differently from the same device a second later, which is the drift problem again.
Returns null when too little was readable to be worth anything, because a profile built from two fields would collide with half the market and then be indistinguishable from a real match.
-
hardwareEmulatorTells
final static List<String> hardwareEmulatorTells(HardwareProfile p)
Pure. Strong emulator tells derived from the hardware profile, to be handed to detectEmulator alongside the Build-based ones.
-
-
-
-