Commit Graph

15095 Commits

Author SHA1 Message Date
Suprabh Shukla
4d4726e06e Merge "Moving recent tasks and images to /data/system_ce" into nyc-dev am: 827d0d06e6
am: 07418b2645

* commit '07418b264574016c6c5a5abe6958eb1ad0006eb9':
  Moving recent tasks and images to /data/system_ce
2016-02-23 01:13:17 +00:00
Suprabh Shukla
07418b2645 Merge "Moving recent tasks and images to /data/system_ce" into nyc-dev
am: 827d0d06e6

* commit '827d0d06e6904a0ca09354a030e6e4bbe66354d3':
  Moving recent tasks and images to /data/system_ce
2016-02-23 01:03:41 +00: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
Yang Ren
f00f3642f3 Merge "TIF: Add information of TvInputHardwareManager to dumpsys" into nyc-dev am: a856a70eaa
am: 54ef4a2d73

* commit '54ef4a2d73c807b85ae50e9f383c801a2e67b7db':
  TIF: Add information of TvInputHardwareManager to dumpsys
2016-02-23 00:49:05 +00:00
Yang Ren
54ef4a2d73 Merge "TIF: Add information of TvInputHardwareManager to dumpsys" into nyc-dev
am: a856a70eaa

* commit 'a856a70eaa3bc7524109011a8f340413b561165b':
  TIF: Add information of TvInputHardwareManager to dumpsys
2016-02-23 00:42:10 +00:00
Yang Ren
a856a70eaa Merge "TIF: Add information of TvInputHardwareManager to dumpsys" into nyc-dev 2016-02-23 00:35:25 +00:00
Tim Murray
670f315849 Bind background services to the top app correctly. am: ba212c6bef
am: f52dfd372f

* commit 'f52dfd372f98cac53f5f0065657b499538aa8e6d':
  Bind background services to the top app correctly.
2016-02-23 00:22:14 +00:00
Tim Murray
f52dfd372f Bind background services to the top app correctly.
am: ba212c6bef

* commit 'ba212c6bef6bc3601e95b0360088573097e52401':
  Bind background services to the top app correctly.
2016-02-23 00:09:37 +00: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
Chris Tate
1d1beb4dcf Merge "Limit scheduled jobs to 100 per app" into nyc-dev am: 3e30b118f7
am: 21a7ef469f

* commit '21a7ef469fe6cb4f6ed569f75f2ee36676bad9bb':
  Limit scheduled jobs to 100 per app
2016-02-22 23:24:38 +00:00
Sami Tolvanen
436f1523d1 Merge "Support persist.sys.audit_safemode" into nyc-dev 2016-02-22 23:22:30 +00: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
Chris Tate
21a7ef469f Merge "Limit scheduled jobs to 100 per app" into nyc-dev
am: 3e30b118f7

* commit '3e30b118f7bf09955ded313109b0de540c28985b':
  Limit scheduled jobs to 100 per app
2016-02-22 23:15:28 +00:00
Chris Tate
3e30b118f7 Merge "Limit scheduled jobs to 100 per app" into nyc-dev 2016-02-22 23:10:25 +00:00
Jorim Jaggi
1376051525 Merge "Restrict dock sides after rotation" into nyc-dev am: 7587e38992
am: ab899ed501

* commit 'ab899ed501ca45f7dbf9c20bb1ef0b2799e3fc93':
  Restrict dock sides after rotation
2016-02-22 22:18:59 +00:00
Jorim Jaggi
ab899ed501 Merge "Restrict dock sides after rotation" into nyc-dev
am: 7587e38992

* commit '7587e38992af85ea1f488f2155ff3576d65f2c18':
  Restrict dock sides after rotation
