File tree Expand file tree Collapse file tree
framework/src/org/apache/cordova Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,8 +119,7 @@ public void onCreate(Bundle savedInstanceState) {
119119 // need to activate preferences before super.onCreate to avoid "requestFeature() must be called before adding content" exception
120120 loadConfig ();
121121
122- canEdgeToEdge = preferences .getBoolean ("AndroidEdgeToEdge" , false )
123- && Build .VERSION .SDK_INT >= Build .VERSION_CODES .VANILLA_ICE_CREAM ;
122+ canEdgeToEdge = preferences .getBoolean ("AndroidEdgeToEdge" , false );
124123
125124 String logLevel = preferences .getString ("loglevel" , "ERROR" );
126125 LOG .setLogLevel (logLevel );
Original file line number Diff line number Diff line change @@ -55,8 +55,7 @@ public class SystemBarPlugin extends CordovaPlugin {
5555 protected void pluginInitialize () {
5656 context = cordova .getContext ();
5757 resources = context .getResources ();
58- canEdgeToEdge = preferences .getBoolean ("AndroidEdgeToEdge" , false )
59- && Build .VERSION .SDK_INT >= Build .VERSION_CODES .VANILLA_ICE_CREAM ;
58+ canEdgeToEdge = preferences .getBoolean ("AndroidEdgeToEdge" , false );
6059 }
6160
6261 @ Override
You can’t perform that action at this time.
0 commit comments