23896 Commits

Author SHA1 Message Date
satok
f7be31ee10 Merge "Handle the existing binds to spell checkers correctly." 2011-07-28 18:09:59 -07:00
Jim Miller
ae5a9d4a92 Merge "Fix 5044158: Initial pass: add music transport controls to LockScreen" 2011-07-28 18:04:21 -07:00
satok
6be6d7548f Handle the existing binds to spell checkers correctly.
Change-Id: I32efce9f8c09b5a829b0431e8c444fc54b03b440
2011-07-29 09:57:07 +09:00
Jim Miller
6b05d58018 Fix 5044158: Initial pass: add music transport controls to LockScreen
Refactored all lockscreen notifications to go through new KeyguardStatusViewManager.
This is required to intercept messages originally intended for separate TextViews that
are now shown in a single view when showing the transport control view.

Refactor EmergencyCallButton to be handled by common code in KeyguardStatusViewManager.

First pass at LockScreenWidgetCallback for LockScreen "widgets" to send events back to LockScreen.

First pass at LockScreenWidgetInterface, which will be required of Views that want to be rendered on
LockScreen.

Added place-holder TransportControlView until the real one is ready and integrated it into GridLayouts.

Ensured emergencyCallButton is in all views, even if not shown since some devices may lock the user
out if certain criteria isn't met (missing SIM, etc).

Refactored layouts and removed keyguard_screen_status*.xml since layouts are all over the map and
no longer make good use of a shared layout for this.

Minor tweak to MultiWaveView to fix layout issues when placed in GridLayout where the measurement
was being calculated improperly.

Moved EmergencyCallButton to bottom of view where we can.

Removed unused Alpha keyboards from tablet password unlock layouts.

Removed unused views (status2, emergencyCallText screenLocked) from layouts and made common views have common names.

Fixed bug with MultiWave layout in landscape where array was shown in wrong orientation.

Separated clock colors for phones/tablets since they're now different.

Converted remaining phone layouts to use GridLayout.

Start routing audiomanager events to lockscreen views.

Move emergency call button handling to KeyguardStatusViewManager.

Change-Id: I480b0346cfe19aad316fea0c0aaabf8862693636
2011-07-28 17:54:06 -07:00
Matthew Xie
6903a7de88 Merge "Provide an API to set the friendly name of a remote device." 2011-07-28 17:46:45 -07:00
Chris Craik
318fecea61 Merge "use pageswap callback to sync WebTextView with drawing of page" 2011-07-28 17:23:57 -07:00
Wu-cheng Li
38e16c6e74 Merge "Add frame metadata parameter to camera data_callback." 2011-07-28 17:23:35 -07:00
Adam Powell
80df829e35 Merge "Fix bug 5079507 - ICS (phone) : ActionBar tabs don't correctly resize if activity handles orientation change" 2011-07-28 16:40:03 -07:00
Justin Ho
f49b996385 Merge "Updated popup assets Bug: 5080369" 2011-07-28 16:39:36 -07:00
Justin Ho
f71c8a6e63 Merge "Updated spinner assets Bug: 5076695" 2011-07-28 16:39:21 -07:00
Justin Ho
4a66aeb0e2 Merge "Updated check_on and check_off" 2011-07-28 16:38:52 -07:00
Christopher Tate
0a779813e1 Merge "Support full-backup encryption and global backup password" 2011-07-28 16:28:21 -07:00
Irfan Sheriff
8d88cde56d Merge "Changed walled garden to better url" 2011-07-28 16:24:38 -07:00
Wu-cheng Li
f0d6a48c6a Add frame metadata parameter to camera data_callback.
bug:4460717
Change-Id: Ib47d7d7df20af8155a719f3dabefe030893bfebc
2011-07-29 07:14:38 +08:00
Adam Powell
45c0b1954d Fix bug 5079507 - ICS (phone) : ActionBar tabs don't correctly resize
if activity handles orientation change

Make sure that bar content height and sizing/layout parameters are
properly updated after a configuration change.

Change-Id: I886df5cd9a655ba1bd34fab2b48e8b5be67fcc32
2011-07-28 16:14:19 -07:00
Isaac Levy
88bae17cfd Changed walled garden to better url
Now checking for walled gardens using 204 error code on
http://clients3.google.com/generate_204

Change-Id: I0a00dc8b956f35f6695d2085c9f03ce40dc7e231
2011-07-28 16:07:05 -07:00
Christopher Tate
2efd2dbbac Support full-backup encryption and global backup password
If the user has supplied a backup password in Settings, that password
is validated during the full backup process and is used as an encryption
key for encoding the backed-up data itself.  This is the fundamental
mechanism whereby users can secure their data even against malicious
parties getting physical unlocked access to their device.

