9454 Commits

Author SHA1 Message Date
Selim Cinek
d2e1dc138c Merge "Fixed a bug where HUNs would not dissappear" 2015-03-16 22:29:24 +00:00
Selim Cinek
0090ea5572 Fixed a bug where HUNs would not dissappear
Bug: 19626170
Change-Id: Iadc4bd6b2bfc85b3da67e1e87cf1514cfcb269bb
2015-03-16 13:34:43 -07:00
Selim Cinek
b60a658edb Merge "Added more anti-falsing logic" 2015-03-16 18:01:00 +00:00
Selim Cinek
547a06b50f Added more anti-falsing logic
We now discard unlock attempts with multiple pointers.

Bug: 18544191
Change-Id: Id2e7bca0353b3f85aa193f6a5c793b93ca0776e3
2015-03-16 10:53:08 -07:00
Geoff Mendal
47c6843cb5 Import translations. DO NOT MERGE
Change-Id: I5974745b1b216beda4ebed9da78b0b2c0b4d4efe
Auto-generated-cl: translation import
2015-03-16 06:37:26 -07:00
Selim Cinek
ed755abbb0 Merge "Enable surfacing of notification children" 2015-03-13 21:50:38 +00:00
Selim Cinek
920752e98a Merge "Refactored guts inflating for notifications" 2015-03-13 21:49:29 +00:00
Selim Cinek
a8670ff3df Merge "Improved the logic for notification clipping" 2015-03-13 21:48:27 +00:00
Selim Cinek
b4bdbdcde3 Merge "Introduced a group manager to manage group notifications" 2015-03-13 21:47:35 +00:00
Selim Cinek
0a826bf5ab Merge "Fixed a bug when clicking below notifications." 2015-03-13 21:45:39 +00:00
Selim Cinek
4562845599 Merge "Heads-up notifications now reuse the views from the shade" 2015-03-13 21:42:43 +00:00
Selim Cinek
553fc83fd9 Merge "Made stack scroller animation and apply logic reusable" 2015-03-13 21:40:20 +00:00
Selim Cinek
b5605e58cb Enable surfacing of notification children
Yo Dawg, I herd you like notifications, so I put a
notification in your notification so you can be
interrupted while you are being interrupted.

Bug: 15869874
Bug: 15188947
Change-Id: I6c733d6f8e8a04f85036182f82d3e945c6feb5bc
2015-03-13 12:51:20 -07:00
John Spurlock
b6e19e3e0f AudioService: Define minimum levels for volume streams.
- Set a floor of 1 for voice call + bluetooth sco, otherwise 0.
 - All api calls validated to ensure a floor of the min level.
 - Volume UI updated to shift the seekbar by the min value.
 - Remove duplicate static max method in AudioService.
 - Ensure streams with a min level > 0 are not considered muteable.

Bug: 19260237
Change-Id: I213180c9c277f51bd3897b7f777e5f88ed1db125
2015-03-13 11:02:01 -04:00
Selim Cinek
ab29aebf00 Refactored guts inflating for notifications
Change-Id: I80f6a3cc93e107e0909034b58d0939271e54f3e2
2015-03-12 16:05:32 -07:00
Selim Cinek
a272dfed9a Improved the logic for notification clipping
Views are now still clipped during animations
but just on the right size.

Change-Id: I25e7d6dd67c9fcdb3a2c743048f9e83c840d837e
2015-03-12 16:05:13 -07:00
Selim Cinek
25fd4e2be7 Introduced a group manager to manage group notifications
Bug: 15869874
Change-Id: I1bbcd9e5a2b8dae62bd8d93908dacc5d8fc08887
2015-03-12 16:04:52 -07:00
Selim Cinek
abf60bb20f Fixed a bug when clicking below notifications.
When clicking on the bottom stack in the locked shade,
a click might have triggered a returning to the keyguard
instead of being catched by the notification if the
dismissview was present.