2016-02-22 22:13:04 +00:00
Jorim Jaggi
7587e38992 Merge "Restrict dock sides after rotation" into nyc-dev 2016-02-22 22:07:54 +00:00
Yohei Yukawa
4ebaee81e5 Merge "Unify windowGainedFocus() and startInput()." into nyc-dev am: 5a19477ec4
am: 8ff4d727b4

* commit '8ff4d727b484868eb3f21b60c58dfb2a930f1b27':
  Unify windowGainedFocus() and startInput().
2016-02-22 22:06:30 +00: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 ee2b492832)
2016-02-22 14:00:01 -08:00
Yohei Yukawa
8ff4d727b4 Merge "Unify windowGainedFocus() and startInput()." into nyc-dev
am: 5a19477ec4

* commit '5a19477ec4de4c468a2c7da25929d0acc0aabdfa':
  Unify windowGainedFocus() and startInput().
2016-02-22 21:59:46 +00: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
Jorim Jaggi
04ec3bbc8b Merge "Fix leaking animation" into nyc-dev am: 0822a7e272
am: 33f776dda8

* commit '33f776dda8b8ba2d0c64d31ff0bedc991be7d94b':
  Fix leaking animation
2016-02-22 21:39:25 +00:00
Jorim Jaggi
33f776dda8 Merge "Fix leaking animation" into nyc-dev
am: 0822a7e272

* commit '0822a7e272645f676712c3c1d927d04667f46baa':
  Fix leaking animation
2016-02-22 21:25: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
Tao Bao
69d01e2376 Merge "Add support for update-on-boot feature." into nyc-dev am: 9de7952aa9
am: 3dd23af6a0

* commit '3dd23af6a0fb58ce7d1f6f078c765890ca839bd3':
  Add support for update-on-boot feature.
2016-02-22 21:10:21 +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
     a82ba54b0b
 [2] Icb58bef75ef4bf9979f3e2ba88cea20db2e2c3fb
     7663d80f6b

Bug: 25373872
Change-Id: I56934f18e30d90fcdf77bcbb0c35a92a5feb1b82
2016-02-22 12:41:17 -08:00
Tao Bao
3dd23af6a0 Merge "Add support for update-on-boot feature." into nyc-dev
am: 9de7952aa9

* commit '9de7952aa945eb06148f82b9f30d7d11a2de5d74':
  Add support for update-on-boot feature.
2016-02-22 20:09:58 +00:00
Tao Bao
9de7952aa9 Merge "Add support for update-on-boot feature." into nyc-dev 2016-02-22 19:24:25 +00:00
Shreyas Basarge
1944d95ea8 Merge "Revert "Add defaultPeriodic to every authority"" into nyc-dev am: e17575d3b5
am: dd45dd0607

* commit 'dd45dd0607bf0f2f9f1f01f63189132401768731':
  Revert "Add defaultPeriodic to every authority"
2016-02-22 16:59:36 +00:00
Shreyas Basarge
ff875aac35 Merge "Migrate PeriodicSyncs from old format" into nyc-dev am: 3e09cd4d79
am: ececd95edc

* commit 'ececd95edc08d0ef48141f6226bbc8bd35a272d0':
  Migrate PeriodicSyncs from old format
2016-02-22 16:58:26 +00:00
Shreyas Basarge
dd45dd0607 Merge "Revert "Add defaultPeriodic to every authority"" into nyc-dev
am: e17575d3b5

* commit 'e17575d3b5461866c7b2812432b7798ee04e775e':
  Revert "Add defaultPeriodic to every authority"
2016-02-22 16:54:21 +00:00
Shreyas Basarge
ececd95edc Merge "Migrate PeriodicSyncs from old format" into nyc-dev
am: 3e09cd4d79

* commit '3e09cd4d79f8bd583f833ba4c37868a7d3f3746a':
  Migrate PeriodicSyncs from old format
