10536 Commits

Author SHA1 Message Date
Adrian Roos
1e4ecf8e7b Don't crash if there's no QS panel
Bug: 17408080
Change-Id: I4632f3b1f484e2e0870f128031ab23db9c520837
2014-09-08 15:20:07 +02:00
Jorim Jaggi
9261b3b778 Fix invisible low prio notifications in SHADE_LOCKED
Bug: 17403672
Change-Id: Iaee27d839f30cf13bfa7b10186c0f52f811fdc62
2014-09-08 14:02:07 +02:00
Selim Cinek
cb2b6737ae Fixed a bug with the anti-falsing logic with dismissing
Bug: 15433087
Change-Id: I48b96c1b8e081d6790d4cd9f5866f699b64e61fc
2014-09-08 13:56:18 +02:00
vandwalle
448e208b0a add more info to WifiConfiguration.toString:
- add the noInternetAccess field
- add stats about user triggered wifi state disabling requests
- Wifi SSID can change even though we don't loose connection, hence it must be looked at with each Network State Change

Bug:17348200

Change-Id: Ic956e11e7d61faf472a7332f84a46a746922455a
2014-09-07 21:43:25 -07:00
Amith Yamasani
d28665b3c8 Merge "Use correct API for badging" into lmp-dev 2014-09-07 22:56:19 +00:00
Amith Yamasani
fdf169cbea Use correct API for badging
Bug: 17414778
Change-Id: I7c0321d9435b0787a90cd62be80862069ba2d790
2014-09-07 15:45:57 -07:00
Winson Chung
4e8dd649b4 Ensuring that we retry if the callback for animation started comes before the Recents activity starts. (Bug 17316671)
Change-Id: I8e50e2cd9ba6a47dda21f21afbe14bb9d3eda979
2014-09-07 20:08:55 +00:00
Winson Chung
2e7f3bdcc9 Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
Change-Id: Ic104876c5fe16997eca00e0a2b3d8644c927120c
2014-09-07 20:08:40 +00:00
Winson Chung
d78d4f3acd Revert "Delay in app transition until home animation completes. (Bug 17012456)"
This reverts commit e9883b8a92d72a3cfd947b3ce835bc8e4da2f1b2.

Change-Id: I61664e2a2589d09e5a93a776cf3c391049e7b284
2014-09-07 20:08:22 +00:00
Dianne Hackborn
a4e102ee58 Work on issue #17357238: Recents is often slow if not used in a while
Add a new activity attribute, resumeWhilePausing, that allows an
activity specifying it to immediately start running without waiting
for the previous activity to pause.  The recents activity is updated
to use this.

The implementation of this is ultimately fairly simple -- if we are
in the path of resuming such an activity, and find that we first need
to pause the existing activity, then within the activity manager we
do the regular pause flow but act like it has immediately finished
pausing right then so that we can immediately go on to the resume.
To make this clean, we tell the activity when asking it to pause that
it should not come back and tell us it is done, because we aren't in
any way waiting for it.

One potentially important change I needed to make here is the pause
callback no longer provides the saved persistent state, because we
now can't count on that callback happening.  I don't think there was
really any utility in this anyway -- all modern apps will have their
save state flow happen as part of stopping, not pausing, so we'll
only capture that saved state when the stop is reported back anyway.
And since we do send the saved state back when stopping, it would
always blow away whatever we had gotten at the pause.

Finally, update the documentation for AppTask.startActivity(), and
fix the implementation handling that to be cleaner -- we need to
deal with inTask first before getting in to "oh noes add NEW_TASK
if this isn't coming from a calling activity" flow.

Change-Id: Ia1da0fac90d7bdbaafdda2e34850d795ce17a39f
2014-09-05 18:43:43 -07:00
Svetoslav
6552bf3da6 Print spooler UI polish and bug fixes.
1. Added an empty state for pages that are being rendered.

2. Fixed a NPA on a binder thread when destoroying the
   remote print adapter.

3. Fixed a rare crash when the print activity gets an
   activity class callback while initializing.

4. Changed the preview pages on phone in land to four.

5. Fixed a flicker from a list of pages to an empty state
   and then back to the list of pages.

bug:15704969
bug:16966145

Change-Id: I0eea2f30a102d8fefcbf90187fa6d8612fb19434

