2432 Commits

Author SHA1 Message Date
Winson Chung
d18c245024 am 1d2dcf7f: am 89ba270c: Merge "Fixing various QS issues. (Bug 7216908, Bug 7217154)" into jb-mr1-dev
* commit '1d2dcf7fefa705f4a89bba84234672e87cb4c7aa':
  Fixing various QS issues. (Bug 7216908, Bug 7217154)
2012-09-25 13:30:00 -07:00
Daniel Sandler
b8ff4c017f am e6859bbd: am 509e2ced: Merge "Improvements to notification/settings panels:" into jb-mr1-dev
* commit 'e6859bbdf4369102ff9a7e801974d226a7a14ca0':
  Improvements to notification/settings panels:
2012-09-25 13:29:57 -07:00
Winson Chung
89ba270c66 Merge "Fixing various QS issues. (Bug 7216908, Bug 7217154)" into jb-mr1-dev 2012-09-25 12:20:18 -07:00
Daniel Sandler
173bae2c67 Improvements to notification/settings panels:
A) Hide icons corresponding to the active panel with a
   downward push animation. Notes:
   1. this animation will now apply any time the status bar
	  icons are disabled via DISABLE_NOTIFICATION_ICONS.
   2. DISABLE_SYSTEM_INFO will now only hide the right hand
      icons (system status icons, battery, clock). But you
	  weren't using it anyway, right?

B) Stop pulling down the panels in response to just a touch
   on the status bar. (That should never have worked.) In
   general, we now require that a fling proceed more than
   10dp to be treated as a fling with velocity (as opposed
   to a v=0 fling, or "let-go").

C) If a panel is pulled down more than halfway and then let
   go with v=0, it is expanded. If less than halfway, it is
   contracted. (Helps fix B) above, plus it just makes good
   sense.)

Bug: 7211541 (A)
Bug: 7227237 (B)
Bug: 7228541 (B)
Change-Id: I5662269b753376804bf629239835dc212716d5c3
2012-09-25 14:38:43 -04:00
Winson Chung
f4b5ab193c Fixing various QS issues. (Bug 7216908, Bug 7217154)
- Making distinction between wifi not connected and unavailable
- Removing periods from carrier names
- Updating airplane mode icons

Change-Id: I8a629f07375faaa34a1b5ebeb307605f12f75173
2012-09-25 10:26:39 -07:00
Jean-Baptiste Queru
3b772c6b67 Merge into jb-mr1-dev
Change-Id: Idc74e8e0f3cea76b995f4262428006949708ce32
2012-09-25 09:46:54 -07:00
Jean-Baptiste Queru
b8d4c9ff22 Merge into jb-mr1-dev
Change-Id: Iaee05ce2bc5103c46fe9a148ad166f694c246c2f
2012-09-25 09:45:48 -07:00
Jean-Baptiste Queru
7e886bc3f7 Merge into jb-mr1-dev
Change-Id: I2e1eee6976ef4682c9f8daffed699ee4c59060c3
2012-09-25 09:45:19 -07:00
Romain Guy
03de511af7 Fix graphics glitch and layouts in recents on 10" display
Change-Id: I7fa58a84d4e899ea995aa680ee550b5ddb30b6a6
2012-09-25 09:44:46 -07:00
Jean-Baptiste Queru
a7546e3623 Merge into jb-mr1-dev - do not merge
Change-Id: I3582e3a68c6c38569884e9a903b5230bf890e7fa
2012-09-25 09:43:59 -07:00
Jean-Baptiste Queru
7951c459ae Merge into jb-mr1-dev
Change-Id: Ifc2328e30a52c2baebc1322c9b161104dcf21618
2012-09-25 09:36:32 -07:00
Chris Wren
7b8fbe42aa Merge "reduce notification pad on large displays." into jb-mr1-dev 2012-09-25 08:12:33 -07:00
Daniel Sandler
c972757de0 Merge "No more double-swiping to toggle panels on tablets." into jb-mr1-dev 2012-09-25 07:20:32 -07:00
Daniel Sandler
5a8aefa6c8 No more double-swiping to toggle panels on tablets.
This also fixes up the drag regions so that quick settings
is only assigned the right 1/3 of the display (or 100dp,
whichever is larger). It had been that more than half of the
status bar, when dragged, would pull down QS.

