Skip to content

Commit

Permalink
updated to better handle WebView changes on 4.4+
Browse files Browse the repository at this point in the history
  • Loading branch information
commonsguy committed Dec 9, 2014
1 parent 53ddb39 commit 9c609f9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***
Copyright (c) 2008-2012 CommonsWare, LLC
Copyright (c) 2008-2014 CommonsWare, LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
Expand Down Expand Up @@ -36,7 +36,7 @@ public void onCreate(Bundle icicle) {

void loadTime() {
String page=
"<html><body><a href=\"clock\">"
"<html><body><a href=\"http://webview.used.to.be.less.annoying/clock\">"
+ DateUtils.formatDateTime(this, new Date().getTime(),
DateUtils.FORMAT_SHOW_DATE
| DateUtils.FORMAT_SHOW_TIME)
Expand Down

0 comments on commit 9c609f9

Please sign in to comment.