diff --git a/README.md b/README.md index 827d766..6d23001 100644 --- a/README.md +++ b/README.md @@ -199,7 +199,7 @@ The library by default uses 1,2 and 3, and this gives the optimal stablility/uni But there is an ability to customize the ratio. You can choose the set of signal providers with bit mask. -Here is the example, how to use all available signal providers for fingerprint calculation. This will improve the uniqueness of the fingerprint, but also it will reduce the stability and it will change more frequently. +Here is the example, how to use all available signal providers for fingerprint calculation. This will improve the uniqueness of the fingerprint, but also it will reduce the stability i.e. the `fingerprint` will change more frequently. ```kotlin diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a8182a5..728830a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -12,8 +12,8 @@ Custom fingerprint: Got it - This is an application, which shows you all the features of Fingerprint-Android library. \nThere is a few fingerprinters, and public method, that allows you to calculate custom fingerprint from existing. -By changing the list of fingerprinters you can make a fingerprint that works for your requirements of stability and entropy. Enjoy! + The application shows you all the features of Fingerprint-Android library. \nThere is a few signal providers, and public method, that allows you to calculate custom fingerprint from existing. +By changing the list of fingerprinters you can make a fingerprint that works for your requirements of stability and uniquiness. Enjoy! \n\n\n FingerprintJS Inc. 2020 diff --git a/fingerprint/src/main/java/com/fingerprintjs/android/fingerprint/FingerprinterImpl.kt b/fingerprint/src/main/java/com/fingerprintjs/android/fingerprint/FingerprinterImpl.kt index 96c341a..3477b01 100644 --- a/fingerprint/src/main/java/com/fingerprintjs/android/fingerprint/FingerprinterImpl.kt +++ b/fingerprint/src/main/java/com/fingerprintjs/android/fingerprint/FingerprinterImpl.kt @@ -7,7 +7,6 @@ import com.fingerprintjs.android.fingerprint.signal_providers.device_state.Devic import com.fingerprintjs.android.fingerprint.signal_providers.hardware.HardwareSignalProvider import com.fingerprintjs.android.fingerprint.signal_providers.installed_apps.InstalledAppsSignalProvider import com.fingerprintjs.android.fingerprint.signal_providers.os_build.OsBuildSignalProvider -import java.lang.StringBuilder import java.util.concurrent.ExecutorService import java.util.concurrent.Executors @@ -69,7 +68,6 @@ internal class FingerprinterImpl( fingerprintSb.append(installedAppsSignalProvider.fingerprint()) } - val result = object : FingerprintResult { override val fingerprint = configuration.hasher.hash(fingerprintSb.toString())