[ 
https://issues.apache.org/jira/browse/CB-9513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15073592#comment-15073592
 ] 

ASF GitHub Bot commented on CB-9513:
------------------------------------

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-plugin-statusbar/pull/42

    CB-9513 Allow to show/hide status bar in fullscreen mode

    Fix for https://issues.apache.org/jira/browse/CB-9513

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-plugin-statusbar CB-9513

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-statusbar/pull/42.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #42
    
----
commit 85e6fd3db121e0f213cb3543a447bf31603b9085
Author: Vladimir Kotikov <kotikov.vladi...@gmail.com>
Date:   2015-12-29T07:27:43Z

    CB-9513 Allow to show/hide status bar in fullscreen mode

----


> Status bar show/hide have no response in Fullsrceen
> ---------------------------------------------------
>
>                 Key: CB-9513
>                 URL: https://issues.apache.org/jira/browse/CB-9513
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>         Environment: Test Device: Google nexus5
> Cordova-android 4.1
>            Reporter: lijingjing
>            Assignee: Vladimir Kotikov
>              Labels: Android, reproduced, triaged
>
> Test Steps:
> 1.cordova create statusbar com.example.statusbar statusbar
> 2.cordova platform add android
> 3.config.xml-----add:
> {code}
> <preference name="Fullscreen" value="true" />
> <preference name="disableImmersive" value="true" />
> {code}
> 4.replace index.html:
> {code}
> <script src="./cordova.js"></script>
> <div id="header">
>   <h3 id="main_page_title">Status Bar Test In Fullscreen</h3>
> </div>\n<br><br>
> <p>Click "Status Bar Show" button to show status bar:</p>
> <button onclick="StatusBar.show();">Status Bar Show</button><br><br>
> <p>Click "Status Bar Hide" button to hide status bar:</p>
> <button onclick="StatusBar.hide();">Status Bar Hide</button>
> {code}
> 5. cordova plugin add cordova-plugin-statusbar.
> 6. cordova build android.
> 7.Then install statusbar.apk on the test device.
> 8.click "status Bar show/hide" button.
> Expected Outcome:
> Status Bar can show or hide.
> Actual Outcome:
> have no response.
> Issue Analysis:
> this issue only happen on Cordova Android 4.1 and Cordova CLI 5.2.If use 
> Cordova CLI 5.1,apk can run successfully.
> error log:
> {code}
> V/StatusBar( 4028): Executing action: show
> D/audio_hw_primary(  184): select_devices: out_snd_device(2: speaker) 
> in_snd_device(0: )
> W/InputMethodManagerService(  753): Window already focused, ignoring focus 
> gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@432d6328 
> attribute=null, token = android.os.BinderProxy@42f61a70
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to