22252 Commits

Author SHA1 Message Date
Anthony Chen
e87032cd75 Scale phone state icons.
The status bar icons can all be optionally scaled by the scale factor in
dimens. The phone stat icons had not been updated to include this
scaling logic.

Also allow the spacing between the icons in the mobile signal group to
be adjusted.

Change-Id: I12b35d462599f8a0747477fb280a974ffa77d01c
2016-02-23 18:53:17 +00:00
Wale Ogunwale
f8df4d0d43 Merge "Changed sys-ui manifest to use resizeableActivity attribute..." into nyc-dev 2016-02-23 18:37:49 +00:00
Selim Cinek
729166fb44 Merge "Fixed a bug where QS could fling up even when collapsing" into nyc-dev 2016-02-23 18:21:11 +00:00
Felipe Leme
fe9731f4f2 Merge "Created counter (tron_varz_dumpstate_duration) for dumpstate duration." into nyc-dev 2016-02-23 18:14:27 +00:00
Wale Ogunwale
dc62575dd2 Changed sys-ui manifest to use resizeableActivity attribute...
Instead of resizeable attribute. resizeableActivity is what is used
for multi-window. The code currently works because it targets N :/

Change-Id: I82f1b1b46f66ea39ae682ed1d45f97bc6247b0bd
2016-02-23 10:02:58 -08:00
Aga Wronska
c7bf3f7cb8 Merge "Fix RenameDocumentFragment crash on rotation" into nyc-dev 2016-02-23 18:00:12 +00:00
Felipe Leme
4e34c4e53c Merge "Initial implementation of logging metrics for bugreport." into nyc-dev 2016-02-23 17:48:56 +00:00
Aga Wronska
7113872024 Fix RenameDocumentFragment crash on rotation
Bug: 26972374
Change-Id: I820661bc5363fe8ccc3ea39b3e27510907ddf2ef
2016-02-23 09:43:32 -08:00
Shweta Chahar
37550dd344 Merge "Add strings for TTS speech pitch seekbar." into nyc-dev 2016-02-23 17:40:57 +00:00
Felipe Leme
510e922e47 Created counter (tron_varz_dumpstate_duration) for dumpstate duration.
BUG: 26759986
Change-Id: I18534c127b35776a03e31b9d5cd190d864dff9e6
2016-02-23 09:40:13 -08:00
Felipe Leme
6605bd89c5 Initial implementation of logging metrics for bugreport.
This change logs the following user actions:

  - Interactive bug report initiated from power menu.
  - Full bug report initiated from power menu.
  - Bug report canceled using system notification.
  - Bug report details screen open using system notification.
  - Additional Bug report screen shot taken using system notification.
  - User changed bug report name using the details screen.
  - User changed bug report title using the details screen.
  - User changed bug report description using the details screen.
  - Changes made on bug report details screen were saved by user.
  - Changes made on bug report details screen were canceled by user.

BUG: 26759986
Change-Id: I1aae98b87a4dea66a1030a024dd799b97c25dd6d
2016-02-23 09:08:56 -08:00
shwetachahar
686570a618 Add strings for TTS speech pitch seekbar.
Bug: 27137452
Change-Id: Id9cb836c0e802444f0cfc611c715d7e3e2c359de
2016-02-23 16:33:53 +00:00
Vadim Tryshev
e2f0f73591 Merge "Don't show UNLOCK button when there are no users." into nyc-dev 2016-02-23 15:40:08 +00:00
Julia Reynolds
bdcc9b77c8 Merge "Scale volume panel with density changes." into nyc-dev 2016-02-23 14:51:35 +00:00
Alan Viverette
e44310cd95 Merge "Fix build" into nyc-dev 2016-02-23 14:44:25 +00:00
Alan Viverette
64eed5b1ee Fix build
Change-Id: I61a63e66831bbbcade17b3656f9ec18ced8ad628
2016-02-23 09:00:26 -05:00
Tomasz Mikolajewski
0d47cd2912 Merge "Cleanup error handling in jobs." into nyc-dev 2016-02-23 06:00:11 +00:00
Steve McKay
6738b2930c Merge "Don't enable move to for non deletable selections." into nyc-dev 2016-02-23 05:12:39 +00:00
Steve McKay
27d20a3024 Don't enable move to for non deletable selections.
Bug: 27135562
Change-Id: Id09b4c9d4f9836a4e5b2f66b8cbad63be9bb62b3
2016-02-22 21:08:37 -08:00
Selim Cinek
84e6de7778 Fixed a bug where QS could fling up even when collapsing
We previously changed the touch logic to always fling even when
the panel is fully expanded, but that lad to an issue when it didn't
even start to expand.

