2346 Commits

Author SHA1 Message Date
Daniel Sandler
08d05e3d1d New status bar capable of multiple sliding panels.
There are some visual glitches but almost everything should
be put back pretty much where it was.

Change-Id: I2f9b0591d44599b07bd83f03c4e09e6dd98e1448
2012-08-13 15:23:51 -04:00
Baligh Uddin
f3124b79af Import translations. DO NOT MERGE
Change-Id: If6567f2759f5de02bdd6a0a47abfa371d54ad40a
Auto-generated-cl: translation import
2012-08-13 12:16:32 -07:00
Amith Yamasani
dda851ce9a am 7871b629: am f83d2d6f: Merge "User Manager service to manage users and query user details" into jb-mr1-dev
* commit '7871b629a63a542fb81179c9239c21255a7a42ad':
  User Manager service to manage users and query user details
2012-08-11 21:42:07 -07:00
Amith Yamasani
258848d2ae User Manager service to manage users and query user details
Moved a bunch of methods from PackageManager to UserManager.

Fix launching of activities from recents to correct user.

Guest creation APIs

Change-Id: I0733405e6eb2829675665e225c759d6baa2b708f
2012-08-11 18:24:07 -07:00
Daniel Sandler
3f0e4e70d7 am fd36f14f: am f5fd82ac: Merge "Capture orientation change data in the gesture log." into jb-mr1-dev
* commit 'fd36f14f70789ac8cb67fc84105524d4a916ef31':
  Capture orientation change data in the gesture log.
2012-08-10 13:53:20 -07:00
Daniel Sandler
747a9e986c Capture orientation change data in the gesture log.
Change-Id: I19719f82f1b6b6563b33edc85b4a8a259d04ba0c
2012-08-10 16:39:19 -04:00
Daniel Sandler
045b878748 am 4f924dd2: am 69509926: Merge "More termination conditions for Dreams." into jb-mr1-dev
* commit '4f924dd254b2798aaa0a1ece06163babcfdb954d':
  More termination conditions for Dreams.
2012-08-10 07:30:17 -07:00
Daniel Sandler
a2fbe53f1e More termination conditions for Dreams.
Default implementation of Dreams will finish() on KEYCODE_BACK.

PhoneStatusBar will awaken() from any Dream when the Home key is pressed.

Change-Id: I55e2a5d533a7fb93debc4c54514dba3b9098f009
2012-08-10 01:19:03 -04:00
Amith Yamasani
7f0e543de3 am 4fe1082e: am 8264408f: Start the correct settings from the status bar.
* commit '4fe1082ec60359baef1ccac2b3a74834fe862303':
  Start the correct settings from the status bar.
2012-08-08 16:57:19 -07:00
Amith Yamasani
8264408f59 Start the correct settings from the status bar.
Added a new method to Context: startActivityAsUser() requiring the
INTERACT_ACROSS_USERS_FULL permission.

Show the correct Recents list, based on current user.
Added a getRecentTasksForUser() in ActivityManager. Hidden and requires
the INTERACT_ACROSS_USERS_FULL permission.

Change-Id: If5b56465efdd3ead36601a3b51ed4af157bbf35c
2012-08-08 16:52:53 -07:00
Jason Simmons
015009af89 am 54925058: am 336b31c2: Merge "Add an empty stub status bar service implementation" into jb-mr1-dev
* commit '5492505847a7d2e0a57d06b927f8029aa72fa4aa':
  Add an empty stub status bar service implementation
2012-08-07 16:24:37 -07:00
Jason Simmons
336b31c28a Merge "Add an empty stub status bar service implementation" into jb-mr1-dev 2012-08-07 16:14:50 -07:00
Christopher Tate
acad183238 Add an empty stub status bar service implementation
For kiosk-type devices that do not present any navigation UI.  This allows
for clean selection of the implementation based on resource overlays,
without the need for the tablet or phone status bar implementations to
accomodate the desired behaviors.

Bug 5824373

