9542 Commits

Author SHA1 Message Date
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
f6829a0a61 Remove HardwareCanvas
Change-Id: I239646a7f00f09d3f76fe6b6162eed86bc0d6e77
2015-03-10 14:56:11 -07:00
Chris Craik
ddd72599bf Merge "Rename and simplify DisplayList Canvas classes" 2015-03-10 16:29:01 +00:00
Adrian Roos
fab0d814d2 Use Flashlight API in quick settings
Bug: 19627408
Change-Id: I23192c7b8c7e8d52e8ddd71f20d2140152f88d3a
2015-03-10 16:55:01 +01:00
Raju Yadav
aedae722fd systemui: Handle case when network has been lost
If the network is immediately lost after becoming
available the onAvailable callback may not yet
have finished and is working with a lost network.
In this case networkCapabilities may be null, so
handle that.

Change-Id: I588586ae0e844667cca4e2fd992d9694432a2198
2015-03-10 14:12:14 +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
Geoff Mendal
d7852b66ab Import translations. DO NOT MERGE
Change-Id: I5057e9ae3a255e9315967eae49f71c862fd53290
Auto-generated-cl: translation import
2015-03-09 05:56:54 -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
Jim Miller
ba67aee02c Add fingerprint settings support to the framework
- cleanup thread issue and simplify native FingerprintService methods
- add new permissions and enforce them
- add fingerprint hardware detection API

Change-Id: I87c2243ea2412061f1e85b044138480d0161bcdf
2015-02-27 12:03:32 -08:00
Geoff Mendal
b17653a6a8 Import translations. DO NOT MERGE
Change-Id: I030ed9725292854138dabb8c6d9b67e5a7ef0aa6
Auto-generated-cl: translation import
2015-02-26 16:26:53 -08: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
bd4b5b7fd0 Merge "QS: Update detail button text color." 2015-02-26 19:56:48 +00:00
John Spurlock
5b093fad74 QS: Update detail button text color.
Bug: 19528440
Change-Id: I691899e16e47c9ae6877725a69ede789b78478f6
2015-02-26 14:55:04 -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
fc0b168711 Merge "DND: Add a hidden DND tile to quick settings." 2015-02-25 17:47:58 +00: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
Geoff Mendal
84df2801d4 Import translations. DO NOT MERGE
Change-Id: I897dff4093f9cce29524a64a9cc4fc08a6655e57
Auto-generated-cl: translation import
2015-02-25 07:01:14 -08:00
Geoff Mendal
ecac2cb4d2 Import translations. DO NOT MERGE
Change-Id: I84339eebbf7a8e2332e85a104b85ec740a25d6f1
Auto-generated-cl: translation import
2015-02-25 06:08:29 -08:00
John Spurlock
283dbfbd54 Merge "MediaProjectionPermissionActivity: Fix NPE." 2015-02-24 17:20:33 +00:00