Merge "Remove the access to net.hostname" into rvc-dev am: 7461d0bc38
Change-Id: I6db35ab5adec9bed3f16424871153ec8265f430d
This commit is contained in:
@@ -16,10 +16,7 @@ namespace wvoec3 {
|
||||
|
||||
const char *getUniqueID(size_t *len) {
|
||||
static std::string unique_id;
|
||||
unique_id = android::base::GetProperty("ro.serialno", "");
|
||||
if (unique_id.empty()) {
|
||||
unique_id = android::base::GetProperty("net.hostname", "0123456789abc");
|
||||
}
|
||||
unique_id = android::base::GetProperty("ro.serialno", "0123456789abc");
|
||||
#if defined(IN_APP_FASTBALL) || defined(IN_APP_MOVIES)
|
||||
unique_id += android::base::GetProperty("package.name", "com.google.inapp");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user