use 2021-01-01 as minimum battery date
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -33,12 +33,12 @@ public class BatterySettingsFeatureProviderImpl implements BatterySettingsFeatur
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isManufactureDateAvailable(Context context, long manufactureDateMs) {
|
public boolean isManufactureDateAvailable(Context context, long manufactureDateMs) {
|
||||||
return false;
|
return manufactureDateMs > 1_609_459_200_000L; // 2021-01-01
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isFirstUseDateAvailable(Context context, long firstUseDateMs) {
|
public boolean isFirstUseDateAvailable(Context context, long firstUseDateMs) {
|
||||||
return false;
|
return firstUseDateMs > 1_609_459_200_000L; // 2021-01-01
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user