Skip to content

Commit

Permalink
-corretto problema nullpointer exception 61
Browse files Browse the repository at this point in the history
  • Loading branch information
ciopper90 committed Jun 27, 2014
1 parent c96c464 commit 2c956b6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/it/gaiacri/mobile/Accesso.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ protected void onCreate(Bundle savedInstanceState) {
Log.i("prova", "Can't restore state because bundle is empty.");
else
{
if (webview.restoreState(savedInstanceState) == null)
Log.i("prova" , "Restoring state FAILED!");
else
Log.i("prova", "Restoring state succeeded.");
if(webview!= null) {
if (webview.restoreState(savedInstanceState) == null)
Log.i("prova" , "Restoring state FAILED!");
else
Log.i("prova", "Restoring state succeeded.");
}
}

}else{
Expand Down

0 comments on commit 2c956b6

Please sign in to comment.