This reverts CL https://android-git.corp.google.com/g/84508
After lengthy discussion we have decided that disabling CacheManager
is too risky for third-party apps, and that enough functionality is
still available for it to be useful.
WebView.loadUrl() will not add pages to the cache, but it is still
possible to add them manually via CacheManager.saveCacheFile().
Change-Id: I6cfd9f93bb8d685450f048375adad9d17fa4eeba
Dolphin crashed when sContext.getCacheDir got called too early.
This was because the let the user choose to use sdcard or
internal memory, and the choice was not yet made.
Change-Id: I8b3ba260c26233c6459efbb9e5e50fad2260a24d
Hide the close button in SearchView when there's no text in it and it's not iconified by default.
Bug: 3275206
Adds Holo.Light theme and fixes the query refinement icon.
Single line textView should impose their number of lines and their
transformation method.
Bug 3289818
Change-Id: If1f1252ded1250e2aff85f1c615cc2e17026ba1d
As discovered by jpa@, previously it was only in logcat -b events, not
-b main, which people don't typically watch.
Bug: 2964398
Change-Id: Id672dd936f1678dd347158428b0ca03e4ad1e2d4
BT can come up before the system boots up and we send a broadcast,
this can cause issues.
Bug: 3259948
Change-Id: I53ce6b9851fbf611309db1f0a16768ef9f388e0c
Long pressing a link may return an anchor, an image, or an
image in an anchor. Sometimes we want one, sometimes the other.
Make both available so the context menu can choose.
Update the documentation in WebView.java
Companion changes are in external/webkit, packages/apps/Browser
bug:3282745
bug:3263340
Change-Id: I9917a2c69d26601a230051f2e95c9464ba6155e9
CL 76118 introduced style customized tab layout. However, applications
which tabWidgetStyle has been overriden and does not inherit from
Widget.TabWidget will not be able to access tabLayout. Use the default
holo layout for these.
Bug 3235944
Change-Id: I5666c5ef2886060a2175a3d642b012cdaf0a1d50
{com.android.settings/com.android.settings.applications.StorageUse}
AbsListView could call mAdapter.getItemId() if a save state happened
after the data changed but before a layout occurred.
Change-Id: Ica020971dc458dff79b56dd810733e217f4f7da6
When we try to deduce the MIME type from the file extension of
a URL, strip the fragment off at the same time we are stripping
the query. Otherwise we end up trying to match against some
funny extensions.
Bug:3241908
Change-Id: Ibaa84f0a628f37cd012b6cfbed9a6a666ecae8bb
Add support for separate USB connected and configuration events
Include both USB connected/disconnected and configuration state
in USB_STATE Intent
Remove redundant USB_CONNECTED and USB_DISCONNECTED Intents
Now we just have the sticky USB_STATE broadcast
Move USB disconnnect rebouncing from Tethering to UsbService
Change-Id: Id13eb0c5d51152d2a538985d680ba1db7d2241dc
Signed-off-by: Mike Lockwood <lockwood@android.com>
Issue #3169193: com.google.android.youtube: java.lang.NullPointerException
at com.google.android.youtube.async.UserAuthorizer$3.onCancel(UserAuthorizer.java:324)
A little protection against calling onCancel() after a dialog has been
dismissed.
Change-Id: I7a64c94703da012ce303308563e4a8ed3cb125d3
Also, changes to make this testable with CTS:
-- special PENALTY_DEATH StrictMode fast path that doesn't use
the Looper idling to "time" the violation. Only used when
death is the only violation,
-- make PENALTY_DEATH throw a RuntimeException instead of
killing its process with a signal. this means we can catch
it in CTS tests, but it's also more consistent with
PENALTY_NETWORK_DEATH in Honeycomb.
-- make FileUtils.getFileStatus() invoke StrictMode, which isn't
(yet?) aware of I/O in native code. so help it out.
CTS test for MODE_MULTI_PROCESS is in I6154edab
Change-Id: Icf93f9dfb0ece06b16781e4803dd2c17df3cf1b3