History log of /frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
52d750c5c24969a6a25f058bf6c724016f319e2b 10-Dec-2014 Amith Yamasani <yamasani@google.com> Check which file changed before requesting backup

Make sure that the changed file is one of the wallpaper files
before requesting backup or informing listeners.

Bug: 18694053
Change-Id: Iaa8fe9d3c97634b3cc6a9ccd67c36cf394d17ca0
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
5a589430b3be99a6fdaf03e621162d08c8b1ad8a 14-Oct-2014 Filip Gruszczynski <gruszczy@google.com> Prevent index out of bounds when using String.substring.

Change-Id: Ib30f9646e9895b6a2f065a0b2e51cf53e821b087
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
5dcc3aca42255616c48388e012d1b43b2ac450f9 14-Oct-2014 Filip Gruszczynski <gruszczy@google.com> Log wallpaper crashes.

Change-Id: I40d9876dad2a8ec98135e3df127950dc3797040b
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
da058e260d1c5ac8039034b38db8c697c16017bb 08-Oct-2014 Christopher Tate <ctate@google.com> Also monitor MOVED_TO events for wallpaper updates

Restore uses moveTo(), not open/write/close, so we need
to watch for that as well. Now the wallpaper service sees
and regenerates the wallpaper image immediately upon restore.

Bug 17909454

Change-Id: I0db224c3d507bdc40399d49bb4bea01899f76ad1
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
90f86baebdb53f2edb5e2bd2b3f6f43bc802f9a9 11-Sep-2014 Christopher Tate <ctate@google.com> Write new wallpaper files from scratch...

...rather than overwriting the existing wallpaper bitmap file "in
place." If the new bitmap is smaller than the previous one, we wind
up with the previous image's contents as spurious trailing file
contents. Also, it means that if any wallpaper image is particularly
large on disk, then we'll forever be backing up that high-water-mark
amount of data every time the wallpaper is changed.

The fix is to open the "write the new bitmap to disk" fd with
MODE_TRUNCATE.

Bug 17285333

Change-Id: I3d8708d72e316834b7ecec20386153a703efddd9
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
067e5f68b9216b233df1c6529db182ff9b2887ab 08-Sep-2014 Dianne Hackborn <hackbod@google.com> Add new wallpaper features for insets and offsets.

Issue #17394151: WallpaperService / Engines need to get notified
of WindowInsets

Issue #17394203 Wallpapers need a system API to be shifted in order
to support burn in protection

Adds a new API on WallpaperManager to set additional offsets to
make wallpapers extend beyond the display size.

Insets are now reported to wallpapers, to use as they may. This
includes information about the above offsets, so they can place
their content within the visible area. And to help with this, also
expose the stable offsets APIs in WindowInsets which is also very
useful information for the wallpaper.

Another new API on WallpaperManager to set a raw offset to apply
to the wallpaper window, forcing it to move on the screen regardless
of what the wallpaper is drawing.

Fix wallpapers when used with overscan enabled, so they still extend
out across the entire screen. Conveniently, the above new window
insets information is very useful for this case as well!

And a new wallpaper test app for all this stuff.

Change-Id: I287ee36581283dd34607609fcd3170d99d120d8e
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
ecd827ac0d7a62ea81b8123120be1fe6424c2338 06-Sep-2014 Christopher Tate <ctate@google.com> Fix binder identity use when clearing wallpapers

Don't restore it too soon, because the rarely-needed fallback path
will need to be executed as system, too.

Bug 17394246

Change-Id: Ic5e662d4eae331b016fc91ffd08647bd8d4d6ff3
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
29c30161281341ec851817534c24f17f91625e52 06-Sep-2014 Justin Koh <justinkoh@google.com> Make the image wallpaper component overlayable

This is necessary for devices that want to have wallpaper but don't have
SystemUi.

Bug: 17394246
Change-Id: I75c2a3a2120fd6600274d44059b3f85569b9a187
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
28f0877073e0ebc59f1eeeb6e0d54b614b9d3fa5 16-Apr-2014 Jeff Sharkey <jsharkey@android.com> Allow custom wallpaper and boot animation.

Add new "ro.config.wallpaper" and "ro.config.wallpaper_component"
properties which may be defined outside of the bundled framework
resources. Falls back to bundled resources when properties are
undefined.

Also look for boot animation under OEM partition.

Bug: 13340779
Change-Id: Ibdc9935dbdaae3319bf63b40573de0503d82ae67
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
ebebadb56d6b3eab6e11dae9d48d639f0af4946d 05-Mar-2014 Selim Cinek <cinek@google.com> Fixed a bug where the current wallpaper could be reset on an update

There is a race condition which caused the wallpaper to be reset
on an app update since the broadcast notifying the service is async.
This CL corrects this behaviour by enforcing that we only reset the
wallpaper if its service was shut down twice in a certain timeframe.
Before, the condition falsely was checking whether the service was
started in the last couple of millis instead of killed.

Bug: 11901821
Change-Id: Icfbc7a5df63215079a83805c5187a3182b192757
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
9158825f9c41869689d6b1786d7c7aa8bdd524ce 22-Nov-2013 Amith Yamasani <yamasani@google.com> Move some system services to separate directories

Refactored the directory structure so that services can be optionally
excluded. This is step 1. Will be followed by another change that makes
it possible to remove services from the build.

Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java