15675 Commits

Author SHA1 Message Date
Selim Cinek
131c1e2960 Made sure that HUNS with full screen intents stay pinned
When a HUN came in with a full screen intent came in and the shade
was open, the notification was not pinned and therefore got lost
when the shade was closed, potentially leading to missed alarms
or calls.

Bug: 20431566
Change-Id: I0d5da0f9baba8d9f68ba2755c40c5fd9a8471191
2015-05-13 03:35:38 +00:00
Xiyuan Xia
55e603ee9d Merge "Make PIN/Password/Pattern check async" into mnc-dev 2015-05-12 22:08:10 +00:00
Adrian Roos
51cfdd622f Merge "Only dispatch systemUiVisibility when it actually changes" into mnc-dev 2015-05-12 21:16:24 +00:00
Adrian Roos
389beec68d Only dispatch systemUiVisibility when it actually changes
Bug: 19000727
Change-Id: I9302746281188186d18256d45fee681bd2ab50d5
2015-05-12 14:12:40 -07:00
John Spurlock
e12931f6a5 Merge "DNDTile: Notify of value changes." into mnc-dev 2015-05-12 19:58:49 +00:00
John Spurlock
b1688f6af6 DNDTile: Notify of value changes.
Bug: 21055789
Change-Id: If9008b13a6a5583832fc4dfaa8ec3e21b61cb25c
2015-05-12 15:52:38 -04:00
Xiyuan Xia
6e38058908 Make PIN/Password/Pattern check async
- Add LockPatternChecker to support async security check;
- Migrate Keyguard UI to use the async check;

Bug: 20697812
Change-Id: I77002a12931feb17cc20923d7c917b3e37f2cd31
2015-05-12 12:42:38 -07:00
Chris Craik
6af2857ae0 Merge "Revert "Fix build - Revert "Revert "Use default constructor to get anti-aliasing"""" into mnc-dev 2015-05-12 19:40:26 +00:00
Jason Monk
ba6a72fd66 Merge "Fix crash in setup wizard" into mnc-dev 2015-05-12 18:37:25 +00:00
Jason Monk
a42ee81368 Fix crash in setup wizard
Clear out any unhandled worker messages before stopping tracking.

Bug: 21048197
Change-Id: I3792215a1e7799bdb93587cd7158c4d5d86de348
2015-05-12 14:20:25 -04:00
Chris Craik
6a49ddef62 Revert "Fix build - Revert "Revert "Use default constructor to get anti-aliasing"""
Fix import

This reverts commit 7ed1431c83286abc83b9e5afc45fbd21ecb777b1.

Change-Id: Id93eba3ed1d47a90384ba20dea6f74d78755792b
2015-05-12 10:44:30 -07:00
Chris Craik
7ed1431c83 Fix build - Revert "Revert "Use default constructor to get anti-aliasing""
This reverts commit dfe0a66ceca530e0777ebfab20f81103baa18f14.

Change-Id: I58a1bae649a284f3d3b6213064d903ea7fcf185a
2015-05-12 17:22:22 +00:00
Chris Craik
dfe0a66cec Revert "Use default constructor to get anti-aliasing"
bug:20948129

This reverts commit 58fc522a69e8ddf9ac8530ce88e9c2c92da1dd14.

Change-Id: Iddeccb4ad15b843bb3e610bd3673a0c7abc1bf46
2015-05-12 16:36:49 +00:00
Jason Monk
e74d5d09e1 Merge "Add SysUI Tuner" into mnc-dev 2015-05-12 15:03:44 +00:00
Jason Monk
295a337781 Add SysUI Tuner
Change-Id: I9b0fabbe913b8297d8c668b6416a7be856adb9d5
2015-05-12 11:01:02 -04:00
Jason Monk
27bbb2d0a1 Add control for double tap to wake setting
Bug: 16875464
Change-Id: Ic1ad910dd38acbc68ef040b2acdf3696ec2c2e4e
2015-05-12 10:12:32 -04:00
Selim Cinek
7c4b054ebf Gave more context on an accesibility string
Bug: 21024091
Change-Id: I298786cc71a7368298df620d699a49ef29adec06
2015-05-12 00:45:34 +00:00
Selim Cinek
35b7771fcb Fixed a bug that the user could not drag down on the heads up
Change-Id: I4a806c88d9b2bf4d176dab32ed793c1105ffd237
(cherry picked from commit dcc3138db295c513aeda322a447f9dd1295e180e)
2015-05-12 00:42:26 +00:00
Selim Cinek
b05f5739bb Fixed a crash with the voice interaction service
Bug: 20925281
Change-Id: I136014ebc12c3afcb154722a8fec44b1d5f003e9
(cherry picked from commit 64904d39f8062b026c2d4c09c9a5a26532e60bb6)
2015-05-12 00:41:15 +00:00
Selim Cinek
737bff3476 Fixed a bug where the HUN would interfere with the normal touches
When a hun came in or went away, the touchable regions were not
enforced correctly due to a race condition. This lead to the user
grabing the notification panel unintentionally and ripping him
out of the normal touch state.
Also fixed a small bug where the alpha was not correctly animating
sometimes and the HUN shadow would still draw.