Change-Id: Idcec70eef437904edda452b69e5eb7a3cc7094f7
(cherry picked from commit 5717f80927944c141f059162ecd69649488f8049 in ics-aah)

Signed-off-by: Mike J. Chen <mjchen@google.com>
2012-08-06 14:40:50 -07:00
Daniel Sandler
650ff92dc5 am 4d3190a8: am f6a34124: Move lots of layout-port/ resources to layout/ .
* commit '4d3190a849306a5f3be9ccfde5fca2a78c9e0ee8':
  Move lots of layout-port/ resources to layout/ .
2012-08-06 12:35:55 -07:00
Daniel Sandler
f6a341248d Move lots of layout-port/ resources to layout/ .
The framework is no longer letting us skate by without a
default (unqualified) for of each resource; in particular,
the land/port aspect of the configuration appears to be
binding much later than it used to.

Bug: 6937365
Change-Id: I6bf72c76e707548168fefa9466dc196ffde33ab3
2012-08-06 15:29:09 -04:00
Wink Saville
bd2ebfb377 am 3d62c325: am bb01fd01: am 1971df5d: am e20a19cb: Merge "show 3G icon for CDMA/1xRTT"
* commit '3d62c325fefbfc6d810ed30db4fd000b35332c50':
  show 3G icon for CDMA/1xRTT
2012-08-04 08:17:21 -07:00
Wink Saville
bb01fd0111 am 1971df5d: am e20a19cb: Merge "show 3G icon for CDMA/1xRTT"
* commit '1971df5d4296f077cccff704201057a32b733235':
  show 3G icon for CDMA/1xRTT
2012-08-04 08:12:48 -07:00
Wink Saville
1971df5d42 am e20a19cb: Merge "show 3G icon for CDMA/1xRTT"
* commit 'e20a19cb541f8621f04be0f3d3501f2fc51a0e82':
  show 3G icon for CDMA/1xRTT
2012-08-04 08:07:49 -07:00
Chris Wren
af5209ce4e am 62e30723: am 5345c310: Merge "Don\'t allow the status bar to collapse things we\'re touching." into jb-mr1-dev
* commit '62e30723fb2589b3d1a693c66332307d00c64f19':
  Don't allow the status bar to collapse things we're touching.
2012-08-03 10:10:13 -07:00
Chris Wren
5345c310af Merge "Don't allow the status bar to collapse things we're touching." into jb-mr1-dev 2012-08-03 09:52:09 -07:00
Madan Ankapura
68cad3a0fa show 3G icon for CDMA/1xRTT
when config_showMin3G is enabled to true in a CDMA device

Change-Id: I79a4fa200dc406fc7f9f4527165046541961ef69
Signed-off-by: Madan Ankapura <mankapur@sta.samsung.com>
2012-08-02 19:10:22 -07:00
Svetoslav Ganov
b16c018ca3 am c171d515: am 25dd892c: am e1c47324: am 9a59f6e0: Merge "Notification panel on tablet does not handle back and home key events." into jb-dev
* commit 'c171d515b3b2d31d0bc58dcf0563b7daf1116fc7':
  Notification panel on tablet does not handle back and home key events.
2012-08-02 16:13:46 -07:00
Svetoslav Ganov
25dd892ce9 am e1c47324: am 9a59f6e0: Merge "Notification panel on tablet does not handle back and home key events." into jb-dev
* commit 'e1c47324fc22f86f378cb6ccc51e4554eec5156b':
  Notification panel on tablet does not handle back and home key events.
2012-08-02 16:07:35 -07:00
Svetoslav Ganov
e1c47324fc am 9a59f6e0: Merge "Notification panel on tablet does not handle back and home key events." into jb-dev
* commit '9a59f6e02fdcabbf2debd5b836b01f7b22a4b21a':
  Notification panel on tablet does not handle back and home key events.