Change-Id: I7c6c74c8c98bd8e67ac882f92c90e25ac50c008c
2015-03-12 16:02:54 -07:00
Selim Cinek
379ff8f6b1 Heads-up notifications now reuse the views from the shade
Change-Id: I6f43b70022f1ea439b80f6b6a0279a03d8c75887
2015-03-12 16:02:27 -07:00
Selim Cinek
b036ca4de8 Made stack scroller animation and apply logic reusable
Change-Id: I5d513dfc91b2a041ccefaa65074a64d1f211ec4a
2015-03-12 15:53:40 -07:00
John Spurlock
a48d779dad Volume policy updates.
- Make volume policy settable by the volume UI instead
   of hardcoded in AudioService.
 - Add status bar icon for silent mode.
 - Limit unmute-on-volume-adjust behavior to tvs.
 - Ensure all changes to device volume are sent through
   setIndex so no change events are missed.

Bug: 19260237
Change-Id: Iea070a7a6f90ff620e39629f2da3f33f87223d72
2015-03-12 13:57:08 -04:00
Jason Monk
78981e0393 Merge "Make QS use SettingsLib's BT code" 2015-03-12 14:23:51 +00:00
Chris Craik
ddd72599bf Merge "Rename and simplify DisplayList Canvas classes" 2015-03-10 16:29:01 +00:00
Chris Craik
c9070ebd13 Rename and simplify DisplayList Canvas classes
Change-Id: I49fd2ce02e01401209fe2a378e9f9547c7b27c61
2015-03-09 19:09:55 -07:00
Adrian Roos
6f59787d2f Merge "Add prototype of Inline Reply behind debug flag" 2015-03-09 23:53:57 +00:00
Adrian Roos
497ab023f9 Add prototype of Inline Reply behind debug flag
The flag also extracts wear-only RemoteInput actions
to the normal set of actions under certain
circumstances to make this prototype actually useful.

Change-Id: Ide8bbef4e2ab82e2f152d32b143876ed309a8f21
2015-03-09 18:31:58 +01:00
Geoff Mendal
cfad35db63 Import translations. DO NOT MERGE
Change-Id: I433509f59a78920d4e2ac1e5eb4d44fb81b2fd48
Auto-generated-cl: translation import
2015-03-09 06:40:26 -07:00
Dan Sandler
1c20d3cf3f am eef3fbcf: am 8deb6d95: am e6a4b445: am 3581f4c9: Merge "Avoid crashing on startup when policy forbids lockscreen camera." into lmp-mr1-dev
* commit 'eef3fbcf6825a5e5e0cb150123d9bc87956fbb23':
  Avoid crashing on startup when policy forbids lockscreen camera.
2015-03-06 00:39:10 +00:00
Dan Sandler
eef3fbcf68 am 8deb6d95: am e6a4b445: am 3581f4c9: Merge "Avoid crashing on startup when policy forbids lockscreen camera." into lmp-mr1-dev
* commit '8deb6d95a73d5d6860fbfb2eb273cdbc49c5d2c9':
  Avoid crashing on startup when policy forbids lockscreen camera.
2015-03-06 00:31:04 +00:00
Dan Sandler
e6a4b44594 am 3581f4c9: Merge "Avoid crashing on startup when policy forbids lockscreen camera." into lmp-mr1-dev
* commit '3581f4c91a77ecb9313f51a2d07ed88ff61d9299':
  Avoid crashing on startup when policy forbids lockscreen camera.
2015-03-06 00:10:22 +00:00
Dan Sandler
3581f4c91a Merge "Avoid crashing on startup when policy forbids lockscreen camera." into lmp-mr1-dev 2015-03-06 00:03:37 +00:00
John Spurlock
3bedeb0101 am bd438742: am b879e739: am c974ac11: MediaProjectionPermissionActivity: Fix NPE.
* commit 'bd438742870a51eacea3554376f671bd1be0e30c':
  MediaProjectionPermissionActivity: Fix NPE.
2015-03-04 23:15:51 +00:00
John Spurlock
b879e7395f am c974ac11: MediaProjectionPermissionActivity: Fix NPE.
* commit 'c974ac11f808968648d26e83a0b64a7fba02ad15':
  MediaProjectionPermissionActivity: Fix NPE.
