getContextHandles shows Native & WebView, even when there is no web view

With the latest Appium v 1.2.4.1, on Android 4.4.2 when check the view with getContextHandles then two views that is native app & web view are shown for native app which is incorrect
With the latest Appium v 1.2.4.1, on Android 4.3 when check the view with getContextHandles then only native app views are shown for native app which is correct for my app, have confirm from the developer that there is only one native app view

I run the same java code on the simulator.

This is because Android 4.4.2, which backend by UIAutomator detacts 2 views. if u switch to 4.3 then it was not backend by UIAutomator hence it will detects only one view this is expected.
Please find below documents, which can help you.

https://github.com/appium/appium/blob/master/docs/en/advanced-concepts/hybrid.md#automating-hybrid-android-apps