2598 Commits

Author SHA1 Message Date
Daniel Sandler
58b173b1ca Hide icons for low-priority notifications.
Anything below PRIORITY_LOW will usually be hidden (unless
the NotificationManagerService has a compelling reason to
adjust the priority).

Bug: 6357857
Change-Id: Ic8a806a6db87b0473014a5d006279991272a44ea
2012-05-03 11:25:29 -04:00
Daniel Sandler
c5d76e041a Merge "Move bar panels above the system bar window layer." into jb-dev 2012-05-03 08:02:56 -07:00
Daniel Sandler
4ce64fb364 Move bar panels above the system bar window layer.
We use the new TYPE_NAVIGATION_BAR_PANEL for this instead of
TYPE_STATUS_BAR_PANEL (which is indeed above the status bar,
but far below the navigation bar, which is the window type
used for the system bar now.)

Bug: 6319161 (ticker underneath system bar)
Bug: 6437342 (missing clear all button on system bar)
Change-Id: Ib58c0003c4c81db64edca2c1bbc2d764c3237ed0
2012-05-03 10:53:10 -04:00
Daniel Sandler
115f48a222 Merge "Large-screen notification panel size + positioning." into jb-dev 2012-05-03 07:30:50 -07:00
Kenny Root
03f22533a7 Merge "Fix some problems with ASECs" into jb-dev 2012-05-02 22:46:55 -07:00
Daniel Sandler
21b274e8a0 Large-screen notification panel size + positioning.
On sw600 devices we show the notification panel in a smaller
rectangle, centered in portrait and left-aligned in
landscape.

Also remove a bunch of -large resources that shouldn't be
used anymore.

Bug: 6297838
Change-Id: I8ed3445ccb7df16e30870a4322d89786467c54df
2012-05-03 01:14:07 -04:00
Daniel Sandler
f32c8e4365 Merge "Add MASTER_CLEAR perm to SystemUI for SD card formatting." into jb-dev 2012-05-02 17:39:04 -07:00
Kenny Root
bf023589b3 Fix some problems with ASECs
On devices that had external storage, permissions weren't set correctly
on non-forward-locked applications. Also, moving forward locked
applications didn't work since DefaultContainerService wasn't able to
read it.

Fixed some faulty unit tests as well.

Bug: 6427212
Change-Id: I5c1f0bf5278549069c78939f0708c4c43a7d4006
2012-05-02 17:09:57 -07:00
Daniel Sandler
0f5985c1da Add MASTER_CLEAR perm to SystemUI for SD card formatting.
Bug: 6422105
Change-Id: Ic6e2aef5f6cdc14c2bace54ddfce1181bf8bdef3
2012-05-01 15:43:32 -04:00
Daniel Sandler
4f85eb5872 Move legacy menu key to bottom right on sw600dp.
It's too easy to press if it's *all* the way to the right,
though, so there a 2dp margin separating it from the bezel.

Bug: 6399312
Change-Id: If4ebcd4cfcee0c667bcc6142af86c04445f41fea
2012-05-01 13:50:29 -04:00
Jeff Sharkey
4e33c6cafa Merge "Add permission for NetworkOverLimitActivity." into jb-dev 2012-04-30 17:19:35 -07:00
Jeff Sharkey
e6b6533811 Add permission for NetworkOverLimitActivity.
Bug: 6421080
Change-Id: Icefdf3da7a4a421d27aa1449ac01ea8ae1451d49
2012-04-30 17:15:36 -07:00
Jeff Sharkey
a549218e43 Merge "Avoid showing popup when View detatched." into jb-dev 2012-04-30 16:06:27 -07:00
Michael Jurka
029abfdc66 Merge "Fix NPE" into jb-dev 2012-04-30 15:58:51 -07:00
Michael Jurka
a8eac1deb5 Fix NPE 2012-04-30 15:54:28 -07:00
Jeff Sharkey
af232ed38a Avoid showing popup when View detatched.
Bug: 6388558
Change-Id: I12cfde91b142916ce137ebd4e96107a12ad2b4b7
2012-04-30 15:19:55 -07:00
Eric Fischer
6113ce3be4 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-04-30 14:48:35 -07:00
Eric Fischer
7e69d2a989 Import translations. DO NOT MERGE
Change-Id: I6296e47e9d38e51ec634f8595ff2bfc782f40c8a
2012-04-30 12:48:16 -07:00
Daniel Sandler
c40db82a12 Fix build
Change-Id: Ic4b76ffd9696998b63e2d7f4891cd721f95037ea
2012-04-30 14:24:01 -04:00
Daniel Sandler
5599b9fc2a Merge changes Ie09b6222,I90a0ac21 into jb-dev
* changes:
  Fix a longstanding bug in the shade pulldown trajectory.
  All Status in a Window.
