233674 Commits

Author SHA1 Message Date
Selim Cinek
f1c6371587 Merge "Made the Chronometer able to count downwards" into nyc-dev 2016-02-23 00:55:26 +00:00
Chris Craik
cf1f7304ca Merge "Fix positioning in path fallback case" into nyc-dev 2016-02-23 00:54:29 +00: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
Suprabh Shukla
827d0d06e6 Merge "Moving recent tasks and images to /data/system_ce" into nyc-dev 2016-02-23 00:53:06 +00:00
Chris Craik
e2822e4c79 Fix positioning in path fallback case
bug:26923968
Change-Id: Iaf686fb69b629cf5c8762188073e57c8664150a8
2016-02-22 16:42:24 -08:00
Yang Ren
a856a70eaa Merge "TIF: Add information of TvInputHardwareManager to dumpsys" into nyc-dev 2016-02-23 00:35:25 +00:00
Dianne Hackborn
b6843657c4 Add ability to separately disable light and deep idle.
(Previously called "full" idle is now referred to as "deep" idle.)

We now keep separate enabled states for light and full idle
modes, and shell commands dealing with them now include an
argument to specify which they should impact.

Change-Id: Idf6d3d4bd85f800ebc034d97f57863351138fb4a
2016-02-22 16:31:23 -08:00
Abhijith Shastry
3b31ddd517 Merge "Rename suppressal to suppression." into nyc-dev 2016-02-23 00:11:27 +00:00
Abhijith Shastry
4478fdc3f2 Rename suppressal to suppression.
BUG: 26989170
Change-Id: Iafa21b885f7df7f5ec5e46f3fad095cf1a531cfc
2016-02-22 16:07:14 -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
Selim Cinek
ed1a33cc86 Made the Chronometer able to count downwards
Bug: 26862188
Change-Id: I3a4a34ffccdbcbcb8001b1894ce47bb75b11821d
2016-02-22 15:56:56 -08:00
Tim Murray
ba212c6bef Bind background services to the top app correctly.
bug 27187310

Change-Id: I7d1ff989d7d36319b12dc20e3b25a47303729600
2016-02-22 15:48:28 -08:00
Jae Seo
af326ed2b9 Merge "TIF: Add android.permission.READ_TV_LISTINGS" into nyc-dev 2016-02-22 23:44:48 +00:00
Dianne Hackborn
45ecf29484 Fix issue #26695393: Remove NEW_PICTURE and NEW_VIDEO broadcast
Ignored!  Removed!  A non-broadcast!

Any attempt to send these will be silently (except a log)
ignored.

Change-Id: Ia19357d4c90fdcd18e45f2b41c57e654ef94edb1
2016-02-22 15:27:54 -08:00
Yohei Yukawa
4449a27fe9 Merge "Fix build breakage." into nyc-dev 2016-02-22 23:22:45 +00:00
Sami Tolvanen
436f1523d1 Merge "Support persist.sys.audit_safemode" into nyc-dev 2016-02-22 23:22:30 +00:00
Arunesh Mishra
2d1de78a4c Unload logic for generic and keyphrase sound models.
When delete is called, now the STH unloads the corresponding models.

Fix bug with keyphrase where a delete call didn't unload (or stop)
the keyphrase model.

Bug: 27279380
Change-Id: Ia34f713d2aecef4102c0f0ccc57b8d2e5febe4bb
2016-02-22 15:19:44 -08:00
Suprabh Shukla
4bccb46554 Moving recent tasks and images to /data/system_ce
Moved user sensitive recents data to the credential encrypted directory
/data/system_ce. Since this directory is not available before the user
is unlocked, and unavailable task ids are needed to be known before
assigning an id to a new task, this change adds a file in /data/system_de
for each user, to store the ids of the tasks present in /data/system_ce.

Bug: b/24569398
Change-Id: I340d1abe23e2594e2cee4bff89a697bd8dc61fc7
2016-02-22 15:19:11 -08:00
Yohei Yukawa
5cf733f89b Fix build breakage.
This follows up to my previous CL [1], which forgot to update
BridgeIInputMethodManager.java (again!).

  [1] I56934f18e30d90fcdf77bcbb0c35a92a5feb1b82
      05c25f8a3a033816ac25aa5cd7db5b1ab495bc3f

