5395 Commits

Author SHA1 Message Date
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
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
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
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
John Spurlock
08c7116ab9 Remove unused imports in frameworks/base.
Change-Id: I031443de83f93eb57a98863001826671b18f3b17
2015-02-28 14:47:49 -05:00
John Spurlock
af5d44e441 Merge "VolumePrototypes: Better handle removals/upgrades." 2015-02-26 20:54:14 +00:00
John Spurlock
c72d4cbc81 VolumePrototypes: Better handle removals/upgrades.
- Repoke the setting at startup to ensure we have the latest UID.
 - Automatically restore the default volume UI when the current
   vcs is uninstalled.

Bug: 19260237
Change-Id: Ie1fe356fea08392278340b54230ab429d14e1583
2015-02-26 15:51:11 -05:00
John Spurlock
2a574d3331 Merge "VolumePrototypes: Fix restoration notification intent." 2015-02-26 18:52:38 +00:00
John Spurlock
0c6ba18b5c VolumePrototypes: Fix restoration notification intent.
Change-Id: Id54268d1b167e7be982d6cbd13c34913279fe97a
2015-02-26 13:42:53 -05:00
John Spurlock
3c4076a246 DND: Add a hidden DND tile to quick settings.
Invisible by default, not activatable when the platform
volume controller is active.

However, when the platform volume controller is not active,
it can be enabled via a broadcast intent.

When enabled, the status bar icon also changes to a single
dnd icon.

Very little more than embedding the existing zen mode panel
into the detail pane of a new QS tile.

Change-Id: I1e0ff6fbb99b00f67b53bceda8cbf121f3ef6b52
2015-02-25 12:46:13 -05:00
Chris Wren
56919558f1 add null guards around notification listener handlers
Bug: 17909556
Change-Id: I990489a3839c49f87e3b69b3cb7bdd055fe5aec1
2015-02-25 11:49:46 -05:00
John Spurlock
283dbfbd54 Merge "MediaProjectionPermissionActivity: Fix NPE." 2015-02-24 17:20:33 +00:00
John Spurlock
3d332f4e67 MediaProjectionPermissionActivity: Fix NPE.
Avoid dismissing a null dialog.

Bug: 19492919
Change-Id: I6642bb5194d9818ff3db1266c7c78ed752e23ecf
2015-02-24 12:14:06 -05:00
Jason Monk
fb66b8ff48 Merge "Some Tethering code to SettingsLib and use in QS" 2015-02-24 13:16:27 +00:00
Selim Cinek
91a4e74101 Merge "Fixed a crash when drawing the notification background" 2015-02-23 14:47:04 +00:00
Jorim Jaggi
33ae80e35a Make light status bar fade nicely during unlock transition
By using the timings supplied by window manager for the unlock
transition, the transition from dark -> light status bar looks much
nicer.

Bug: 19233606
Change-Id: I33b9048a10e2bd827ff504ab52f385cc88867112
2015-02-23 13:09:02 +01:00
Jorim Jaggi
24bec7ce7a Implement nice transitions for light status bar
- When the flag changes, apply an animation from the current value
- When the flag change is caused by an app transition, synchronize
  the status bar animation with the app transition animation.
  PhoneWindowManager calculates the timings based on some heuristics
  of the app transition animations and supplies these timings to
  StatusBarService.

Bug: 19233606
Change-Id: I4f99afba8f1eebb3524699ed4d7fbafee5463a37
2015-02-23 13:08:41 +01:00