2012-08-02 15:19:03 -07:00
Chris Wren
453eb4fc54 am c0e102cf: am dfa6c268: Merge "Venetian blinds policy for one-finger notification expansion." into jb-mr1-dev
* commit 'c0e102cf3b2155d10c6333e23a464e2c2249c77e':
  Venetian blinds policy for one-finger notification expansion.
2012-08-02 15:10:24 -07:00
Chris Wren
3ddab0dcc1 Don't allow the status bar to collapse things we're touching.
Bug: 6538918
Change-Id: Ie4e79aa593ac2097d0e6402f84816df934160687
2012-08-02 16:55:08 -04:00
Svetoslav Ganov
73b9c29b8b Notification panel on tablet does not handle back and home key events.
1. Notification panel on tablet does not handle back and home key events and
   as a result the notification panel stays open. Hence, after opening the
   notifications panel, pressing the back key on a keyboard will move back
   in the app instead closing the panel. Same happens for the home key.
   The expected behavior is if the panel is open the back button will dismiss
   it and the key should be consumed by the panel. The home key should hide
   the panel and the key should not be consumed by the panel so the system
   can do the right thing.

bug:6902903

Change-Id: I06e8ceea1f51b998e6703d70dcb3a24128d5a581
2012-08-02 13:44:30 -07:00
Chris Wren
86d00fb40a Venetian blinds policy for one-finger notification expansion.
Bug: 6538918
Change-Id: I8a6f860684b2477571f69eb4a79a5c106251b1a8
2012-08-02 10:30:51 -07:00
Pawit Pornkitprasan
3d30590bc4 SystemUI: Fix data activity overlay not being removed when data is disabled
If mobile data connection is disabled while there is active data
activity, the data activity overlay will not be removed and will
be stuck there. This patch fixes that.

Change-Id: I4cc1a14bb2e2d85687752657608e5989adfe9af1
2012-08-02 12:14:15 +07:00
Ying Wang
d8e7a0fa54 Import translations. DO NOT MERGE
Change-Id: I0cd6bb14922544cff686ffd46ee3e82ccb894caa
Auto-generated-cl: translation import
2012-08-01 13:08:14 -07:00
Ying Wang
fdfb676df6 Merge "Import translations. DO NOT MERGE" 2012-07-30 15:02:54 -07:00
Winson Chung
21dd5622a4 Merge "Fixing issue where screenshot error message is clipped and share action is missing subject. (Bug 6800151, Bug 6721459)" 2012-07-30 13:20:14 -07:00
Ying Wang
b53f727eea Import translations. DO NOT MERGE
Change-Id: I87b7ad85d5d21f304a48d4d13af7ed0533b2ff72
Auto-generated-cl: translation import
2012-07-30 12:29:12 -07:00
Daniel Sandler
fbf3089665 am 5cb62df6: am dd4ef49f: Persistent \'emergency calls\' banner in the notification panel.
* commit '5cb62df6bdac4aaab7a1c1b1ef849ec213ff028b':
  Persistent 'emergency calls' banner in the notification panel.
2012-07-27 15:51:31 -07:00
Daniel Sandler
5cb62df6bd am dd4ef49f: Persistent \'emergency calls\' banner in the notification panel.
* commit 'dd4ef49f4545dad2a6503d29e129472aba5392fc':
  Persistent 'emergency calls' banner in the notification panel.
2012-07-27 15:46:20 -07:00
Daniel Sandler
dd4ef49f45 Persistent 'emergency calls' banner in the notification panel.
While carrier info (or SSID for devices without mobile data)
will still be shown in a floating text view at the bottom of
the notification shade, emergency-calls-only mode will now
be shown in the notification panel header so that it cannot
be obscured by notifications.

Change-Id: I714b6801be2b9b631b86b51d229440445eff5e76
2012-07-27 11:19:54 -04:00
Daniel Sandler
1fbfd263ad am 08b7e785: am 7da1ad69: am c524ca27: Merge "Fix NPE on some phones at startup." into jb-dev
* commit '08b7e78597b06b3801d909c9e9ca1538ed9fc355':
  Fix NPE on some phones at startup.
