327e3ac66da7b67dadf16e93dc3a8bb5ecf0efd0 |
|
15-Sep-2011 |
Ben Murdoch <benm@google.com> |
Fix WebStorageSizeManagerUnitTest NPE Previously we passed a null Context into the WebStorageSizeManager from the unit test. After the refactoring to get the application context from the passed in Context, this no longer works. So pass in a valid Context. (See Ib0be5f8c for the regression) Bug: 5319628 Change-Id: I691e2edb0a4174076c7599525569d104a83d3442
/packages/apps/Browser/src/com/android/browser/WebStorageSizeManager.java
|
914c5591baeb86bf30a5bc28930071442a822d60 |
|
01-Aug-2011 |
Ben Murdoch <benm@google.com> |
Cache the application context instead of Activity. When storing a reference to a Context, ensure that it's the Application context rather than Activity Context. Bug: 5084293 Change-Id: Ib0be5f8ceb91846bb985d0813a8f22cabd44eaf8
/packages/apps/Browser/src/com/android/browser/WebStorageSizeManager.java
|
d90f9705d6962e809191c10c14f611f7212918fa |
|
06-Jan-2011 |
Ben Murdoch <benm@google.com> |
Cast StatFs return values to long On devices with large storage partitions, we could overflow when converting free blocks to free bytes. Cast to long to avoid this. Bug: 3327970 Change-Id: I3c007fc5c9fc758a03ee6ec0b7ee5a1423c170b3
/packages/apps/Browser/src/com/android/browser/WebStorageSizeManager.java
|
10200795554ffeb16bf5662fd66ae6442c6f5cf0 |
|
30-Nov-2010 |
John Reck <jreck@google.com> |
Changed WebsiteSettingsActivity to fragment Bug: 3231307 Moved WebsiteSettingsActivity to a fragment Change-Id: If1fa56ab48167c004fb65c756f325e108f14fe8f
/packages/apps/Browser/src/com/android/browser/WebStorageSizeManager.java
|
34b89ef113c7e5e365f75ec692a98a5484834ca0 |
|
09-Feb-2010 |
Ben Murdoch <benm@google.com> |
When a second database is created on an origin, ensure that the quota for that origin is large enough to cover both databases (old and new). Fix for 2417477 Change-Id: I914b29a5f90a11fe3c3dc9a927a8720197b03560
/packages/apps/Browser/src/com/android/browser/WebStorageSizeManager.java
|
eb9032c67077aa5aa6ddf928bf14a45534f24776 |
|
28-Sep-2009 |
Nicolas Roard <nicolas@android.com> |
Fix for the dual notification problem
/packages/apps/Browser/src/com/android/browser/WebStorageSizeManager.java
|
8f3e8646b60d84695670de816ab530b3e72858ee |
|
18-Sep-2009 |
Andrei Popescu <andreip@google.com> |
Fix for 2023896
/packages/apps/Browser/src/com/android/browser/WebStorageSizeManager.java
|
25a1523642bead2f7e7f929ba9d6d1143dce06a0 |
|
25-Aug-2009 |
Ben Murdoch <benm@google.com> |
Use the estimated size of new databases as the default quota if we have enough space to satisfy it. Change-Id:I23daac8fbf27f50f304ee53060353423deaed50a
/packages/apps/Browser/src/com/android/browser/WebStorageSizeManager.java
|
86943777260a399df282517241085d0c5e10ee88 |
|
30-Jul-2009 |
Andrei Popescu <andreip@google.com> |
Implement out of space notification
/packages/apps/Browser/src/com/android/browser/WebStorageSizeManager.java
|
907c5763bb700c705108948328c8892500e59185 |
|
29-Jul-2009 |
Andrei Popescu <andreip@google.com> |
Add unit tests for the WebStorageSizemanager. Also reduce the default quota and quota increase step
/packages/apps/Browser/src/com/android/browser/WebStorageSizeManager.java
|
79e82b7ba72a7278911edf0dd7b03c65c4ec0e9d |
|
27-Jul-2009 |
Andrei Popescu <andreip@google.com> |
Refactor the WebStorage size management: - Abandon the Quota UI: it does not make sense to ask the users to decide individual database quota increases. It is unlikely anyone will be able to make a meaningul decision. - Introduce a global limit for all WebStorage content. This is shared between Database and AppCache. - Make the quota increase decision automatic - Treat out-of-space situations by creaying a system notification (TODO).
/packages/apps/Browser/src/com/android/browser/WebStorageSizeManager.java
|