Bug: 7217002
Change-Id: I515b6e19deab305b99784c7287d8f04fa9b22dc7
2012-09-25 10:20:00 -04:00
Daniel Sandler
6b183e92a4 Merge "Return carrier label to notification panel." into jb-mr1-dev 2012-09-25 07:15:20 -07:00
Daniel Sandler
666d47502b Return carrier label to notification panel.
If it makes you feel any better, it was there all along...

Bug: 7027535
Change-Id: Ib1add55f1bfe1958e15fa6a2960a821ccfb9d949
2012-09-25 01:21:06 -04:00
Romain Guy
927978a48f Merge "Fix graphics glitch and layouts in recents on 10" display" into jb-mr1-dev 2012-09-24 21:53:58 -07:00
Romain Guy
0709b06abc Fix graphics glitch and layouts in recents on 10" display
Change-Id: I7fa58a84d4e899ea995aa680ee550b5ddb30b6a6
2012-09-24 21:45:03 -07:00
Baligh Uddin
7ccd703f02 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-24 21:26:10 -07:00
Amith Yamasani
8d8766bc78 Merge "AppInfo from Notifications for secondary users" into jb-mr1-dev 2012-09-24 17:43:18 -07:00
Amith Yamasani
ea7e91514e AppInfo from Notifications for secondary users
Required wiring up startActivitiesAsUser()

Bug: 7224950

Also fix a bug in navigateUp in secondary user

Change-Id: I114ae2de0457362d62e899fdb94b12239a3eb778
2012-09-24 17:19:03 -07:00
Chris Wren
482410de94 reduce notification pad on large displays.
Bug:7053073
Change-Id: Icbb98ba31b79e25ca37757bf6e898f2575c0e487
2012-09-24 18:41:18 -04:00
Martijn Coenen
ed50c00653 Merge "Add NfcBarcode technology API." into jb-mr1-dev 2012-09-24 15:01:20 -07:00
Michael Jurka
0988524683 Fix build
Change-Id: I476664d9c0116fb4b135d443dd36ee7ebe3c25f4
2012-09-24 14:42:01 -07:00
Daniel Sandler
598cfcad42 Merge "Properly launch quicksettings activities." into jb-mr1-dev 2012-09-24 13:42:36 -07:00
Baligh Uddin
583fab5e99 Import translations. DO NOT MERGE
Change-Id: I54dbefbe0ed8fc87bc3f0f8123f4c5185f125192
Auto-generated-cl: translation import
2012-09-24 13:21:40 -07:00
Dianne Hackborn
cd11b223f3 Merge "Fix issue #7214090: Need to be able to post notifications to all users" into jb-mr1-dev 2012-09-24 10:58:20 -07:00
Dianne Hackborn
50cdf7c306 Fix issue #7214090: Need to be able to post notifications to all users
Also fix a bunch of system services that should be doing this.  And
while doing that, found I needed to fix PendingIntent to evaluate
USER_CURRENT at the point of sending, not creation.

Note that this may end up with us having some notification shown to
non-primary users that lead to settings UI that should only be for
the primary user (such as the vpn notification).  I'm not sure what
to do about this, maybe we need a different UI to come up there or
something, but showing the actual notification for those users at
least seems less broken than not telling them at all.

Change-Id: Iffc51e2d7c847e3d05064d292ab93937646a1ab7
2012-09-24 10:55:46 -07:00
John Spurlock
892c2278c6 am 0c8dfe34: am 2ce1ae8e: Merge "Migrate away from lightsOut() in BeanBagDream." into jb-mr1-dev
* commit '0c8dfe3486f5650cd7969ff6cbb52fd1cd716be4':
  Migrate away from lightsOut() in BeanBagDream.
