23427 Commits

Author SHA1 Message Date
Justin Ho
7b3fd1a53d Updated ActionBar assets
Change-Id: Ia4261a41d97b3ac9206c9dd40e129dcbed96f4fd
2011-07-06 17:12:49 -07:00
Adam Powell
35aecd5884 Updates for action menus
Sync with UX designs for action menus in split action bar mode.
Layout is now based on a grid cell scheme.

Tweak action menu item layouts.

Fix some bugs with drawing LinearLayout dividers.

Rename config resources to follow convention.

Action bar menu items now show text in ALL CAPS. This is done in a
locale-dependent manner, but if it produces problems in specific
locales the config resource config_actionMenuItemAllCaps should be set
to false for that locale.

Change-Id: I064c2dd85e012e89551f29153efcfc17f9106333
2011-07-06 16:30:38 -07:00
Christopher Tate
6f2e4d1021 Merge "Remove unused object" 2011-07-06 15:31:56 -07:00
Christopher Tate
b848b7a99c Remove unused object
Change-Id: I98c55432c26ccc4e8421db46c9f825cb42772508
2011-07-06 15:31:07 -07:00
Christopher Tate
28db8b944a Merge "Make full backup API available to apps" 2011-07-06 14:48:43 -07:00
Shimeng (Simon) Wang
a0c26920b6 Merge "Treat restored defaultScale as overview." 2011-07-06 14:40:53 -07:00
Christopher Tate
79ec80db70 Make full backup API available to apps
New methods for full backup/restore have been added to BackupAgent
(still hidden): onFullBackup() and onRestoreFile().  The former is the
entry point for a full app backup to adb/socket/etc: the app then writes
all of its files, entire, to the output.  During restore, the latter
new callback is invoked, once for each file being restored.

The full backup/restore interface does not use the previously-defined
BackupDataInput / BackupDataOutput classes, because those classes
provide an API designed for incremental key/value data structuring.
Instead, a new FullBackupDataOutput class has been introduced, through
which we restrict apps' abilities to write data during a full backup
operation to *only* writing entire on-disk files via a new BackupAgent
method called fullBackupFile().

"FullBackupAgent" exists now solely as a concrete shell class that
can be instantiated in the case of apps that do not have their own
BackupAgent implementations.

Along with the API change, responsibility for backing up the .apk
file and OBB container has been moved into the framework rather than
have the application side of the transaction do it.

Change-Id: I12849b06b1a6e4c44d080587c1e9828a52b70dae
2011-07-06 14:40:32 -07:00
Shimeng (Simon) Wang
1bf0456b29 Treat restored defaultScale as overview.
Since usually restored defaultScale means previous scale is not saved.

issue: 4975315
Change-Id: Icc34469d0459fb5254567fe9f3cc5032b6349405
2011-07-06 14:30:38 -07:00
Isaac Levy
a7bc1135c2 Moved WifiWatchdogService and DnsPinger
- Moved WWS and DnsPinger in prep for StateMachine rewrite
 intent.

Change-Id: I912ca80d31ee2ded99eb345a2e5a55d01bd9910c
2011-07-06 13:54:48 -07:00
Brian Carlstrom
be87cc945b Merge "Adding additional details to ssl_certificate view" 2011-07-06 12:39:25 -07:00
Brian Carlstrom
4a06281052 Adding additional details to ssl_certificate view
Change-Id: I3da80988b749fe60174c3c8df856d714ede518ba
2011-07-06 12:07:41 -07:00
Gloria Wang
2da9eb7175 Merge "- Retrieve is_drm in MediaMetadataRetriever. - Add one more column in MediaStore to indicate whether a media file is drm-protected. - Remove old DRM code from Ringtone - Use the new DRM code in RingtoneManager" 2011-07-06 09:22:05 -07:00
Justin Ho
4481c35567 Merge "Updated Action Bar up affordance and menu button, refresh of ic_menu from designer tree Adding all xhdpi versions of these assets as well." 2011-07-06 08:04:06 -07:00
Robert Greenwalt
37dbfcaf83 am 7022db4c: am 2b62c4fb: am 38bb0123: Merge "Added methods to support dns cache per interface"
* commit '7022db4cd2ca3721631595d7379eabb2cc77f6a9':
  Added methods to support dns cache per interface
2011-07-06 07:48:21 -07:00
Robert Greenwalt
2b62c4fbfe am 38bb0123: Merge "Added methods to support dns cache per interface"
* commit '38bb0123b8b9857c3119fd359739daf872f619d6':
  Added methods to support dns cache per interface