2012-04-30 10:54:46 -07:00
Michael Jurka
d6be37d4d9 Merge "Don't show a blue glow when swiping recents" into jb-dev 2012-04-30 10:28:21 -07:00
Daniel Sandler
1fac1fdd79 Fix a longstanding bug in the shade pulldown trajectory.
Two parts to this:

1. We were looking at the measured height of the close view
   for a lot of our computations, which---particularly with
   recent changes that dispense with the old 3-window
   implementation---is increasingly unreliable

2. We were overestimating the minY that the panel must be
   pulled down before animation starts. It was enforced
   jankiness!

Bug: 5359178
Change-Id: Ie09b62226b7b0977527348b5527478665ece1df8
2012-04-30 12:13:37 -04:00
Daniel Sandler
a310af88be All Status in a Window.
Bug: 5907042 (jank on pulldown)
Bug: 6347684 (hardware acceleration)
Change-Id: I90a0ac21db493cccf6913cbc271a21a130276991
2012-04-30 12:12:39 -04:00
Michael Jurka
890c9fe026 Don't show a blue glow when swiping recents
Bug: 5908113
2012-04-27 17:37:54 -07:00
Jeff Sharkey
6ee3fe8849 Merge "Migrate ringtone playback to SystemUI." into jb-dev 2012-04-27 16:28:32 -07:00
Irfan Sheriff
80f84a15aa Merge "Fetch WifiManager instance at the time of use" into jb-dev 2012-04-27 15:30:55 -07:00
Irfan Sheriff
4f4f5166c9 Fetch WifiManager instance at the time of use
Bug: 5340393
Change-Id: Idb0a6dbe969bc3c7955134df43b86f28208c73c3
2012-04-27 14:42:42 -07:00
Jeff Sharkey
098d580cc2 Migrate ringtone playback to SystemUI.
Introduce IRingtonePlayer, which handles playback for both Ringtone
objects and Notifications. SystemUI now hosts this player, which it
registers with AudioService. It also keeps MediaPlayer instances
warm, and cleans them up after stop() or Binder death.

Move both Ringtone and NotificationManagerService to play back audio
through this new interface.

Bug: 6376128, 6350773
Change-Id: I1dcb86d16ee3c4f07cdb2248d33dcff4ead3609a
2012-04-27 14:15:05 -07:00
Sascha Prueter
e060fadbef Merge "The tiny-back-button bug found its way back in!" into jb-dev 2012-04-27 13:50:39 -07:00
Daniel Sandler
e03bc95f06 The tiny-back-button bug found its way back in!
(Horizontal nav bars in landscape are not "vertical"; look
at the view bounds to determine verticality instead of
merely considering the device rotation.)