Bug: 20956211
Change-Id: Iae1fef5825b3d2b8b4128cc8c3272019194cd819
(cherry picked from commit 8b4a06e9e269140c93c1a9ef5add008f7610d1a4)
2015-05-12 00:39:36 +00:00
John Spurlock
ceacb51e04 Merge "Zen: Distinct icon for DND = total silence." into mnc-dev 2015-05-11 22:30:14 +00:00
John Spurlock
4ec8b60295 Zen: Distinct icon for DND = total silence.
Bug: 21032320
Change-Id: I0c7b8564c38b420081ee60ee244058b8039febf7
2015-05-11 17:49:36 -04:00
John Spurlock
fb9a664b2b Merge "Zen: Reset zen + ringer modes on upgrades to M." into mnc-dev 2015-05-11 20:42:52 +00:00
John Spurlock
e11ae11631 Zen: Reset zen + ringer modes on upgrades to M.
Bug: 20886649
Change-Id: I79d0b4a31eb9d54c5e5d4cd80236fdb8340dfeb2
2015-05-11 16:20:16 -04:00
Mady Mellor
15445a652b Merge "Provide a way for a stylus to access the quick settings menu" into mnc-dev 2015-05-11 17:28:46 +00:00
John Spurlock
b7c9b2259f Merge "QS: Defer tile view updates when opening the detail panel." into mnc-dev 2015-05-11 17:28:00 +00:00
John Spurlock
20c8905869 QS: Defer tile view updates when opening the detail panel.
Bug: 20916542
Change-Id: I8e367fb2f8274eafb8d142fbfb54bc9be66b7546
2015-05-11 13:24:23 -04:00
Jason Monk
d567d88e10 Merge "SettingsLib: Do wifi processing in background" into mnc-dev 2015-05-11 16:57:23 +00:00
Jason Monk
30d8004dbf SettingsLib: Do wifi processing in background
Bug: 19520495
Change-Id: Iefad932bd523b26a19e5f902133563341aea7426
2015-05-11 12:37:43 -04:00
Steve McKay
b3100f4b13 Merge "Delete StandaloneActivity from M (DO NOT MERGE)" into mnc-dev 2015-05-11 16:21:02 +00:00
Steve McKay
6e02dc8cd6 Delete StandaloneActivity from M (DO NOT MERGE)
The activity is already disabled by default.
Fix an issue where copy support error handling was attempting to invoke StandaloneActivity.

Change-Id: If15c312a183cae1b2a84517e7f7b3123c11bd619
2015-05-11 16:19:00 +00:00
John Spurlock
77bb25af3d Volume: Separate tint colors for active vs inactive sliders.
Bug: 20889746
Change-Id: I98f6a0eab8f2db41ea7e1ba8e141752ef774de9e
2015-05-11 12:12:07 -04:00
John Spurlock
e71442521a Volume: Use teal color for "End now".
Bug: 20888718
Change-Id: I7f485dd5faa42ec7c2631c7bdeb3c03ddb46c530
2015-05-11 11:55:40 -04:00
Chris Wren
df2e2809bf Merge "log more settings actions" into mnc-dev 2015-05-11 15:07:21 +00:00
Geoff Mendal
aaefe3733b Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-05-11 13:24:59 +00:00
Geoff Mendal
cac1cad78f Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-05-11 13:22:36 +00:00
Geoff Mendal
df0d37289e Import translations. DO NOT MERGE
Change-Id: I3b9bc4b615456852e450db14f517a103fd8cb697
Auto-generated-cl: translation import
2015-05-11 06:21:28 -07:00
Geoff Mendal
5851438476 Import translations. DO NOT MERGE
Change-Id: Ia8e10381534c60257e959e7d0eaf02deb0097142
Auto-generated-cl: translation import
2015-05-11 06:17:31 -07:00
Geoff Mendal
ebb3a45a67 Import translations. DO NOT MERGE
Change-Id: I0999d1abf6951574e9ba7fc6c8a608aaea4540de
Auto-generated-cl: translation import
2015-05-11 06:14:14 -07:00
Chris Wren
9e7283f6a3 log more settings actions
airplane: quick and slow settings
  bluetooth: quick and slow settings
  cellular data: quick and slow settings
  dnd: quick and slow settings
  wifi: quick settings (slow already done)
  cast: quick settings
  user: quick settings

