Revision ee4e7896
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/main/RubikActivity.java | ||
---|---|---|
339 | 339 |
|
340 | 340 |
RubikSurfaceView view = findViewById(R.id.rubikSurfaceView); |
341 | 341 |
view.getPreRender().restorePreferences(preferences); |
342 |
|
|
343 |
RubikScores scores = RubikScores.getInstance(); |
|
344 |
|
|
345 |
if( scores.isVerified() ) |
|
346 |
{ |
|
347 |
FirebaseAnalytics analytics = getAnalytics(); |
|
348 |
analytics.setUserId(scores.getName()); |
|
349 |
} |
|
342 | 350 |
} |
343 | 351 |
|
344 | 352 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
if a user has a verified name, set it as a GoogleAnalytics UserId