Bug: 5993561
Change-Id: I70a691f68db1c6417ea2af6f3bb018f99bcabda0
2012-04-27 16:46:28 -04:00
Eric Fischer
3815860f3e Merge "Import translations. DO NOT MERGE" into jb-dev 2012-04-27 12:45:10 -07:00
Eric Fischer
023e0534c3 Import translations. DO NOT MERGE
Change-Id: I8196154b165235340eb698ceb86d694e2986bbe5
2012-04-27 12:41:40 -07:00
Daniel Sandler
11dea29451 Merge "Propagate change Id1393cef to tablet UI." into jb-dev 2012-04-27 10:24:34 -07:00
Jeff Sharkey
f5d70fd2ad Merge "Protect system services with DUMP permission." into jb-dev 2012-04-27 10:16:40 -07:00
Eric Laurent
c098198eb3 Merge "system and UI sounds volume policy" into jb-dev 2012-04-27 08:48:51 -07:00
Daniel Sandler
635fb490c5 Propagate change Id1393cef to tablet UI.
Bug: 5854958
Change-Id: I5c9976307ab13398ad2533a57f45d647040c3d4a
2012-04-27 10:46:17 -04:00
Daniel Sandler
2c9ae75388 Finally, fix the teensy back button in landscape.
Bug: 5993561 (and friends)
Change-Id: I0ccde54ea145e945f1a02d0480585c32cd129911
2012-04-27 10:15:16 -04:00
Daniel Sandler
c2ee231b5e Merge "Lights out improvements." into jb-dev 2012-04-27 04:56:08 -07:00
Eric Laurent
6d5176638c system and UI sounds volume policy
Implement a more consistent policy for system and UI sounds (key clicks, lock/unlock,
camera shutter, DTMF, low battery...):
- All system sounds are played over STREAM_SYSTEM stream type.
- The STREAM_SYSTEM volume that was previously fixed now tracks the volume of a "master"
stream type. This "master" stream type is STREAM_RING for phones and STREAM_MUSIC for
tablets which corresponds to the stream whose volume is modified by default by the volume
keys.
- The STREAM_SYSTEM volume ranges from -24dB to -6dB (-24dB to -12dB over headphones) when the
"master" stream volume ranges from its min to its max.
- DTMF tones are played over STREAM_DTMF that tracks the "master" stream volume in the same
manner with the following exception: when in call, DTMF stream tracks STREAM_VOICE_CALL volume.
- Camera shutter sound is played over STREAM_SYSTEM_ENFORCED stream that tracks the "master"
stream volume except in countries where regulation enforces this sound. In this case
its volume is fixed and cannot be muted.
- Low battery sound is played over STREAM_SYSTEM and therefore has a tunable volume and is
heard while in call.

Issue 6344620.
Issue 6069229.
Issue 6213100.

Change-Id: I53a237878ead596e706c5dbbb1420e62cde32bd7
2012-04-26 18:36:56 -07:00
Jeff Sharkey
eb4cc492c9 Protect system services with DUMP permission.
Change-Id: I5e53859f8b8e5473e54eca43ebd7de841f1a05ff
2012-04-26 18:17:29 -07:00
Eric Fischer
130f95b1e0 Import translations. DO NOT MERGE
Change-Id: I8816757eeaf3b8b2b01964ec030ef3ca5f24ff7a
2012-04-26 14:23:36 -07:00
Daniel Sandler
d7e9686656 Lights out improvements.
+ Finally implemented LO in the top status bar.
+ Tightened up LO animations on nav bar (swap icons for dots
  all at once rather than in sequence).

Bug: 6374406 (status bar lights out)
Bug: 5854958 (tighten up)
Change-Id: Id1393cef0b4281e062c1704d916843641da19dc4
2012-04-26 01:24:18 -04:00
Jeff Brown
69b2be163d Add yet more keyboard layouts.
Bug: 6110399
Change-Id: I8e2ce1cd350dddb006df51286e127dce65a8117f
2012-04-25 18:17:21 -07:00
Kenny Root
6dceb88f1c Allow forward locked apps to be in ASECs
We couldn't put forward-locked apps in ASEC containers before since we
didn't have any permissioned filesystems. This adds the ability for
forward-locked applications to be in ASEC containers.

This means that forward locked applications will be able to be on the SD
card now.

This change also removes the old type of forward-locking that placed
parts of apps in /data/app-private.  Now all forward-locked applications
will be in ASEC containers.

Change-Id: I17ae0b0d65a4a965ef33c0ac2c47e990e55707ad
2012-04-25 14:17:02 -07:00
Chris Wren
321452da28 Set row height to the row height not the notification height.
Bug: 6376501
Change-Id: I41567b11fcb1d39bc75ef782faa8287bbb1e4ca8
2012-04-25 11:20:35 -04:00
Jeff Brown
d3d3bec976 Merge "Add even more keyboard layouts." 2012-04-24 20:42:12 -07:00
Jeff Brown
77241caa8e Add even more keyboard layouts.
Bug: 6110399

Change-Id: I2278424e2e4c7dc7f7804a25d2c6c63f45181d1b
2012-04-24 20:34:54 -07:00
Jim Miller
3b291870d3 Fix 6299832: Improvements to navbar's "swipe to search"
This uses the new global search intent provided by SearchManager.

It also fixes the layout on tablets.

Change-Id: I9dd97785a454a4793aed7da1f5e260377f648354
2012-04-24 19:18:38 -07:00
Jim Miller
e4cd3b0d95 Merge "Fix 6299832: Add search target swipe action to navigation bar on phones" 2012-04-24 18:32:37 -07:00
Jeff Brown
579b337607 Merge "Add more keyboard layouts." 2012-04-24 17:48:05 -07:00