977 Commits

Author SHA1 Message Date
Eric Fischer
380dcb4d3f Import revised translations.
Change-Id: Id1dc8ed9e570a81fe25088df3bca5e206f04b1ad
2011-08-05 16:55:39 -07:00
Daniel Sandler
6cf602cd1d Fix crash in log message.
Bug: 5126593
Change-Id: I2214e48de4d0f858b9b23c431bdf91078cc0ccd6
2011-08-05 13:20:53 -04:00
Daniel Sandler
319d1e3b28 Stop popping up the compatibility mode dialog all the time.
(The check for whether the dialog had already been shown was
accidentally removed in change I1c1bd12.)

Bug: 5069310
Change-Id: I2ea35c5891667922e78d7919132ffe599411f851
2011-08-05 11:35:47 -04:00
Daniel Sandler
c803422bed Merge "Clear all notifications on tablet actually works now." 2011-08-05 04:46:09 -07:00
Daniel Sandler
69ecb0a08a Merge "Instrumentation to track notification panel touch bugs." 2011-08-05 04:45:53 -07:00
Ken Wakasa
bd391ba1f2 Suppress the IME switcher icon by default on tablet
bug: 5001205
Change-Id: I8c983808078d984d1d25e985e23ab036b869332e
2011-08-05 18:17:30 +09:00
Daniel Sandler
06a0d4b5c3 Clear all notifications on tablet actually works now.
Also, the panel is no longer buried below the screen edge
when there are no notifications.

Bug: 5115158
Change-Id: I01bc8a65ceebd64143a4c4c52d63641dc3cd1c77
2011-08-05 00:29:58 -04:00
Daniel Sandler
96e61c3c86 Instrumentation to track notification panel touch bugs.
Bug: 5122306
Bug: 5105599
Change-Id: I2ca677d71daf9c6d5931ae933b3ab496620ab564
2011-08-04 22:49:06 -04:00
Daniel Sandler
f48fd822e0 Fix another NPE.
Bug: 5122306
Change-Id: I6877528325d30bb725f8692c86a8752263b5344e
2011-08-04 15:57:39 -04:00
Daniel Sandler
d3ffa270e0 Merge "Log some signal condition diagnostics for now." 2011-08-04 09:56:53 -07:00
Daniel Sandler
f91f0905e4 Merge "Fix NPE on first-ever boot if display has rotated." 2011-08-04 08:46:20 -07:00
Daniel Sandler
8d77e7714b Merge "Restore DISABLE_NOTIFICATION_ICONS." 2011-08-04 08:44:51 -07:00
Daniel Sandler
96f3b6f010 Fix NPE on first-ever boot if display has rotated.
Bug: 5116154
Change-Id: I8c91fa9eae24c6cb25f4431da00dc4b527124ae3
2011-08-03 21:45:28 -04:00
Mike Lockwood
e2e7b1e2dc Merge "Add support for localizing order of day of week and date in status bar date view" 2011-08-03 18:35:23 -07:00
Daniel Sandler
60b3e9c157 Log some signal condition diagnostics for now.
Bug: 5103241
Change-Id: Id780a3e535270c53e5f1b531c761ca5010291040
2011-08-03 21:26:03 -04:00
Mike Lockwood
ec9a50bccf Add support for localizing order of day of week and date in status bar date view
In Japanese, the day of week should follow the date

Bug: 4606219

Change-Id: If385b3f9989bbe5f1b4bc21293d9be651e187c1f
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-03 15:29:02 -04:00
Daniel Sandler
8e41f3158d Restore DISABLE_NOTIFICATION_ICONS.
Bug: 5054828
Change-Id: I621f5ef9281eb9593525faf7dd7be42def653970
2011-08-03 14:08:12 -04:00
Dianne Hackborn
59aed3885e Put back the status bar animations.
Change-Id: I9b326e8da9fa17878dde8a83c6551e9eb600bb7e
2011-08-02 22:53:31 -07:00
Dianne Hackborn
f4461fc5a6 Merge "Reduce memory usage of status bar expanded view." 2011-08-02 22:48:16 -07:00
Dianne Hackborn
1dacf2772d Reduce memory usage of status bar expanded view.
It was configuring this to have its width follow the display size
but height be a fixed amount.  As a result, during a rotation we
would end up with a surface that is 800x712, which uses a lot more
memory.

