1. 修改项目对CarSeries类的依赖

This commit is contained in:
wangcongtao
2020-11-13 10:15:17 +08:00
parent 1778f80443
commit f719b508e3
15 changed files with 46 additions and 15 deletions

View File

@@ -35,7 +35,7 @@ class GridFixableShareDialog(context: Context) : BaseFloatDialog(context) {
private fun setWrapContent() {
val window = window
if (CarSeries.getSeries() == CarSeries.CAR_SERIES_F80X) {
if (CarSeries.isF8xxSeries()) {
if (window != null) {
val lp = window.attributes
lp.width = 1920

View File

@@ -84,7 +84,7 @@ public class LaucherShareDialog extends BaseFloatDialog implements View.OnClickL
lp.height = 600;
window.setAttributes(lp);
}
}else if(CarSeries.getSeries() == CarSeries.CAR_SERIES_F80X){
}else if(CarSeries.isF8xxSeries()){
if (window != null) {
WindowManager.LayoutParams lp = window.getAttributes();
lp.width = 1920;