Bug: 25373872
Change-Id: I0643069fd0b677115c89c340b7a23f1d12bd7988
2016-02-22 15:11:49 -08:00
Chris Tate
3e30b118f7 Merge "Limit scheduled jobs to 100 per app" into nyc-dev 2016-02-22 23:10:25 +00:00
Fyodor Kupolov
041232a7f9 Copy shared accounts after the user is unlocked
Previously accounts were copied in onUserStarted. At that stage only
encryption-aware authenticators could run.

Bug: 27274434
Change-Id: I4f2dbdc09e81087d960067e7930ce3b9cff829ab
2016-02-22 15:01:45 -08:00
Shawn Willden
b094ebf18a Merge "Revert "Add option to allow key validity after fingerprint enrollment."" into nyc-dev 2016-02-22 23:00:50 +00:00
Shawn Willden
512c132f49 Revert "Add option to allow key validity after fingerprint enrollment."
This reverts commit ada0fc1b05902b11401094b15480377d1b6c5a35.

Change-Id: I934b6e6af49ab680af726c544f0193dfcb80054e
2016-02-22 22:59:34 +00:00
Akshay Thakker
5d35396a53 Merge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr-dev am: e210c99809 am: 768e1df375
am: 7e65e5c681  -s ours

* commit '7e65e5c681cc67dab31762cfce7dada402491f2e':
  DO NOT MERGE Fix for syncs being dropped when appIdle is on
2016-02-22 22:53:27 +00:00
Akshay Thakker
7e65e5c681 Merge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr-dev am: e210c99809
am: 768e1df375

* commit '768e1df37559c580ede46574bb1c583b0705375a':
  DO NOT MERGE Fix for syncs being dropped when appIdle is on
2016-02-22 22:46:59 +00:00
Chris Tate
737a1c1053 Merge "Implement wildcard-host policy in reference autoVerify implementation" into nyc-dev 2016-02-22 22:41:38 +00:00
Akshay Thakker
768e1df375 Merge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr-dev
am: e210c99809

* commit 'e210c9980946b440bc6f7d57fef18c7fac223d3a':
  DO NOT MERGE Fix for syncs being dropped when appIdle is on
2016-02-22 22:39:53 +00:00
Chien-Yu Chen
4a67724da6 Camera2: Fix getInternalFormatSizes for depth
All depth formats are considered as non-high-res. Also compare depth
minimum frame durations instead of regular minimum frame durations
for depth formats.

Bug: 26687093
Change-Id: I65b691fe450077b0e3ace15f6ac0289b41caf42f
2016-02-22 14:31:58 -08:00
Akshay Thakker
e210c99809 Merge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr-dev 2016-02-22 22:27:25 +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
Jorim Jaggi
7587e38992 Merge "Restrict dock sides after rotation" into nyc-dev 2016-02-22 22:07:54 +00: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
Wale Ogunwale
ae846f4a15 Fixed bug with non-focusable stack activity not displaying on start.
Activity manager normally singals window manager that it is okay to
start the app transition process for an activity we are launching
during the resume process. However, the activity will not be resumed
if the activity is been launched in a non-focusable stack
(e.g. pinned stack). So, the app transtion will not start and it will
not be visible until the app transition time's out in window manager.
Activity manager now tells window manager to execute app transitions
if we are launching an activity in non-focusable stack.

Bug: 27224884
Change-Id: I35245fceb2637b927e7885b2c02daa1d55deaabb
2016-02-22 14:00:56 -08:00
Sami Tolvanen
a6e9e24be5 Support persist.sys.audit_safemode
Don't leave safe more if persist.sys.audit_safemode is set, unless the
current build date is newer than the specified value.

This allows us to keep the device in safe mode across reboots until an
OTA has been applied or user data is wiped.