2012-09-24 09:39:34 -07:00
Jeff Sharkey
5c7527ba15 am 8bc3cfa3: am 11820f73: Merge "Allow acquiring ContentProviders across users." into jb-mr1-dev
* commit '8bc3cfa3674217e967b64340bae6f6003f332e66':
  Allow acquiring ContentProviders across users.
2012-09-24 09:38:27 -07:00
Dianne Hackborn
eeb8f97993 am 2552e78a: am b939e352: Merge "Fix issue #7209355, #7214271." into jb-mr1-dev
* commit '2552e78a15d2a88dd0e885ebf9490f8f38d9a393':
  Fix issue #7209355, #7214271.
2012-09-24 09:38:23 -07:00
Winson Chung
0e604e6c79 am 3ce29376: am c4b16f1a: Merge "Fixing various QuickSettings issues (Bug 7210343, Bug 7174839, Bug 7174738)" into jb-mr1-dev
* commit '3ce29376f31344809d6369c0cd421be4fca38c89':
  Fixing various QuickSettings issues (Bug 7210343, Bug 7174839, Bug 7174738)
2012-09-24 09:37:42 -07:00
John Spurlock
2ce1ae8e63 Merge "Migrate away from lightsOut() in BeanBagDream." into jb-mr1-dev 2012-09-24 05:52:46 -07:00
Svetoslav Ganov
412201a944 am 631b6380: am 0a5c5567: Merge "Multi-user support for the accessibility layer." into jb-mr1-dev
* commit '631b63804e448d5a29e4089a1ad1804cf0279480':
  Multi-user support for the accessibility layer.
2012-09-24 00:52:23 -07:00
Winson Chung
cb49aba2ff am e8910d3b: am 3ed6f945: Showing QuickContacts card, adding brightness bar timeout and width, fixing wifi display icon visibility. (Bug 7186309, Bug 7175023)
* commit 'e8910d3b782411568aed452c58ac301242ab9009':
  Showing QuickContacts card, adding brightness bar timeout and width, fixing wifi display icon visibility. (Bug 7186309, Bug 7175023)
2012-09-24 00:48:42 -07:00
Daniel Sandler
3ffdcc70c2 Properly launch quicksettings activities.
- As current user
 - Dismissing keyguard if necessary
 - Dismissing all status bar windows and panels

Also move some QS-specific stuff out of PanelView and into
SettingsPanelView.

Bug: 7217006
Change-Id: I4d8ac84cc0f43e78f70553599c3207305c4f5c74
2012-09-24 00:43:51 -04:00
Jeff Sharkey
11820f7386 Merge "Allow acquiring ContentProviders across users." into jb-mr1-dev 2012-09-23 13:22:27 -07:00
Dianne Hackborn
b939e35274 Merge "Fix issue #7209355, #7214271." into jb-mr1-dev 2012-09-23 12:58:10 -07:00
Dianne Hackborn
8da429e80d Fix issue #7209355, #7214271.
Issue #7209355: Intent on the secondary user results in an intent picker
in the Primary user.
Issue #7214271: Crash in system UI

Also fix a bug where I recently broke the removeTask() operation in the
activity manager where it would remove the wrong task.

Change-Id: I448c73a0e83a78d9d8d96b4629658c169888d275
2012-09-23 12:53:34 -07:00
Winson Chung
c4b16f1acb Merge "Fixing various QuickSettings issues (Bug 7210343, Bug 7174839, Bug 7174738)" into jb-mr1-dev 2012-09-22 14:37:02 -07:00
Baligh Uddin
7e8629e263 Import translations. DO NOT MERGE
Change-Id: I244fda6886a62748c81f54def31d8346646e21ee
Auto-generated-cl: translation import
2012-09-22 13:04:44 -07:00
Jeff Sharkey
6d51571835 Allow acquiring ContentProviders across users.
Otherwise services like SystemUI will always open content://-style
Uris as USER_OWNER.  Surfaces through createPackageContextAsUser()
which points all ContentResolver operations towards a given user.