2011-07-06 07:35:02 -07:00
Narayan Kamath
e074e221a8 Merge "Minor changes to AudioTrack handling" 2011-07-06 02:01:48 -07:00
Narayan Kamath
9637198699 Minor changes to AudioTrack handling
Based on a discussion with the media folks.

Change-Id: I290cec062fcb53fccae1fd92387439448a54e81c
2011-07-05 15:46:53 +01:00
Steve Block
324a1f6a12 Merge "Clarify the documentation for WebView.loadDataWithBaseURL() when the base URL uses the 'data' scheme" 2011-07-05 07:43:56 -07:00
Steve Block
b4db3964f1 Merge "Maintain a reference to the Java object when WebView.removeJavascriptInterface() is called" 2011-07-05 06:34:57 -07:00
Debashish Chatterjee
331b6c4316 Merge "Introduced a common SOURCE_PACKAGE_FIELD in VoicemailContract class." 2011-07-05 01:45:44 -07:00
Debashish Chatterjee
1752ae72ce Introduced a common SOURCE_PACKAGE_FIELD in VoicemailContract class.
This ensures that we use the same field name for both status and
voicemail tables.

Change-Id: I9f699939b8434bd41b5382e49dea63516cfce346
2011-07-05 09:13:30 +01:00
Debashish Chatterjee
5de53944e0 Merge "Got rid of deprecated fields from VoicemailContract api." 2011-07-04 10:45:33 -07:00
Steve Block
e482d89b82 Clarify the documentation for WebView.loadDataWithBaseURL() when the base URL uses the 'data' scheme
Bug: 4726284
Change-Id: If4fd3c1a6517a69e0b007f8a67563330eca04449
2011-07-04 18:25:01 +01:00
Steve Block
3af08a975a Merge "Clarify documentation for WebView.loadData()" 2011-07-04 10:06:31 -07:00
Debashish Chatterjee
9b8dd63445 Got rid of deprecated fields from VoicemailContract api.
No one should now be using these fields. SOURCE_CONTENT_URI was not
marked deprecated, but following a recent change in content provider
this field is also no more in use.

Change-Id: I58bb7872ba2f6cec169499d1a01d755232dde2f0
2011-07-04 15:19:23 +01:00
Steve Block
b28b22af13 Clarify documentation for WebView.loadData()
This method can access the network, but is subject to the usual same
origin policy.

Bug: 4985285
Change-Id: Ia3afa6ed1eeea9127d3ba5a2ecfead8149138b8e
2011-07-04 13:01:25 +01:00
Steve Block
2cb978e507 Maintain a reference to the Java object when WebView.removeJavascriptInterface() is called
The Java object should remain usable until the WebView is navigated
away from the current page. The native side holds only a weak
reference, so we need to keep a reference Java-side.

Bug: 4990734
Change-Id: I40bd078f779228480cfe6f52d9feb4e60c963b4b
2011-07-04 12:19:17 +01:00
Chia-chi Yeh
0d244a6fea Merge "VPN: implement status report for legacy VPN." 2011-07-04 03:38:16 -07:00
Chia-chi Yeh
2e46764a70 VPN: implement status report for legacy VPN.
Change-Id: I81c28dafd9588572df76cbc303b0d6a0f41f9bc6
2011-07-04 03:23:12 -07:00
Steve Block
fc8a3b222a Merge "Fix WebViewFragment to avoid detroying the WebView too early" 2011-07-04 02:11:38 -07:00
Debashish Chatterjee
29c1575bf6 Android security code review.
For now only contains a whitespace change per file to enable creating a
valid change list.

Change-Id: I0ea8ed6d44c3b7f0a779bc163f39fd304b4361e1
2011-07-04 09:49:01 +01:00
satok
35412d63ee Fix NPE in InputMethodSubtype
Change-Id: Iec8b2f95660db3edec18c2fc38db8f16395739b5
2011-07-04 17:37:09 +09:00
Chia-chi Yeh
100155a310 VPN: convert prepare() into a form which helps solve race conditions.
When someone tries to revoke packageA, it is possible that packageA is
already revoked by packageB. In this case packageB should not be revoked,
and the new prepare() can help solve this problem.

Change-Id: Iee056a191dd99467b8ad1b5379a17b02d404bad1
2011-07-03 17:03:27 -07:00
Chia-chi Yeh
34e7813e96 VPN: minor refinement.
Change-Id: I2b59cbe8554b6c6f8da48c465252489394f32653
2011-07-03 03:07:07 -07:00
Chia-chi Yeh
44e27b5c74 VPN: remove the old VpnService.
Now VPN is (kind of) integrated into ConnectivityService.