Technically the user-supplied password is not used as the encryption
key for the backed-up data itself.  What is actually done is that a
random key is generated to use as the raw encryption key.  THAT key,
in turn, is encrypted with the user-supplied password (after random
salting and key expansion with PBKDF2).  The encrypted master key
and a checksum are stored in the backup header.  At restore time,
the user supplies their password, which allows the system to decrypt
the master key, which in turn allows the decryption of the backup
data itself.

The checksum is part of the archive in order to permit validation
of the user-supplied password.  The checksum is the result of running
the user-supplied password through PBKDF2 with a randomly selected
salt.  At restore time, the proposed password is run through PBKDF2
with the salt described by the archive header.  If the result does
not match the archive's stated checksum, then the user has supplied
the wrong decryption password.

Also, suppress backup consideration for a few packages whose
data is either nonexistent or inapplicable across devices or
factory reset operations.

Bug 4901637

Change-Id: Id0cc9d0fdfc046602b129f273d48e23b7a14df36
2011-07-28 16:01:20 -07:00
Matthew Xie
269e81a563 Provide an API to set the friendly name of a remote device.
BluetoothDevice setName overwrite the locally cached remote name.
The changed name is saved in the local storage so that the change
is preserved over power cycle.
bug 5081605
Change-Id: I486966033828d153bfb1076a99e274c8a7f41636
2011-07-28 15:56:11 -07:00
Chris Craik
5cf78f7bd8 use pageswap callback to sync WebTextView with drawing of page
bug:5008210

Redraw the WebTextView when the page swaps (and thus the background is updated)
That way it updates at (approximately) the same time as the page. In software
rendering, do as before.

Depends on following external/webkit change:
https://android-git.corp.google.com/g/#change,124606

Change-Id: I59d7266a49d0ba734efdb88fef5fafe68aecfbce
2011-07-28 15:42:58 -07:00
Adam Cohen
c9c4c2dad6 Merge "Fixing widget notifyDataSetChanged() not getting called, issue 5092676" 2011-07-28 15:36:19 -07:00
Justin Ho
0e15847cef Updated popup assets
Bug: 5080369

Change-Id: Ib7cca68dd2a8db416fd56e7303c12f0c1e5cd484
2011-07-28 15:15:52 -07:00
Justin Ho
491345b80b Merge "Updated presence icons Bug: 5045000" 2011-07-28 15:13:55 -07:00
Justin Ho
d1d223d570 Updated presence icons
Bug: 5045000

Change-Id: I05c83bd74e4959374e6f42897b984db5e74e0e9f
2011-07-28 15:07:41 -07:00
Justin Ho
03d43f8f43 Updated spinner assets
Bug: 5076695

Change-Id: I5d842eb49075ebf697a6ee4241e3101cbe605a57
2011-07-28 15:01:01 -07:00
Adam Cohen
2148d43eb2 Fixing widget notifyDataSetChanged() not getting called, issue 5092676
Change-Id: I61a034a77c0c9d07aba71bfabe7a0864ce92c2e9
2011-07-28 15:00:38 -07:00
Justin Ho
ecfae1f4c1 Updated check_on and check_off
Open issues:
- btn_check_mixed
- btn_check_on_disable_* misnamed?

Bug: 5076695
Change-Id: I2cac714b5d0d873c774ccd06068799173a089e7a
2011-07-28 14:44:37 -07:00
Jeff Sharkey
c07cc99ebb Merge "Keep original DialogTitle color when resizing." 2011-07-28 14:16:50 -07:00
Svetoslav Ganov
8cbe6e8f12 Merge "Updating the data base upgrade/creation code for the new touch exploraion setting." 2011-07-28 12:29:29 -07:00
Adam Powell
7c8d19d53c Merge "Fix bug 5087752 - Maintain correct contrast against action bars in inverse-bar themes" 2011-07-28 11:58:21 -07:00
Adam Powell
88ab69780f Fix bug 5087752 - Maintain correct contrast against action bars in
inverse-bar themes

Add the actionBarWidgetTheme theme attribute. This lets a theme
specify a wrapper theme that can be used to create views that will
end up in the action bar so that the rest of the code can ignore
differences in contrast. (e.g. the inverse action bar themes.)

Apps can use ActionBar#getThemedContext() to obtain a Context with a
proper theme for views that will end up in the action
bar. MenuInflaters generated by Activities will automatically use this
to properly theme inflated action views.