2015-03-04 23:01:26 +00:00
John Spurlock
75328b703f Merge "Audio: Remove the concept of master volume." 2015-03-04 22:59:41 +00:00
John Spurlock
ee5ad729b9 Audio: Remove the concept of master volume.
- Remove two config resources (use master volume, and volume ramp).
- Remove master volume adjustments / getters / intents.
- Retain @hidden setMasterMute, needed for device admin
- Remove master volume logic in AudioService.
- Remove master volume logic in VolumePanel.
- Rename "getMasterStreamType" to "getUiSoundsStreamType" to avoid confusion.

Bug: 19582978
Change-Id: Id02c8fa4898cff3b913147f5ac1b4038e2e7cc24
2015-03-04 17:51:44 -05:00
John Spurlock
c974ac11f8 MediaProjectionPermissionActivity: Fix NPE.
Avoid dismissing a null dialog.

Bug: 19492919
Change-Id: I6642bb5194d9818ff3db1266c7c78ed752e23ecf
(cherry picked from commit 3d332f4e67a484abe597576bf329d89655afe720)
2015-03-04 18:58:18 +00:00
Geoff Mendal
a4f2c41ebf Import translations. DO NOT MERGE
Change-Id: I7b7b245ade1c83878576c5e9e489a4506bfd7538
Auto-generated-cl: translation import
2015-03-04 06:50:38 -08:00
Geoff Mendal
c70510298e Import translations. DO NOT MERGE
Change-Id: I50787822a2df02ff61bfe4f7402b96dcd2cd43a7
Auto-generated-cl: translation import
2015-03-04 06:02:36 -08:00
Jim Miller
25d7e51a10 Change fingerprint behavior in keyguard to dismiss on notification
This changes fingerprint to dismiss the notification screen rather
than moving to a trusted state.

Fixes bug 19592835

Change-Id: I5020408df2e8b73a34c264b5ac052251e3a17b8d
2015-03-03 17:12:09 -08:00
Dan Sandler
e163a645dd Avoid crashing on startup when policy forbids lockscreen camera.
Bug: 19554426
Change-Id: I5b2898d7d114de87d925b5eccc8e4b189e4713de
2015-03-03 16:06:28 -05:00
Chris Wren
70205fc199 Merge "add null guards around notification listener handlers" 2015-03-03 20:08:08 +00:00
Chris Craik
4939e2bf36 Merge "Improve docs for drawable tint and color filters" 2015-03-03 16:46:48 +00:00
Chris Craik
bd3bfc5285 Improve docs for drawable tint and color filters
bug:19564477
Change-Id: I7e11baae2d4dd245965904c85b8855de71f6b6ac
2015-03-02 16:21:02 -08:00
John Spurlock
7b91c55b3f Merge "Remove unused imports in frameworks/base." 2015-03-02 20:43:50 +00:00
Winson Chung
0e1f9b91f1 Merge "Force single stack id workaround. (Bug 19560619)" 2015-03-02 18:24:09 +00:00
Winson Chung
955ac2237d Force single stack id workaround. (Bug 19560619)
Change-Id: Ia3cbe0ca75b018bf499a814f37d8a532d52981f1
2015-03-02 10:20:37 -08:00
Jason Monk
be3c5dbee6 Make QS use SettingsLib's BT code
A couple of changes needed to be made to SettingsLib to support this.
 - SettingsLib needed to track ACTION_CONNECTION_STATE_CHANGED
 - The summary code needed to move from Settings up into SettingsLib
 - Added a getMaxConnectionState to CachedBluetoothDevice
    - This simplifies the states of all of the profiles into
      one.

Change-Id: I7f828f0038ad0cf39274986ece6d486d545f0286
2015-03-02 10:40:21 -05:00
Geoff Mendal
b409d300d1 Import translations. DO NOT MERGE
Change-Id: I54de8a6c8accba25846ccea871e096df4bbee52c
Auto-generated-cl: translation import
2015-03-02 07:01:31 -08:00
Geoff Mendal
341b04711d Import translations. DO NOT MERGE
Change-Id: Icff770a9eb701279c5011e816970c69c58862174
Auto-generated-cl: translation import
2015-03-02 06:15:22 -08:00
John Spurlock
08c7116ab9 Remove unused imports in frameworks/base.
Change-Id: I031443de83f93eb57a98863001826671b18f3b17
2015-02-28 14:47:49 -05:00