Change-Id: If98e456e779f8e97f562d99c57d909b1f5d9db55
2011-07-02 20:21:09 -07:00
Chia-chi Yeh
0c6bb2737e Merge "VPN: export legacy VPN in IConnectivityManager." 2011-07-02 17:28:45 -07:00
Chia-chi Yeh
77fd485c2f VPN: export legacy VPN in IConnectivityManager.
Change-Id: I016fe056ceab39ffc36aa235d14b30a9f094a2e1
2011-07-02 17:15:00 -07:00
Chia-chi Yeh
d6315c0ebb Merge "VPN: give legacy VPN a fake package name." 2011-07-02 03:19:48 -07:00
Chia-chi Yeh
e9107901ae VPN: give legacy VPN a fake package name.
And add more comments.

Change-Id: I0cbc495fcb2c8dd105e16a841619b3b9bd227eae
2011-07-02 01:48:50 -07:00
Svetoslav Ganov
51ac0e94a8 Adding a ShareView and ActionProvider for menus.
1. Adding a widget for sharing contenet with other applications.
   The widget orders the share targets based on previous shares.
   It displays the share target list as either a popup anchored to
   itslef or as a dialog.

2. Added a ShareDataModel that will back widgets or other classes
   that are interested in share targets for a given intent ordered
   according to share history. This class is backing the ShareView

3. Added ActionProvider mechanism for the MenuItems. The action
   provider of a menu creates the action view as well as performs
   a default action if the menu item is on the overflow menu and
   is triggered but none of the menu callback has handled that.

bug:4590827

Change-Id: Iaa4add2df2538b8c6c7edbeaf2880486d4fd75c5
2011-07-01 23:35:26 -07:00
Jeff Brown
a4d1bc5172 Drop obsolete touch screen hacks.
Change-Id: I47354c37ee2cc2b36340eb709bb5043b3ba78ed9
2011-07-01 19:23:40 -07:00
Gloria Wang
82428a862f - Retrieve is_drm in MediaMetadataRetriever.
- Add one more column in MediaStore to indicate whether a
  media file is drm-protected.
- Remove old DRM code from Ringtone
- Use the new DRM code in RingtoneManager

Change-Id: I1311fd1c04841c2cd47df6c901589966cf55a692
2011-07-01 16:52:28 -07:00
Fabrice Di Meglio
f03712bf54 Merge "Fix default TextView textDirection heuristic" 2011-07-01 15:35:52 -07:00
Jake Hamby
02cc72c100 Merge "Fix IllegalStateException when A2DP connects before boot completes." 2011-07-01 14:47:50 -07:00
Fabrice Di Meglio
0b28c757ad Fix default TextView textDirection heuristic
- use "first strong" instead of "locale"
- optimize "any rtl" heuristic too
- fix a few wording issues too

Change-Id: I239a11a49a7a6a6d45165f593c96e8b6b84f0661
2011-07-01 14:44:29 -07:00
Gilles Debunne
171c60e81f XmlDocumentProvider moved to the XmlAdapter sample code
Bug 4477831

Related to CL https://android-git.corp.google.com/g/#change,112514

Change-Id: Ib63a0bf5d2a868433748dec1a45576ca2fa18045
2011-07-01 14:30:13 -07:00
Amith Yamasani
b5760ade49 Merge "Restore some lost space in the SearchView text field in Search Dialog." 2011-07-01 14:20:24 -07:00
Fabrice Di Meglio
0e591ab277 Merge "Add charCount heuristic to TextView textDirection" 2011-07-01 14:15:08 -07:00
Fabrice Di Meglio
8f5026562f Add charCount heuristic to TextView textDirection
- threshold set to 60% (using a constant)
- fix also one issue during layout direction resolution (parent could be null so delay resolution
up to when parent is no more null)

Change-Id: I65f24a297aac6bc0d5d482ee31b55db0b201e5bf
2011-07-01 14:08:19 -07:00
Amith Yamasani
a40d7ec7ef Restore some lost space in the SearchView text field in Search Dialog.
A defunct invisible drawable was taking up some pixels in the Search Dialog's text field.
Disabled the drawable until the spinner functionality is revived.

Change-Id: Icfcc51d7b1215e54f9e291d0051e8b42c208a725
2011-07-01 13:50:04 -07:00