Conflicts:
	packages/PrintSpooler/src/com/android/printspooler/widget/PageContentView.java
2014-09-05 15:21:50 -07:00
Eino-Ville Talvala
71aa8ab5d7 Merge "Camera2: Final API revisions" into lmp-dev 2014-09-05 20:43:52 +00:00
RoboErik
dfafca7691 Merge "rename add/removeCallback to register/unregisterCallback" into lmp-dev 2014-09-05 19:49:36 +00:00
Eino-Ville Talvala
fd887436bd Camera2: Final API revisions
- Rename listeners to callbacks. Listeners are single-method and are interfaces,
  while callbacks are abstract may get more methods in the future.
- Use register/unregister for registering callbacks, not add/remove.

Bug: 17389922
Change-Id: Ic6b46ad79cb43a43a85e2a4b63f059d3af99798b
2014-09-05 12:43:11 -07:00
RoboErik
14f717a506 rename add/removeCallback to register/unregisterCallback
bug:17390821
Change-Id: Id610b481083686dba2a28b6c7c47b747f89eef4f
2014-09-05 11:40:33 -07:00
Svetoslav
d0c362de1c Fix broken aidl
Change-Id: I2187abd75b4f60e790b747a492ad610592f2ef53
2014-09-05 10:19:39 -07:00
Svetoslav
53dcd394aa Update FrameStats API per api-council request.
bug:17390382

Change-Id: I50518834569f4d0ec394709294537256f03530e0
2014-09-05 10:07:02 -07:00
Svetoslav
c7d62f02b8 Addressing API council comments for UserManager.
bug:17390424

Change-Id: I498d2541289915cb7db16e5c3249ccc7a7dc5ee6
2014-09-05 10:07:02 -07:00
Tom O'Neill
08e76661bc Merge "Suppress location tile in QS on lock screen" into lmp-dev 2014-09-05 16:37:44 +00:00
Jorim Jaggi
89b39b2b07 Merge "Don't update notification layer when collapsing the panel" into lmp-dev 2014-09-05 16:22:25 +00:00
Jorim Jaggi
1210912600 Merge "Remove "forgot pattern" in pattern view" into lmp-dev 2014-09-05 16:12:04 +00:00
Christoph Studer
8e2128ba4f Merge "SysUI: Sort status bar notification icons" into lmp-dev 2014-09-05 15:59:41 +00:00
Jim Miller
a8ecf45398 Merge "Send USER_PRESENT broadcast after keyguard animation finishes" into lmp-dev 2014-09-05 15:57:16 +00:00
Winson Chung
27acf76122 Separating the notion of transposed search vs nav bar. (Bug 17402331) 2014-09-05 17:24:20 +02:00
Tom O'Neill
d528930380 Suppress location tile in QS on lock screen
- Work around bug in QS implementation

- Bug: 15916487

Change-Id: I623a4e31e8b4187d920c2724182c927328885b3b
2014-09-05 08:22:47 -07:00
Jason Monk
3128f12f21 Add VPN Key to signal icons
Since the notification is going away, this gives a persistent
icon to indicate that VPN is active.

Bug: 16153201
Change-Id: Ic2ca7a332817967b76871bd0800d6f0a77a295cd
2014-09-05 10:31:00 -04:00
Jorim Jaggi
12a6782d61 Don't update notification layer when collapsing the panel
This change makes sure that we don't update the hardware for the
notification layer when we collapse or expand the panel. It does so
by starting the fading when the panel is more collapsed.

Bug: 17287256
Change-Id: I35dc35494d71d816b7e6c5821b769847aaa183b0
2014-09-05 16:01:00 +02:00
Christoph Studer
668c8970ff SysUI: Sort status bar notification icons
Bug: 15761406
Change-Id: I64884319014d6fa3008c0db4060db7b9b066b6d7
2014-09-05 16:00:09 +02:00
Jorim Jaggi
f2f0a071c2 Merge "Remove the scrimming of notifications" into lmp-dev 2014-09-05 13:58:33 +00:00
Adrian Roos
c2c661fccc Merge "Reorder brightness slider mirror in front of album art" into lmp-dev 2014-09-05 13:58:33 +00:00
Jorim Jaggi
f9fb30f54b Merge "Hide notifications when occluded and disabled on keyguard" into lmp-dev 2014-09-05 13:51:37 +00:00
Adrian Roos
cc74113ac6 Reorder brightness slider mirror in front of album art
Fixes slider disappearing when album art is showing.