Bug: 26255211
Change-Id: I8c991a0a19b49eb405b8efc2d69baf29c709b363
2016-02-22 20:57:43 -08:00
Tomasz Mikolajewski
0fa97e85e4 Cleanup error handling in jobs.
Change-Id: Icf6a7aad1b84dc92285064810776239e93494e38
2016-02-23 10:36:19 +09:00
Selim Cinek
3322357b50 Added fake shadows in order to have the shadow nicely fade in
Bug: 26743157
Change-Id: I21c51aa3175276f7edeed4b6df6b8730909b6051
2016-02-22 16:54:04 -08:00
Selim Cinek
2854019979 Fixed the usage of the menu key to unlock
The menu key was not unlocking the keyguard properly
and didn't hide the notifications.

Bug: 26539875
Change-Id: I9dd89767f00d29c15d1d4e840a1ab22d59e58c8d
2016-02-22 15:57:02 -08:00
Selim Cinek
ce2bd0fac7 Fixed a bug where the numpad wasn't working correctly
Also accepting the enter key now from the numpad as a
confirm key.

Bug: 27108451
Change-Id: I63dbd4b6cad3d2dce74e297dcb7abad9c5e66cbe
2016-02-22 15:57:02 -08:00
Selim Cinek
3c76d509d3 Allow dismissal of sensitive notification
If the general setting is not to hide sensitive information
we allow the user to dismiss it.

Bug: 26328503
Change-Id: Ibea5d94e544291f00d8a2923b8cbf14170510bd8
2016-02-22 15:57:01 -08:00
Selim Cinek
e4c068d258 Fixed a bug with public notifications
Public notification titles were incorrectly modified when
the notification wasn't autoredacted (i.e screenshot).
This also lead to the doze mode not working correctly anymore
as notifications were colored.

Bug: 24866646
Change-Id: I3d4cdb0e13cfbf3fb8082b930936260d7c4749af
2016-02-22 15:57:01 -08:00
Selim Cinek
0934bd9942 Fixed a bug where the dozemode was incorrectly applied
This could lead to invisible white text.

Bug: 27147160
Change-Id: I1196c251c795a7e271545405fb3936bcbb84cb19
2016-02-22 15:57:00 -08:00
Chris Tate
737a1c1053 Merge "Implement wildcard-host policy in reference autoVerify implementation" into nyc-dev 2016-02-22 22:41:38 +00:00
Vadim Tryshev
ec018434d4 Don't show UNLOCK button when there are no users.
Alternate lock screen shows UNLOCK button in the middle of an
empty screen before any user has been created. See the screenshot
in the bug.

This fixes it. The approach is similar to the check in
KeyguardViewMediator.handleHide().

Bug: 27109342
Change-Id: I25536364b2c456d6fd55c79de7f25d2b0667e26f
2016-02-22 14:23:58 -08:00
Julia Reynolds
c791e05f76 Scale volume panel with density changes.
Also remove invisible settings buttons.

Bug: 26846853
Change-Id: I15722f5705a7718a90033d24c185eb21c8c41bc9
2016-02-22 17:05:44 -05:00
Alan Viverette
379b0d45b8 Merge "Remove night mode from developer settings" into nyc-dev 2016-02-22 20:44:01 +00:00
Jason Monk
15e124f2df Merge "Fix crash on QS edit immediate collapse" into nyc-dev 2016-02-22 20:34:27 +00:00
Steve McKay
2fbb40eebd Add CREATOR class to Selection.
Bug: 27236334
Change-Id: I5f50cd63b850785194fec2db3eb68e40aa7af34f
2016-02-22 12:29:37 -08:00
Jason Monk
77a2c5f56b Fix crash on QS edit immediate collapse
Bug: 27164002
Change-Id: Idd47716c08987eba14826c7b1f428c3231f9fdbd
2016-02-22 15:18:36 -05:00
Steve McKay
cddd034ca7 Merge "Move directory and roots support to own ui bots." into nyc-dev 2016-02-22 20:01:48 +00:00
Steve McKay
b9a20d10c9 Move directory and roots support to own ui bots.
Also...sorry, snowball, don't automatically open folders
    that are created in Files app. Only do this in DocumentsActivity.