include state of the toggle in the action log

Back away slowly from the over-generalization of logging
around handleClick, the semantics of mState are particular
to the individual tiles.

Bug: 20264417
Change-Id: I4cecbd3361af64d08de9fb41b8dca210a8086a80
2015-05-08 22:25:40 -04:00
John Spurlock
fbc1fdf88a Zen QS: Tweak segmented button + introduction styling.
- Add a rounded rect background to the segmented buttons.
 - Remove the spacing between the segmented buttons.
 - Increase the minheight + font weight of the button text.
 - Remove the embedded divider line.
 - Add a rounded rect background to the intro messages.
 - Tweak margins, mostly 8dp -> 16dp in a few places.

Bug: 20949290
Bug: 20947407
Change-Id: Ic497c772aa7228423c8884d6ec7b9ccbfdda365a
2015-05-08 18:19:44 -04:00
Selim Cinek
03fdca1b29 Merge "Fixed a bug where the heads-up would not show when full screen" into mnc-dev 2015-05-08 02:04:52 +00:00
Siva Velusamy
1f86199748 Merge "Use new hierarchy viewer protocol in all View subclasses" into mnc-dev 2015-05-08 01:51:19 +00:00
Siva Velusamy
94a6d15ede Use new hierarchy viewer protocol in all View subclasses
A previous CL introduced a new way of encoding view properties for
use by heirarchy viewer. This CL updates all views using the old
@ExportedProperty annotation to use this new method. The older
mechanism will be removed in a subsequent CL.

Change-Id: I6cc23b90cd9da1c6ce89b4caffe54874db203452
2015-05-07 18:44:21 -07:00
Paul Jensen
3199980812 Merge "Add URL bar to captive portal login app." into mnc-dev 2015-05-08 01:08:53 +00:00
Selim Cinek
4a4a2bddc4 Fixed a bug where the heads-up would not show when full screen
Bug: 20728541
Change-Id: I74bc74c4936b003a4c0c37b7c7da2d1fa138c077
2015-05-07 16:54:05 -07:00
Chris Wren
d11ad51d11 Merge "add logging to quick settings tiles" into mnc-dev 2015-05-07 19:23:34 +00:00
Chris Wren
457a21cdea add logging to quick settings tiles
QS Grid visibility
  Tiles that are visibile in the grid
  Taps on tiles
  Detail visibility for DND, Users, and Data

Bug: 20264417
Change-Id: I95e65484a9be0a53a071bc12ce8195120582621e
2015-05-07 15:14:28 -04:00
Seigo Nonaka
14e139179b Retry "Always show auxiliary subtypes from NavBar keyboard icon."
This CL relands I1e50ee42838a1bf64a612da4904aa93458d44ea4, which was
reverted by I3decaf37198e5864a1763a059df4a36ebc70c5a7 due to the build
breakage in 'layoutlib' target, with a proper fix.

Hereafter the original CL description is repeated.

The auxiliary subtypes should be listed if the input method picker is
opened from NavBar keyboard icon.  However there is only
IMM#showInputMethodPicker() API to open input method picker and this is
also used from LockScreen or Settings UI.  Auxiliary subtypes should not
be listed there(Id7cf5d122).  Thus framework shows auxiliary subtypes
based on IMMS#mInputShown and LockScreen state, but it is not a perfect
solution.  If a physical keyboard is connected, the soft input may be
gone.  As the result, auxiliary subtypes won't be listed even if it is
opened from NavBar keyboard icon.

To fix this issue, this CL introduces IMM#showInputMethodPicker(boolean)
to be able to decide showing auxiliary subtypes by caller.
Note that IMM#showInputMethodPicker(boolean) is still hidden with @hide.
There is no public API change in this CL.

Bug: 20763994
Change-Id: Id156c85535a221235737ea6dcc15a67f1c4b9f71
2015-05-06 21:34:07 -07:00
Bart Sears
1b0888fe8e Merge "Revert "Always show auxiliary subtypes from NavBar keyboard icon."" into mnc-dev 2015-05-07 01:52:08 +00:00