2012-07-25 22:13:44 -07:00
Daniel Sandler
a7a83cef85 am 19351d5e: am f5221a86: am cb1aec34: Remove old unused DreamsDockLauncher.
* commit '19351d5e7a4b3bc95424f4ca5dded79b9826bd63':
  Remove old unused DreamsDockLauncher.
2012-07-25 22:13:25 -07:00
Daniel Sandler
08b7e78597 am 7da1ad69: am c524ca27: Merge "Fix NPE on some phones at startup." into jb-dev
* commit '7da1ad699989db8417ce54eb26697eae4a30f634':
  Fix NPE on some phones at startup.
2012-07-25 15:05:35 -07:00
Daniel Sandler
19351d5e7a am f5221a86: am cb1aec34: Remove old unused DreamsDockLauncher.
* commit 'f5221a86c4a7e0e0454732f6a4b95a33bbf334f2':
  Remove old unused DreamsDockLauncher.
2012-07-25 15:05:04 -07:00
Jeff Brown
a8b9defade Stop using raw display size except in window manager.
We don't actually need the raw size in these places.
The logical size is good enough.

Starting to move dependencies on surface flinger
and window manager out of the Display class.

Change-Id: I2065bee8e5bf7f42c5a452dd1e8479e40ebb0d37
2012-07-25 11:38:48 -07:00
Daniel Sandler
7da1ad6999 am c524ca27: Merge "Fix NPE on some phones at startup." into jb-dev
* commit 'c524ca275add1c84ef4e1e5c105058f44cac5efb':
  Fix NPE on some phones at startup.
2012-07-25 11:34:52 -07:00
Daniel Sandler
c524ca275a Merge "Fix NPE on some phones at startup." into jb-dev 2012-07-25 11:32:38 -07:00
Daniel Sandler
75fcac4eeb Fix NPE.
Bug: 6878563
Change-Id: I9a2afed6e2b517c2d6b54cea3d812fb84835fb00
2012-07-25 13:51:44 -04:00
Daniel Sandler
f5221a86c4 am cb1aec34: Remove old unused DreamsDockLauncher.
* commit 'cb1aec3403115467d1298fcabd45137eb483a1fe':
  Remove old unused DreamsDockLauncher.
2012-07-25 10:51:36 -07:00
Daniel Sandler
9af376e57a Fix NPE on some phones at startup.
Bug: 6877589
Change-Id: I65ff37b4cf6b59a72a7aa665f252f5fb34f3b183
2012-07-25 12:33:50 -04:00
Daniel Sandler
cb1aec3403 Remove old unused DreamsDockLauncher.
Bug: 6802065
Change-Id: I403b02ca7c78bb90eed712b3b6f846a4a6d68f8b
2012-07-25 11:00:49 -04:00
Daniel Sandler
9014345dda am 7d1ef0ce: am 3ee47ae7: Merge "Fix 6804479: "Emergency calls only" in notification shade" into jb-dev
* commit '7d1ef0cee7c61dea18216a80a00d437109b698d5':
  Fix 6804479: "Emergency calls only" in notification shade
2012-07-24 22:16:20 -07:00
Daniel Sandler
7d1ef0cee7 am 3ee47ae7: Merge "Fix 6804479: "Emergency calls only" in notification shade" into jb-dev
* commit '3ee47ae7ee0d0afc0a2bbe71636c31483b5502cd':
  Fix 6804479: "Emergency calls only" in notification shade
2012-07-24 22:13:56 -07:00
Daniel Sandler
0ae29275b8 Fix 6804479: "Emergency calls only" in notification shade
Add an additional codepath to the "no connectivity" logic in
NetworkController to allow the PLMN bubble up from the
GsmServiceStateTracker, where R.string.emergency_calls_only
is returned if we're in emergency call mode.

Bug: 6804479
Change-Id: I0a77261e4393cc0dc32bae3e631ef196b2342f06
2012-07-24 20:41:31 -04:00