Commit Graph

34046 Commits

Author SHA1 Message Date
Dianne Hackborn
1718385e10 Merge "Fix issue #26695393: Remove NEW_PICTURE and NEW_VIDEO broadcast" into nyc-dev am: 76c970de3c
am: 39d8714086

* commit '39d87140866399eaa6f7bb033f0f74342d2b1c52':
  Fix issue #26695393: Remove NEW_PICTURE and NEW_VIDEO broadcast
2016-02-23 03:40:35 +00:00
Dianne Hackborn
adc3ed85b2 Merge "Add ability to separately disable light and deep idle." into nyc-dev am: eae30ff004
am: 0c6c7b74bf

* commit '0c6c7b74bfd285714eeb4d9cf58542b5d7164afc':
  Add ability to separately disable light and deep idle.
2016-02-23 03:39:24 +00:00
Dianne Hackborn
39d8714086 Merge "Fix issue #26695393: Remove NEW_PICTURE and NEW_VIDEO broadcast" into nyc-dev
am: 76c970de3c

* commit '76c970de3ce83609f48531e8ea23e7973544b179':
  Fix issue #26695393: Remove NEW_PICTURE and NEW_VIDEO broadcast
2016-02-23 03:34:30 +00:00
Dianne Hackborn
0c6c7b74bf Merge "Add ability to separately disable light and deep idle." into nyc-dev
am: eae30ff004

* commit 'eae30ff0045ca08c9a0686c026569daa3a748b5c':
  Add ability to separately disable light and deep idle.
2016-02-23 03:32:21 +00:00
Dianne Hackborn
76c970de3c Merge "Fix issue #26695393: Remove NEW_PICTURE and NEW_VIDEO broadcast" into nyc-dev 2016-02-23 03:26:48 +00:00
Dianne Hackborn
eae30ff004 Merge "Add ability to separately disable light and deep idle." into nyc-dev 2016-02-23 03:26:36 +00:00
Arunesh Mishra
f152cb8e07 Merge "Unload logic for generic and keyphrase sound models." into nyc-dev am: 78c0704d25
am: a2b866af7d

* commit 'a2b866af7d68658e7547d58ced653057f6bb345b':
  Unload logic for generic and keyphrase sound models.
2016-02-23 03:25:38 +00:00
Arunesh Mishra
a2b866af7d Merge "Unload logic for generic and keyphrase sound models." into nyc-dev
am: 78c0704d25

* commit '78c0704d25def6caab739185755c97436044122e':
  Unload logic for generic and keyphrase sound models.
2016-02-23 03:19:10 +00:00
Arunesh Mishra
78c0704d25 Merge "Unload logic for generic and keyphrase sound models." into nyc-dev 2016-02-23 03:11:18 +00:00
Svetoslav Ganov
095258e32b Merge "Expose removed permissions flag as system API" into nyc-dev am: 5cd52bee32
am: de04cc55ff

* commit 'de04cc55ff3d779d475d36a85831afbcd9729e38':
  Expose removed permissions flag as system API
2016-02-23 02:40:09 +00:00
Roshan Pius
4b20e80608 IpConfigStore: New constructor to accept writer am: 718df42b23 am: 0ea54a81df
am: 888bb05fa8

* commit '888bb05fa84a8bdbb051bd7e8fe75b26db69dc2f':
  IpConfigStore: New constructor to accept writer
2016-02-23 02:33:53 +00:00
Svetoslav Ganov
de04cc55ff Merge "Expose removed permissions flag as system API" into nyc-dev
am: 5cd52bee32

* commit '5cd52bee32250e14f5eca14d9e82535a0f2f4f87':
  Expose removed permissions flag as system API
2016-02-23 02:29:24 +00:00
Roshan Pius
888bb05fa8 IpConfigStore: New constructor to accept writer am: 718df42b23
am: 0ea54a81df

* commit '0ea54a81df8872418712d11a65333d928f0e29f4':
  IpConfigStore: New constructor to accept writer
2016-02-23 02:27:10 +00:00
Svetoslav Ganov
5cd52bee32 Merge "Expose removed permissions flag as system API" into nyc-dev 2016-02-23 02:21:01 +00:00
Roshan Pius
0ea54a81df IpConfigStore: New constructor to accept writer
am: 718df42b23

* commit '718df42b23e7913dad7f9520a2f2c6810c33c956':
  IpConfigStore: New constructor to accept writer
2016-02-23 02:19:40 +00:00
Svet Ganov
2a1376d9df Expose removed permissions flag as system API
There are some permissions that were removed from the platform
and guard nothing but legacy apps may be checking them before
calling APIs. Hence, these apps should get the permissions as
expected despite them being a no-op. To address this the platform
declares removed permissions as normal permissions that are hidden
such that legacy apps can always get them. These permissions are
not shown in the UI. Play needs a way to filter out these
permissions like the platform as they have permissions UI too.

bug:23361760

Change-Id: I10f442dfc09a299ddc5480d8bf2db0bd786aec62
2016-02-22 18:10:49 -08:00
Wale Ogunwale
5a0dae4e4a Merge "Fixed bug with non-focusable stack activity not displaying on start." into nyc-dev am: f5725e6501
am: e8db13a9a0

* commit 'e8db13a9a0011da6c3a04ffe4ff0552161938159':
  Fixed bug with non-focusable stack activity not displaying on start.
2016-02-23 01:46:03 +00:00
Wale Ogunwale
e8db13a9a0 Merge "Fixed bug with non-focusable stack activity not displaying on start." into nyc-dev
am: f5725e6501

* commit 'f5725e6501f1d326e2b7ab3e9cee5ef4058858df':
  Fixed bug with non-focusable stack activity not displaying on start.
2016-02-23 01:32:11 +00:00
Wale Ogunwale
f5725e6501 Merge "Fixed bug with non-focusable stack activity not displaying on start." into nyc-dev 2016-02-23 01:25:04 +00:00
Roshan Pius
718df42b23 IpConfigStore: New constructor to accept writer
Add a new constructor to accept a DelayeDiskWrite object from the
caller.

BUG: 27293150
Change-Id: I13fb86c76ee5a0d05b45fec0c42b7e1b2233ee76
TEST: `runtest frameworks-wifi`
2016-02-22 17:13:47 -08:00
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
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
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
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
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
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
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
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 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