2016-02-22 16:52:37 +00:00
Shreyas Basarge
e17575d3b5 Merge "Revert "Add defaultPeriodic to every authority"" into nyc-dev 2016-02-22 16:48:14 +00:00
Shreyas Basarge
3e09cd4d79 Merge "Migrate PeriodicSyncs from old format" into nyc-dev 2016-02-22 16:48:02 +00:00
Jason Monk
60da854e46 Merge "Move background data notif to data saver status icon" into nyc-dev am: c6b5dd4897
am: 487ed88b63

* commit '487ed88b634d3e43f8eccd2647b0aea54052c661':
  Move background data notif to data saver status icon
2016-02-22 15:12:30 +00:00
Jason Monk
487ed88b63 Merge "Move background data notif to data saver status icon" into nyc-dev
am: c6b5dd4897

* commit 'c6b5dd4897bf95967b27b36cb517f0f209290be2':
  Move background data notif to data saver status icon
2016-02-22 15:06:43 +00:00
Jason Monk
c6b5dd4897 Merge "Move background data notif to data saver status icon" into nyc-dev 2016-02-22 14:57:34 +00:00
Jason Monk
f23aa99270 Move background data notif to data saver status icon
Bug: 26796370
Change-Id: Ibf53c3affa63100b603e362b58ca6d2958791321
2016-02-22 14:56:05 +00:00
Benjamin Franz
4ccaf6f577 Merge "Use UserAccounts handed into accountExistsCacheLocked" into nyc-dev am: eb3771cd14
am: 39c874a01b

* commit '39c874a01b301738662393066bdcc3299762d8b6':
  Use UserAccounts handed into accountExistsCacheLocked
2016-02-22 14:20:51 +00:00
Benjamin Franz
39c874a01b Merge "Use UserAccounts handed into accountExistsCacheLocked" into nyc-dev
am: eb3771cd14

* commit 'eb3771cd1468ac14e5a7bbea1332ee2344f6a67a':
  Use UserAccounts handed into accountExistsCacheLocked
2016-02-22 14:15:24 +00:00
Benjamin Franz
0e592733ec Use UserAccounts handed into accountExistsCacheLocked
Use the object we get handed rather than obtaining the one for the
calling user. We're previously clearing the caller, so the calling user
might not be the same as the one we used to obtain accounts object.

Bug: 27285299
Change-Id: Ie384bca83779593f6569bccea3c2851083ace31d
2016-02-22 13:41:53 +00:00
Polina Bondarenko
4f2d2d3b42 Merge "Added hardwareproperties SystemService" into nyc-dev am: 280c5b2155
am: 5fc731e826

* commit '5fc731e82661aa31904e1473b651525256cc4f4a':
  Added hardwareproperties SystemService
2016-02-22 09:36:32 +00:00
Polina Bondarenko
5fc731e826 Merge "Added hardwareproperties SystemService" into nyc-dev
am: 280c5b2155

* commit '280c5b2155feae857ad514dff81adbfe73e398e9':
  Added hardwareproperties SystemService
2016-02-22 09:32:37 +00:00
Polina Bondarenko
280c5b2155 Merge "Added hardwareproperties SystemService" into nyc-dev 2016-02-22 09:27:21 +00:00
Donghyun Cho
53df72c2d2 Merge "MediaSession: Add new methods for preparing media content" into nyc-dev am: f3db5743b9
am: e53db46568

* commit 'e53db46568f2a7830e5fe1d8ddd69d8c0dfb89b7':
  MediaSession: Add new methods for preparing media content
2016-02-22 03:46:43 +00:00
Donghyun Cho
e53db46568 Merge "MediaSession: Add new methods for preparing media content" into nyc-dev
am: f3db5743b9

* commit 'f3db5743b91e4b90c81a58c41670cca9000dc9e6':
  MediaSession: Add new methods for preparing media content
2016-02-22 03:42:58 +00:00
Donghyun Cho
f3db5743b9 Merge "MediaSession: Add new methods for preparing media content" into nyc-dev 2016-02-22 03:38:55 +00:00