1. 修改项目对CarSeries类的依赖
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user