Bug: 26902605
Change-Id: I781c3059ea8d4fb2f0c923e4488b1932d69678d3
(cherry picked from commit ee2b49283261f7b4518ec7c98f568f883f817c9d)
2016-02-22 14:00:01 -08:00
Jorim Jaggi
5060bd8910 Restrict dock sides after rotation
Bug: 27167078
Change-Id: If51626b75321eebc277eb2399ee753ffe489642b
2016-02-22 16:59:43 -05:00
Yohei Yukawa
5a19477ec4 Merge "Unify windowGainedFocus() and startInput()." into nyc-dev 2016-02-22 21:52:56 +00:00
Jason Monk
f12cfb75ab Fix QS battery details not updating
Bug: 26849421
Change-Id: I708d413f8a6fc67bf6d696b35f770df9a247ba09
2016-02-22 16:42:43 -05:00
Chris Craik
339fc0a1d2 Merge "Add create_trivial_array" into nyc-dev 2016-02-22 21:40:58 +00:00
Jorim Jaggi
0822a7e272 Merge "Fix leaking animation" into nyc-dev 2016-02-22 21:18:32 +00:00
Jorim Jaggi
02b74b9420 Fix leaking animation
Clear animation when destroying window surface.

Because we are not stepping in animations for windows if they don't
have a surface, we can't use it as a detached wallpaper target
animation.

When the surface was destroyed while animating,
winAnimator.mAnimating was still true, and never got false, because
we didn't call stepAnimation on the WindowAnimator anymore.

Thus, we were constantly animating, using a lot of battery (surface
flinger was constantly pushing frames) and impacting overall system
performance.

Bug: 27276043
Change-Id: I8b0943da0908c85740dc1113aedb573fb440f162
2016-02-22 16:17:46 -05:00
Anthony Hugh
1e413f5b77 Merge "Allow button events in ambient." into nyc-dev 2016-02-22 20:46:44 +00:00
Alan Viverette
379b0d45b8 Merge "Remove night mode from developer settings" into nyc-dev 2016-02-22 20:44:01 +00:00
Christopher Tate
2f36fd6fc9 Limit scheduled jobs to 100 per app
Packages that are entitled to schedule jobs on behalf of other uids
are not subject to the limit.  Also break the JobStore's monolithic
set of jobs into per-uid slices for efficiency and orthogonality.

Bug 27150350

Change-Id: I8f5f718bf200d55f9977a6fc53b7f617e7652ad9
2016-02-22 12:42:29 -08:00
Yohei Yukawa
05c25f8a3a Unify windowGainedFocus() and startInput().
This is a safe refactoring that changes nothing.

In order to improve the keyboard dismissal lags [1][2], we have used
IMMS#windowGainedFocus() as a combined event to do startInput() in
certain situations.

To make the intent of those CLs clear, this CL renames
IMMS#windowGainedFocus() to IMMS#startInputOrWindowGainedFocus().  Note
that these are @hide internal IPC protocols.  Hence this change is never
observable to application developers.

 [1] I8494cbd6e19e2ab6db03f2463d9906680dda058b
     a82ba54b0bbc3ff41f29db3998806cb45b261d58
 [2] Icb58bef75ef4bf9979f3e2ba88cea20db2e2c3fb
     7663d80f6b6fd6ca7a736c3802013a09c0abdeb9

Bug: 25373872
Change-Id: I56934f18e30d90fcdf77bcbb0c35a92a5feb1b82
2016-02-22 12:41:17 -08:00
Joe LaPenna
90776de6bb Allow button events in ambient.
See thread: "key presses & Ambient"

Bluetooth media button presses and Stem buttons were being rejected in ambient.  This change allows those keys while disabling touch events while in ambient.

BUG: 25964771
BUG: 26524301

Change-Id: I914edd447c38678a06d27677be4597c0ee384635
(cherry picked from commit 7528f57c4ddbde1c6d0a2a352bd8a1af43711013)
2016-02-22 20:39:48 +00:00
Jason Monk
15e124f2df Merge "Fix crash on QS edit immediate collapse" into nyc-dev 2016-02-22 20:34:27 +00:00