Skip to content

Commit 53b40cd

Browse files
fix: changed android code to number to prevent compilation error.
1 parent 40191b9 commit 53b40cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/src/org/apache/cordova/CoreAndroid.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public void run() {
253253
*/
254254
public void overrideBackbutton(boolean override) {
255255
LOG.i("App", "WARNING: Back Button Default Behavior will be overridden. The backbutton event will be fired!");
256-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.BAKLAVA) {
256+
if (Build.VERSION.SDK_INT >= 36) { // Build.VERSION_CODES.BAKLAVA
257257
if (override) {
258258
synchronized (backButtonHandlerLock) {
259259
if (backCallback == null) {

0 commit comments

Comments
 (0)