1846 Commits

Author SHA1 Message Date
Christopher Tate
3851fa9c8d Handle rotation gracefully in the backup/restore confirmation UI
We now don't automatically deny the operation if stopped, but instead
allow the activity to be destroyed and recreated as usual.  We retain
the observer instance across that sequence so we keep getting progress
reports etc.

The UI now also uses the spiffy new button bar styles, and positions
the deny / confirm buttons according to ICS standards.

Bug 5115411

Change-Id: Ie760a0c8496c69f9d5881273a63ad5b5b76ff554
2011-08-05 13:18:08 -07:00
Amith Yamasani
284585aa83 Merge "Don't change system sound defaults for upgrades." 2011-08-05 11:02:55 -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
f35ed37321 Merge "Fix another NPE." 2011-08-04 19:15:49 -07:00
Amith Yamasani
e6087d7715 Don't change system sound defaults for upgrades.
This reverts an earlier change that reset the system sound defaults even
for upgrades.

Bug: 5114198
Change-Id: Ide0afbd26080ba87d177cedfa9b1d50352857a00
2011-08-04 15:51:32 -07:00
Chia-chi Yeh
b234636105 Merge "VPN: move away from the VPN permission." 2011-08-04 13:04:51 -07: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
Christopher Tate
ab104b2c03 Merge "Make backup/restore confirmation UI landscape-friendly" 2011-08-03 17:37:56 -07:00
Christopher Tate
31deacf6f5 Make backup/restore confirmation UI landscape-friendly
Now the textual content and password fields are placed in scroll view,
and the confirm/deny buttons pinned at the bottom of the layout.
Previously, in landscape mode on some devices the buttons would be
pushed off screen.

Bug 5115411

Change-Id: I8bf8fd1516735bf6111893df79636b519dbfb803
2011-08-03 17:31:52 -07:00
Kenny Root
01704e76fa Merge "Better error codes for missing files" 2011-08-03 17:09:38 -07:00
Kenny Root
1ebd74acf9 Better error codes for missing files
Make sure that files that don't exist aren't returning bogus 'out of
space' error codes.

Add some Javadoc so I can remember what each thing does in an IDE.

Add copyright header to NativeLibraryHelper

Bug: 3375299
Change-Id: Iac46019160921daca65b21d38897e5165063316e
2011-08-03 16:03:42 -07:00
Chia-chi Yeh
fcc1b41b66 VPN: move away from the VPN permission.
VpnBuilder will be replaced by VpnService in the next change.

Change-Id: I2dea67a1616b74d17b372f7b214d207f1617198e
2011-08-03 15:52:12 -07: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
Amith Yamasani
b0a20e47dd Merge "Volume panel changes." 2011-08-02 11:51:57 -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
Amith Yamasani
42722bfa13 Volume panel changes.
Combined volume panel only in tablets. On phones show active volume.
Added dummy assets for ring+notification icon.

Deprecated the NOTIFICATION_USES_RING_VOLUME. Now they are always
tied together. Audio manager changes still required to ensure that.

Initialize all feedback sounds to true.

Change-Id: I3ad7890c9be9334eedb5f3b709a4b6995fe24638
2011-08-01 16:45:28 -07:00
Brett Chabot
9101a02963 Merge "Add functional test for screenshots." 2011-08-01 15:07:01 -07:00
Christopher Tate
e0fe39387a Merge "Require the current backup pw in all backup/restore operations" 2011-07-29 11:20:45 -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