Change-Id: I271655fd3566496eced4aaa7a44d5110233150a0
2016-02-22 11:50:34 -08:00
Toni Barzic
b799d3f127 Properly handle non split system user when showing bouncer
For system user, there should be no atempt to dismiss keyguard,
but only if system user is split (i.e. not a meat user).

Change-Id: Ia2c1e7a3e197c5be72446f21b3883e853485ff26
(cherry picked from commit aa401afb4cdfd5bab441e633aee801c2a127aec2)
2016-02-22 19:32:15 +00:00
Toni Barzic
a2ab1d6932 Merge "Try to dismiss Keyguard bypassing bouncer only for active users" into nyc-dev 2016-02-22 19:31:52 +00:00
Youngsang Cho
ffd4c73a29 Merge "PIP: Rename closeInternal to closePipInternal" into nyc-dev 2016-02-22 19:22:32 +00:00
Youngsang Cho
336007ba71 PIP: Rename closeInternal to closePipInternal
Change-Id: I6e1e98a1a75728d057a7dee3edbd2f2a6f32112d
2016-02-22 11:17:29 -08:00
Youngsang Cho
d78bf970ca Merge "Close PIP when PIP activity is finished" into nyc-dev 2016-02-22 19:04:29 +00:00
Youngsang Cho
23df699451 Close PIP when PIP activity is finished
Bug: 26717072
Change-Id: I5dd431b0ee64ca152bd49013bb6bbb3e8d9fba71
2016-02-22 11:03:00 -08:00
Alan Viverette
a2a859932d Remove night mode from developer settings
It's in SysUI Tuner now.

Change-Id: Id8fbce5462fc0a317c56f70ab2dbb2ffc004ffeb
2016-02-22 14:02:17 -05:00
Felipe Leme
c657f3d0ba Merge "Improved OpenExternalDirectoryActivity so it returns right away when an app already has the requested permission." into nyc-dev 2016-02-22 18:55:22 +00:00
Mady Mellor
e03688068f Merge "Fix crash when clearing all notifications" into nyc-dev 2016-02-22 18:54:40 +00:00
Mady Mellor
3cb40246f1 Fix crash when clearing all notifications
Bug: 27284789
2016-02-22 10:43:35 -08:00
Toni Barzic
657f88516a Try to dismiss Keyguard bypassing bouncer only for active users
Some bouncers might allow showing keyguards for users that are not
currently active (e.g. before any user is signed in, in which case the
system user is active). Make sure that keyguard is not dismissed
without showing bouncer in these cases.

Change-Id: I0e037b2d4e095d49c1f0d06a9fe1b9a6233421b0
(cherry picked from commit aa69fd417f32435d7d7c06f8d033efa7fa21475a)
2016-02-22 18:39:22 +00:00
Aga Wronska
f0febdcf90 Merge "Directory fragment refactoring. First attempt to to refactor fragments handling, state and app lifecycle." into nyc-dev 2016-02-22 18:28:42 +00:00
Xiaohui Chen
5da713599f sysui: refactor for extensibility
Bug: 27098035
Change-Id: I9ce480a5995f354ad45b6f13112cfa1ab49934cd
2016-02-22 18:07:42 +00:00
Aga Wronska
893390bd58 Directory fragment refactoring.
First attempt to to refactor fragments handling, state and app lifecycle.

The goal was to simplify code by using android built lifecycle
mechanism, eliminate bugs caused by multiple creation of the fragment,
see the performance impact and give some fundament for refactoring of
fragments and activities in the app.

Search view manager:
    * Remove curentSearch from state
    * Restore search from saved state (ex. after rotation)
    * Rename file  to give the better overview of its purpose

Directory fragment:
    * Store selection state in a bundle
    * Remove double creation of fragment
    * Use loaders to reload content when possible
    * Keep info about state inside the object
    * Refactor available types of fragment to be normal and recents
    * Make search type a mode possibly available in all types
    * Remove search being invoked from refresh method
    * Do search by reloading fragments content instead of recreation as
      an example

Other:
    * Fix window title maybe

Bug: 26968405, 27101786
Change-Id: I58f36cd0a3e3a6ec98996cd8aac16e10e425e1fe
2016-02-22 09:36:17 -08:00