The fix is to just always set the window to a fixed size, changing
it when the display size changes.

Also the expanded view was setting itself to use a hardware layer
for no reason -- it is a top view so there is no point in this,
and anyway it is doesn't even use hw rendering.  This saves 1.5MB
of the layer bitmap.

This change also fixes the returned problem where the expanded
view would flicker when pulling it down in landscape.

Change-Id: If57420b0bc3fdc2706d2d3b36cb2d287b5fc9e27
2011-08-02 22:37:42 -07:00
Dianne Hackborn
5857bceaea Merge "Clear the bitmap from the canvas in a lot of places." 2011-08-02 16:57:50 -07:00
Dianne Hackborn
6311d0a079 Clear the bitmap from the canvas in a lot of places.
Change-Id: I6b2071ac7b348c473b9bdd1b972d095aebbb4fb3
2011-08-02 16:37:58 -07:00
Eric Fischer
147200b2c4 Merge "Import revised translations." 2011-08-02 15:24:05 -07:00
Eric Fischer
5a4e75e2e2 Import revised translations.
Change-Id: If420bd92ac6f84a7ecfa57b48477815ac392cb3f
2011-08-02 11:06:38 -07:00
Daniel Sandler
2124ef9ebe Merge "Refresh tablet notification drawer." 2011-08-02 04:39:46 -07:00
Daniel Sandler
da2089695e Merge "Merging ongoing + latest notifications on phone UI to match tablets." 2011-08-02 04:39:35 -07:00
Daniel Sandler
1347c30824 Refresh tablet notification drawer.
* New "X" button appears in the system bar, allowing the
    user to clear all notifications. Only appears when the
    notifications list is showing and there are clearable
    items. (Note: the textual button on phones has also been
    replaced with an X.)

  * Updated panel background artwork and positioning.

  * Removed a bunch of old art.

Bug: 4970588
Bug: 4974043
Bug: 3509407 (regression)

Change-Id: Ibadb638cd18c4faa751cd1f311d73ceda65cb3ca
2011-08-02 01:38:55 -04:00
Daniel Sandler
7c3e39de22 Merging ongoing + latest notifications on phone UI to match tablets.
Change-Id: Ie8ee72137e9eeb6740f3d113d5331e8cba629ab2
2011-08-01 23:26:21 -04:00
Dianne Hackborn
ba39839444 Move ImageWallpaper to SystemUI process.
Nice to not load 4MB bitmaps in the system process.

Also, hey, with how we are now scrolling the surface instead of
the bitmap, there is no reason to keep that 4MB bitmap loaded in
to memory.  So don't.

Unfortunately it looks like for some reason the VM is still
holding on to the bitmap.  I'll need to figure out why.  Later.

Change-Id: Ib3503756144502fc5c8d5e294248c2417c4fe8c8
2011-08-01 17:55:54 -07:00
Brett Chabot
9101a02963 Merge "Add functional test for screenshots." 2011-08-01 15:07:01 -07:00
Daniel Sandler
2fb30a92d5 Quick fix for NPE in updateNotification().
When the "ongoing"/"latest" split is removed, this will be
replaced with something less odious.

Bug: 5090331
Change-Id: Ib804de66985ff5f5df2e1df3c85437a1e31f1c49
2011-07-29 12:50:06 -04:00
Daniel Sandler
f3f2011285 Fix NPE for devices with hardware navigation.
Bug: 5095974
Change-Id: I4d8c39fbff6feb7b65055938ac0f725faaa6e6a3
2011-07-29 12:41:54 -04:00
Daniel Sandler
dfab18171c Protect animation methods from Proguard.
Bug: 5096417
Change-Id: I5546dfe0092747c311836bb2134b52be58d77b98
2011-07-29 12:41:25 -04:00
Daniel Sandler
94eea0b26e Merge "Bring the shiny navigation button animations to phones." 2011-07-29 06:48:43 -07:00
Daniel Sandler
53f2531ba7 Merge "The fullest of fullscreen modes." 2011-07-29 05:45:55 -07:00
Daniel Sandler
5298582717 Bring the shiny navigation button animations to phones.
Also fix the accessibility descriptions (bad merge?).