Change-Id: Ib28c82bf47c25d446cca2a63f617b8a4a0afa6b2
2011-07-28 11:44:41 -07:00
Jeff Sharkey
5c848ce793 Keep original DialogTitle color when resizing.
Change-Id: Id9d3bf565cc5660ab37037e74be63221cd638ba6
2011-07-28 11:35:04 -07:00
Svetoslav Ganov
a28a16d1c2 Updating the data base upgrade/creation code for the new touch exploraion setting.
1. Update the database creation/upgrade code to take care of the new setting
   to enable touch exploration.

2. Made the tocuh exploration settings persistent to the cloud.

Change-Id: Ie24e9184b4a21869432d11d207cb6464fadbac3b
2011-07-28 11:26:02 -07:00
Svetoslav Ganov
a7ffaee298 Merge "AccessibilityNodeInfo reports no children for the topmost view in the tree." 2011-07-28 11:09:43 -07:00
Justin Ho
3c469975b0 Merge "Updated expander assets" 2011-07-28 10:39:36 -07:00
Martijn Coenen
9b3c83fbad Add constant for NFC sharing settings screen.
Change-Id: Ibeea153442110542f05d1ece57a7dc6388a91fbf
2011-07-28 12:37:18 -05:00
Adam Powell
b03c4af05e Merge "Fix bug 5087980 - MenuItem#expandActionView should work from within onCreateOptionsMenu" 2011-07-28 10:02:14 -07:00
Justin Ho
4e6d28cfdc Updated expander assets
Bug: 5088810
Change-Id: I57cb86eb3a977a6bc4d4a9de0d8a266c23dba24e
2011-07-28 10:00:11 -07:00
Kristian Monsen
77d739006a Merge "Part of fix for bug 4997380: Some error types unknown to SslError" 2011-07-28 06:50:40 -07:00
Jeff Sharkey
2043b01b20 Merge "Maintain separate "restrict background data" flag." 2011-07-27 22:08:02 -07:00
Jeff Sharkey
4664500de0 Maintain separate "restrict background data" flag.
Since "restrict background" depends on active networks, separate its
definition from setBackgroundDataSetting().

Bug: 4979025
Change-Id: I12bfe3a2e606375b39c67706270caa7a1bb0214e
2011-07-27 21:11:32 -07:00
Adam Powell
ccdd4ee44f Fix bug 5087980 - MenuItem#expandActionView should work from within
onCreateOptionsMenu

Initialize menu presenters early enough to respond to expanding an
action view within onCreateOptionsMenu.

Have SearchView show the IME as an async post to handle attempts to
show it while the UI is still in initial setup.

Change-Id: I77f3a94ed4397737edb5a7a15bf54993b6723f5e
2011-07-27 21:08:28 -07:00
Romain Guy
b6f7a27c59 Merge "Reclaim more memory, more often." 2011-07-27 18:53:32 -07:00
Romain Guy
65b345fa22 Reclaim more memory, more often.
Yay.

Change-Id: I04557ad575c307a55088549f48f0e9ad994b7275
2011-07-27 18:51:50 -07:00
Chia-chi Yeh
fcbb492486 Merge "Unhide APIs for user space VPN." 2011-07-27 18:35:51 -07:00
Jeff Sharkey
06a2895b58 Merge "Grant AID_NET_BW_STATS to system service." 2011-07-27 18:09:42 -07:00
Dave Santoro
1d55c3343d Added ACCOUNT_TYPE_AND_DATA_SET pseudo-column.
This was added to simplify some logic in the provider and app, as
there are places that can simply compare the concatenation of the
account type and data set.

Also added a DATA_SET extra for contact creation, to allow for this
value to be passed around via intents.

Bug 5077096

Change-Id: Ia0634cfcf4590fd90ccb5cb99360c38c86f08d25
2011-07-27 17:16:12 -07:00
Gilles Debunne
041eb4bddb Merge "Bug 4571327: error popup empty when displayed on top" 2011-07-27 16:47:26 -07:00
Romain Guy
c8ec222cd8 Merge "Destroy layers and flush layers cache when a window is destroyed." 2011-07-27 16:31:19 -07:00
Jeff Sharkey
e516893097 Grant AID_NET_BW_STATS to system service.
NetworkManagementService is reading stats /proc/ files, which are now
being protected by GID.

Bug: 5087530
Change-Id: I29b35a97ab621999544b6acc8ad4cf72ee053b79
2011-07-27 16:30:00 -07:00
Romain Guy
6d7475d666 Destroy layers and flush layers cache when a window is destroyed.
Change-Id: I3fa1bc3ff50fb99e3d2e490925bd6b0a0f809fff
2011-07-27 16:29:39 -07:00