Bug: 17373958
Change-Id: Ifdb184a6a750f798bc94a9d1eeca9299b246a513
2014-09-05 15:50:53 +02:00
Selim Cinek
4c866929d7 Merge "Fixed a bug where the notifications could overlap when reset" into lmp-dev 2014-09-05 13:49:23 +00:00
Winson Chung
acdc602f18 Merge "Generalizing Recents widget category to Search box. (Bug 17334589)" into lmp-dev 2014-09-05 13:41:40 +00:00
Jorim Jaggi
68e6fa72f2 Remove "forgot pattern" in pattern view
Bug: 17184958
Change-Id: I7ebb35a1b734286ded99352b3fa2b891386c581d
2014-09-05 15:41:07 +02:00
Jorim Jaggi
06c19ea001 Remove the scrimming of notifications
Not really needed anymore and adds a lot of overdraw. Let's get rid
of it.

Bug: 17287256
Bug: 17346296
Change-Id: I319596f7059b6ed0d3d7a578d3c786921001f4b5
2014-09-05 15:37:12 +02:00
Jorim Jaggi
da30a03d96 Hide notifications when occluded and disabled on keyguard
Bug: 17371021
Change-Id: I27769a2334285fe753a3ee5ce55986d4fd23b83c
2014-09-05 15:13:39 +02:00
Adrian Roos
fdd04d42d2 Merge changes Ibb63814e,I0322b1e6 into lmp-dev
* changes:
  Prevent full shade guesture from doing the wrong thing
  Add current user announce to MultiUserSwitch
2014-09-05 12:57:55 +00:00
Selim Cinek
6e28a678c7 Fixed a bug where the notifications could overlap when reset
This is because we did not receive a layout request even though
the notification was updated.

Bug: 17357688
Change-Id: Ie6295d07f4c00ec014b17671ad646261c4bb7e0f
2014-09-05 14:43:28 +02:00
Christoph Studer
038839e947 Merge "SysUI: Upsort PRIORITY_MAX system notifications" into lmp-dev 2014-09-05 09:33:43 +00:00
Winson Chung
9a245b5de3 Merge "Ensure that there is enough space for the tablet search widget. (Bug 17190069)" into lmp-dev 2014-09-05 09:25:18 +00:00
Winson Chung
517c9ef165 Ensure that there is enough space for the tablet search widget. (Bug 17190069)
Change-Id: I89694edac6f299e4a9cfca8a99a0d71dce1ae168
2014-09-05 09:23:20 +00:00
Jim Miller
705004bebf Send USER_PRESENT broadcast after keyguard animation finishes
This fixes a potential race between receiving USER_PRESENT
broadcast and testing if keyguard is finished
(KeyguardManager.isKeyguardLocked())

This also fixes an issue where USER_PRESENT isn't sent when
device encryption is enabled.

Fixes bug 17322844
Fixes bug 17301385

Change-Id: Icab3068c24032942ffdf6554d6d53cc656ae6666
2014-09-04 17:11:17 -07:00
Svetoslav
d97bf6920b Add a missing dependency on a shared JNI library
bug:17389508

Change-Id: I38e1ad7daf991f37458eac391b472eb3816d7838
2014-09-04 12:37:52 -07:00
Baligh Uddin
6bed40eddc Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-04 17:49:32 +00:00
Baligh Uddin
82a946d7de Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-04 17:49:05 +00:00
Baligh Uddin
d837c3e87d Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-04 17:48:59 +00:00
Chris Wren
0fb810a3fa Merge "Honor per-app sensitivity setting." into lmp-dev 2014-09-04 17:42:18 +00:00
Yorke Lee
135b59e597 Merge "Use TelecommManager APIs to detect if we are in a call" into lmp-dev 2014-09-04 17:27:25 +00:00
Brian Carlstrom
191cbad91f Used LOCAL_SHARED_LIBRARIES for proper dependencies
bug:15938254
Change-Id: I710f689e8bcad66988ef3aa0aa189b185c8ad662
2014-09-04 09:52:31 -07:00