Bug: 4541219
Change-Id: I8a8e2a14e5557c45af0b9e74b0bd654ff804aab9
2011-07-29 08:44:09 -04:00
Daniel Sandler
cdbb950afe Merge "New richly-appointed navigation buttons." 2011-07-29 04:52:44 -07:00
Daniel Sandler
a375c94fca New richly-appointed navigation buttons.
- Beautiful new touch feedback animations
 - Romantic icon dimming
 - Supple Corinthian leather

Bug: 4541219
Change-Id: I8c4e1ec73aba910a17001795d2b03200c5af1788
2011-07-29 00:38:55 -04:00
Brett Chabot
caf30a18b5 Add functional test for screenshots.
Change-Id: Ice2cbc656f9814da7d0634644a250c1af9243ad1
2011-07-28 19:52:49 -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
Daniel Sandler
60ee25643e The fullest of fullscreen modes.
View.setSystemUiVisibility() now properly accepts a
bitfield, including:

  * SYSTEM_UI_FLAG_LOW_PROFILE: "lights out mode"
    (previously known, erroneously, as STATUS_BAR_HIDDEN)

  * SYSTEM_UI_FLAG_HIDE_NAVIGATION: for when you need every
    single pixel on a device that also has a navigation bar

These flags are painstakingly aggregated across the entire
view hierarchy and carefully delivered to the status bar
service, which in turn gently passes them along to the bar
implementation.

To really get access to the whole screen, you need to use
HIDE_NAVIGATION in conjunction with FLAG_FULLSCREEN and
FLAG_LAYOUT_IN_SCREEN. See development/samples/Overscan for
an example of how to do this.

Change-Id: I5fbfe009d9ceebbbf71db73f14a7008ea7c1d4da
2011-07-28 15:18:32 -04:00
Michael Jurka
e9166ede07 Dismiss Recent Apps when Back is pressed
Change-Id: I17a1ee9683910113d822a084f804646580ab43cb
2011-07-28 10:45:10 -07:00
Daniel Sandler
6d96dd0140 Merge "Restore status icons to former size & opacity on tablets." 2011-07-27 16:36:11 -07:00
Jeff Brown
3d5a703db8 Merge "Report the external display size to the input reader." 2011-07-27 15:54:50 -07:00
Daniel Sandler
88d6877223 Restore status icons to former size & opacity on tablets.
Bug: 5086130
Change-Id: Ie1d86f8d40882d0f8193a85295a5a45ce0fe53c5
2011-07-27 16:33:39 -04:00
Jeff Sharkey
41ff7ec824 Revise data limit notifs, watch kernel alerts.
Teach NetworkPolicy limits to "snooze" when requested by user, and
notify with both dialog and notification.  Register for network alerts
through NMS to trigger updates immediately instead of waiting for
next stats update.

Enforce that all NetworkPolicy are unique on a template basis, and
move SCREEN_ON/OFF broadcasts to background thread.  Launch SystemUI
and Settings directly instead of using actions, and include full
NetworkTemplate in extras.

Tests to verify notification and snooze behavior.

Bug: 5057979, 5023579, 4723336, 5045721
Change-Id: I03724beff94a7c0547cb5220431ba8d4cd44d077
2011-07-27 09:31:39 -07:00
Daniel Sandler
26c84b139f Smaller, darker notification icons.
(Still need to attempt to mipmap them but this will do for
now.)

Bug: 4691635
Change-Id: I8793d6a453fcbe0c2ce30b6349e4e5ef3f1a6e56
2011-07-27 00:09:40 -04:00
Mike Lockwood
7c0d89ac97 Merge "GlobalScreenshot: Set image file size in media database when taking screenshots" 2011-07-26 16:42:43 -07:00
Mike Lockwood
9837734b64 GlobalScreenshot: Set image file size in media database when taking screenshots
Otherwise the value would be left at zero since we are inserting
the database record before writing the file

Bug: 5064246

Change-Id: I54be6ff14a7f170994aaf586aaddb06c5b746e89
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-07-26 16:58:14 -04:00
Eric Fischer
821e7a65fa Merge "Import revised translations." 2011-07-26 13:12:58 -07:00