Start using in RemoteViews, so that Notifications correctly resolve
image Uris to the sending user.  Also add user support for "content"
shell tool.

Bug: 7202982
Change-Id: I8cb7fb8a812e825bb0b5833799dba87055ff8699
2012-09-21 19:49:43 -07:00
Winson Chung
34563e2dc5 Fixing various QuickSettings issues (Bug 7210343, Bug 7174839, Bug 7174738)
- Using startActivityFromUser() for multiuser settings intents
- Show Wifi/Bluetooth Off labels when they are off
- Removing quotes from SSID name
- Only showing the IME tile under the same conditions that the notification is showing
- Making tile labels uppercase

Change-Id: Ic4a085cda600da019eab259b22c9041d1a0b5d29
2012-09-21 17:22:30 -07:00
Svetoslav Ganov
0a5c5567f2 Merge "Multi-user support for the accessibility layer." into jb-mr1-dev 2012-09-21 17:21:45 -07:00
Svetoslav Ganov
58d37b55bd Multi-user support for the accessibility layer.
1. This change converts the accessibility manager service to
   maintain a state per user. When the user changes the services
   for the user that is going away are disconnected, the local
   accessibility managers in the processes for this user are
   disabled, the state is swapped with the new user's one, and
   the new user state is refreshed.

   This change updates all calls into the system to use their
   user specific versions when applicable. For example, regisetring
   content observers, package monitors, calls into other system
   services, etc.

   There are some components that are shared across users such
   as UI created by the system process and the SystemUI package.
   Such components are managed as a global state shared across
   all users and are updated accordingly on a user switch. Since
   the SystemUI is running in a normal app process this change
   adds hidden APIs on the local window manager to allow the
   SystemUI to notify the accessibility layer that it will run
   accross users.

   Calls to AccessibiltyManager's isEnabled(), isTouchExplorationEnabled()
   and sendAccessibilityEvent return false or a are a nop for a
   background user sice he should not send accessibility events,
   and should not perform touch exploration.

   Update the internal accessibility tests due to changes in the
   AccessibilityManager.

   This change also fixes several issues that were encountered
   such as calling out the accessibility manager service with a
   lock held.

   Removed some incorrect debugging code from the TouchExplorer
   that was leading to a system crash.

bug:6967373

Change-Id: I2cf32ffdee1d827a8197ae4ce717dc0ff798b259
2012-09-21 16:48:07 -07:00
Baligh Uddin
1ba7a542da Merge "Import translations. DO NOT MERGE" 2012-09-21 15:45:25 -07:00
Baligh Uddin
fdc87ec583 Import translations. DO NOT MERGE
Change-Id: Ia4ec6721bf42a303dbd63fc2549469ba90fae77d
Auto-generated-cl: translation import
2012-09-21 14:13:44 -07:00
Baligh Uddin
2be31d890a Import translations. DO NOT MERGE
Change-Id: I84b2f0c629da551293130a0a31024b4bf8172d56
Auto-generated-cl: translation import
2012-09-21 14:12:27 -07:00
John Spurlock
268118df8a Migrate away from lightsOut() in BeanBagDream.
Bug:7211867
Change-Id: Ic81a61e368b44fa22db4fffac912219d9f2ca951
2012-09-21 16:41:14 -04:00
Daniel Sandler
482f21d60b am eeab8b7f: am ced8d21f: Add string for \'Ethernet\'.
* commit 'eeab8b7fb3c6eed80da22aa8555debddb6ecb007':
  Add string for 'Ethernet'.
2012-09-21 12:44:24 -07:00