Replace enum with @IntDef in passwords settings on Android |
||
Issue descriptionAs discussed in [1], enum in Java comes with the cost of boxing the integer values into full classes and with potential concerns, e.g., during serialising. The recommended style for Android is to use @IntDef instead. This bug tracks converting remaining occurrences of enum to @IntDef in the code for Chrome's passwords settings on Android. [1] https://chromium-review.googlesource.com/c/chromium/src/+/883525/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/password/ReauthenticationManager.java#28
,
Jan 30 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jan 30 2018