7cd0010df6314397939dac2cb54caa41fdd49d3c |
|
19-Dec-2016 |
Christopher Tate <ctate@google.com> |
Migrate system+lock wallpaper to lock-only when setting live wp If the static imagery is shared between system+lock, preserve the lock presentation when setting a different system-surface live wallpaper. If the caller knows it wants to achieve system+lock display of the new live wallpaper, it follows up setWallpaperComponent() with an explicit clear of the lock wallpaper state. Previously, setting a new system live wallpaper would necessarily override a desired static lock image in the case of system+lock shared imagery. Now it doesn't. Bug 32664317 Change-Id: I7ef2cded534f9e6e91899db4c37bd24efaf09fee
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
edd8dc83d515ed46d555949cf3ffa515c8a19ebe |
|
13-Oct-2016 |
Christopher Tate <ctate@google.com> |
Retain allowBackup annotation when system+lock wallpaper becomes lock only Bug 32069467 Change-Id: I5d0b91c40e1a2896f2b11efeef7bff84503cf2c0
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
762dfd156619072e8f74dafaf055b6f0bf7ab2d5 |
|
11-Oct-2016 |
Christopher Tate <ctate@google.com> |
Ignore wallpaper relaunch timeout during shutdown Because of course during system shutdown, the wallpaper service won't actually get relaunched. Sometimes shutdown can take long enough that this timeout kicks, so we need to avoid clearing the live wallpaper state spuriously. For simplicity we just check at "would have timed out now" time rather than try to distinguish between the shutdown case and a genuine crash that raced with the shutdown broadcast. Bug 32020355 Change-Id: I9335b2c0214b4c750ef950fed157d186aa670176
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
c3f915e4824d24b653098ac4410e488e2f646ed9 |
|
06-Sep-2016 |
Adrian Roos <roosa@google.com> |
Fix black wallpaper after repeated crashes Adds logic to recover from a repeatedly crashing wallpaper. Before, a wallpaper that crashed twice but not within 10s would not trigger the recovery logic in WallpaperManagerService, but would also not be restarted by ActivityManager (because two crashes will effectively disable a service connection), thus resulting in a black wallpaper. Change-Id: Ie4f7862dc07a89d13f5e2b56c825a3371ea21114 Fixes: 30250003
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
5c97ff23a37d7b3588dced019ee09731a5e9b9cd |
|
31-Aug-2016 |
Adrian Roos <roosa@google.com> |
Wallpaper: Fix letterboxing if wallpaper is scaled but not cropped Fixes a bug where the wrong part of an image was decoded if the image needed to be scaled but not cropped. Change-Id: I011e59d85b526097ef1daabd63805c7cdc74c17b Fixes: 31112957
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
c7136b3b3c5ed8d688e87d8b26c4a10cb313d698 |
|
23-Aug-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Change retail mode wallpaper (1/2)" into nyc-dr1-dev
|
f7d1b5de6eb769e9fb727dd27922a761d2960360 |
|
19-Aug-2016 |
Christopher Tate <ctate@google.com> |
Fix wallpaper backup eligibility test Bug 30970354 Bug 30938483 Change-Id: I3c933a80505238897ceb8e89c228ed48ee5a9d0e
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
6c902d04532838f7549506b1c62349e321ac9485 |
|
18-Aug-2016 |
Jorim Jaggi <jjaggi@google.com> |
Change retail mode wallpaper (1/2) Change-Id: I7ce5711e57bc39edf10fc7151f26168c6183d71e Fixes: 30830249
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
c613c63096d9c3e3da8c081210661007d2acf8fb |
|
12-Aug-2016 |
Christopher Tate <ctate@google.com> |
Remember all wallpapers' backup-allow state ...not just system wallpapers. Bug 30751829 Change-Id: If9f5df33e587e31080a7e65b1cbcae03f9a39f3c
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
6172266154e9071abba2c0aab9ffb31e0ec8c239 |
|
11-Aug-2016 |
Christopher Tate <ctate@google.com> |
Check system & lock wallpaper backup eligibility independently Bug 30751829 Change-Id: Ic94689dd63238449222d1aea07231d9fd29fc76d
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
ebadfb17e77c5e297635376dbdbcf1615192620f |
|
25-Jul-2016 |
Christopher Tate <ctate@google.com> |
Fix wallpaper restore from pre-N devices The previous path "worked" but left the wallpaper bookkeeping with incorrect SELinux labeling, which led to cascade failures later on when apps tried to set new system wallpaper imagery or read the current image for the picker UI. We now (a) explicitly label wallpaper files in all change cases, (b) let the restored imagery flow through the full crop path, as should have been done in the first place, and as a result (c) lift the size restrictions on the source image, because now we are doing a device-appropriate scaling operation on the image. The "when to crop/scale" test has been slightly relaxed such that a restored image of exactly the right size now longer triggers a superfluous factor-1.0 scaling operation. Bug 30361282 Change-Id: I9a305eea2227952493f64ab78862648cafb816ff
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
38a5dc33a9140a7bfd90cfa58185d357ab3df8f9 |
|
21-Jul-2016 |
Christopher Tate <ctate@google.com> |
Run the SELinux wallpaper restorecon operations on all users And only run them once per device boot lifetime. Bug 30229410 Change-Id: Ia6f7f7eea7f8985c83b531dfa16e96d08235b901
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
9a7c3bd577ba1d3ea43082814529ea3d6379d024 |
|
15-Jul-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add way to set live wallpaper across users" into nyc-mr1-dev
|
40ea083b59c05beec2eb2c064927086aa55173f3 |
|
14-Jul-2016 |
Adrian Roos <roosa@google.com> |
Add way to set live wallpaper across users Also adds an entry point for vendor specific services to SystemUI. Bug: 30038484 Change-Id: I8f335c1f7de15d619f2c688a8ac95372f166595f
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
190e853608011f82a35e2f578ed2105a46d6fb1d |
|
11-Jul-2016 |
Christopher Tate <ctate@google.com> |
Fix up mangled SELinux labeling of wallpaper files We do this lazily at user unlock, in the background to avoid impacting unlock time. Bug 29469965 Change-Id: Ic08e38399da486b40d8967e4a2e7828b094e7ba6
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
e31f6b8024d1a0cfa71894e9a8ce1b39a9f85b2f |
|
02-Jul-2016 |
Jorim Jaggi <jjaggi@google.com> |
Preparations for different scrim depending on wallpaper - Allow wallpaper info to be queried by user - Refactor ScrimController for extensibility Bug: 28936996 Change-Id: Ib019331a844110f1f24f35d225d2648626545233
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
9ecf5010d3be549eac3db1659eed2cc6edbbd0d9 |
|
01-Jul-2016 |
Christopher Tate <ctate@google.com> |
Make sure SELinux labels are correct after move-to operations am: fa7d97fa15 Change-Id: I913e54c6269f75b10b51030d0b2921007107281d
|
fa7d97fa15700b62b01d0b7dd42fcaf12c57b9f5 |
|
30-Jun-2016 |
Christopher Tate <ctate@google.com> |
Make sure SELinux labels are correct after move-to operations In some circumstances wallpaper-related files are moved into position, and must then take proper effect. Make sure that they have the correct SELinux labels afterwards to avoid preventing some valid accesses. Bug 29469965 Change-Id: I6d7c86be63d568fa0ad8841d109a7ff2149fdd54
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
0b77ef9f5199b7cd0956f2bfe049cbd699ca03b4 |
|
21-Jun-2016 |
Fyodor Kupolov <fkupolov@google.com> |
Print names of observers causing timeout Pass and store name in registerUserSwitchObserver and later print names of observers causing timeout. Bug: 29039588 Change-Id: I09c4bcc986168a07f5e20ad0f38667b783332288
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
98d609ce3f98585a21f3be31a318bd4e1396a562 |
|
19-May-2016 |
Christopher Tate <ctate@google.com> |
Incorporate feedback on new wallpaper-related APIs - Documentation - Method naming - Throwing exceptions rather than returning zero/null/false on input failures Bug 28773334 Change-Id: Ia41c1e31c76b7114f3ffeb16033384cac5a1031d
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
c484f5497c7263ab7012bad600caea9e493f465c |
|
11-May-2016 |
Christopher Tate <ctate@google.com> |
Use Q=100 JPEG instead of PNG for wallpaper display The quality difference is minimal, but the time to process the wallpaper is an order of magnitude lower for JPEG. The source imagery is still being preserved in its original format and resolution; this affects only the scaled/cropped version used on-screen. Bug 28672266 Change-Id: I193854348ffb7eeb9e45dc08b8ef7173ea75c240
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
8347b631883d073a2919517179c1e1378a8671e6 |
|
30-Apr-2016 |
Christopher Tate <ctate@google.com> |
Preserve shared {system+lock} wallpaper when setting system only We migrate the existing (shared) system wallpaper to be the lock-only wallpaper when setting a new system-only wallpaper. The end result is that if you say "set the system wallpaper only" the lock wallpaper won't change. (The migration is via a rename of the underlying imagery files, not via copying, because copying all that data would be silly.) Bug 27599080 Change-Id: I03ecf23c943fe88af58d5ac26f05587a15e2d0a9
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
ad2e4bf9f36cf612db6c397feca8effb125ee541 |
|
26-Apr-2016 |
Amith Yamasani <yamasani@google.com> |
Stop user faster and clear stale broadcasts Moved several USER_STOPPING registered receivers to listen to USER_STOPPED, since they don't need to be blocking the shutdown of the user. Clear all stale broadcasts when stopping a user, so that we don't unnecessarily start up processes and deliver stale broadcasts. This was causing code to run when the user was already stopped and resulted in crashes when other providers and services couldn't be started anymore. Hopefully this fixes many of those races. Bug: 28371487 Change-Id: Ic35a7a23fa8fe009a53f8bf7545d4dad5fa34134
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
d7faf53605838487cace9979e577005cc7c8cabc |
|
25-Feb-2016 |
Christopher Tate <ctate@google.com> |
Don't back up wallpapers that we've been told not to In addition, now that the full uncropped wallpaper image is being backed up, we now handle that via the full-data backup path instead of key/value. Restore still knows about legacy data that gets delivered via the older key/value mechanism. This change also has the effect of removing the size limitations around wallpaper restore acceptance. Any size source imagery is valid, as crop & scale are rerun in a device-appropriate way after the restore. Bug 25453848 Bug 25727875 Change-Id: Idc64a2eaab97a8ecc9d2b8ca5dc011f29cab324d
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
c28e3a93ff01a809bcfa5bb78e3358f926a09879 |
|
14-Apr-2016 |
Adrian Roos <roosa@google.com> |
Ensure sane WallpaperData Also adds dumpsys output for lock wallpapers. Fixes: 28192320 Change-Id: I66ccf8afad7412ae346e7cc02d030c2fdda97753
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
383f9fedd6c3423d7a8abed21151a89808fa0fab |
|
14-Apr-2016 |
Jeff Sharkey <jsharkey@android.com> |
Bind wallpaper at later boot phase. We need to wait until third-party apps can start before we try binding to the wallpaper. Bug: 28166684 Change-Id: I6ef559a667104e830e97da68b437ff592816f6f3
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
1cab76af8537a275d1af38d25f5692a68e48eed6 |
|
13-Apr-2016 |
Jeff Sharkey <jsharkey@android.com> |
Make wallpapers direct-boot aware. If the user's wallpaper isn't direct-boot aware, wait around for the user to be unlocked, instead of clearing the wallpaper. Also switch a few classes to using SystemService lifecycle, since events are dispatched faster than through broadcasts. Fix bug where ContentService.systemReady() was never called, and make sure EntropyMixer doesn't risk being GC'ed. Bug: 26280055 Change-Id: I9fff468a439b868baa68cf11bb6ee9f7d52b7b5a
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
1a96b63b6c8c98c9d3f04ff2d5b7616e5707aedd |
|
22-Mar-2016 |
Christopher Tate <ctate@google.com> |
Scale wallpaper crop to device-suitable size No need to carry around enormous images just to aggressively downsample them at draw time. Bug 26863365 Change-Id: Id233d39bf61f45d44ac0329ea406f9c702c36f97
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
2c7238e832680dafc75fe8ec3a35469a590d4128 |
|
31-Mar-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Sending WALLPAPER_CHANGED broadcast when live wallpaper changes" into nyc-dev
|
0572e1847aa20799cf1e87bc0bfeb1278d2cf423 |
|
31-Mar-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Sending WALLPAPER_CHANGED broadcast when live wallpaper changes Bug: 27947401 Change-Id: Ib4fb3310e124e01d8fb7d7045d565ca3b9456050
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
edf7d04003890d3b673ab804f5b739e143f4faca |
|
30-Mar-2016 |
Christopher Tate <ctate@google.com> |
API review: WallpaperManager - Rename FLAG_SET_* to simply FLAG_* - Improve documentation Bug 27365822 Change-Id: I10e85aeaa462a8ae092938c0ccd55d171f02c20a
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
d57d17ca969756e6b9792199e221df475a7537f9 |
|
25-Mar-2016 |
Christopher Tate <ctate@google.com> |
Assign a new wallpaper ID when a live wallpaper is set Bug 27851191 Change-Id: I5fc490e38d80e1b357ef44cdcabbad41c8bd9a93
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
e409f0e46243e943af2a223c00bc7098dc7e5c88 |
|
21-Mar-2016 |
Christopher Tate <ctate@google.com> |
Add API to read the current wallpaper's ID Also regularize cross-user call handling throughout. Bug 27743435 Change-Id: Ibc530d0576d657723a613888357a6ea71b482763
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
2cdd3f2b62188ae5d688553ac9ddfcf8b5dfa322 |
|
15-Mar-2016 |
Christopher Tate <ctate@google.com> |
Don't stomp live wallpapers when tidying up imagery Tidying up the wallpaper imagery bookkeeping mustn't accidentally overwrite any user-selected live wallpaper usage. Only do the full reset when it's needful *and* we expect to need it. Bug 27537903 Change-Id: Iaacc750a24ef36ee4e4cc436b62055b51b49b235
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
41297ff82c94d28fe19a6dd8f6214aee7c0af8e2 |
|
11-Mar-2016 |
Christopher Tate <ctate@google.com> |
Once restored, the wallpaper needs to actually draw We now wait until both the wallpaper imagery and the metadata have been restored [if present], and then explicitly regenerate the crop from the source based on that. Bug 27423845 Change-Id: I986efd13b6b73d25b5ab1215af516ccea3a5c609
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
d5896630f6a2f21da107031cab216dc93bdcd851 |
|
05-Mar-2016 |
Jeff Sharkey <jsharkey@android.com> |
Move more PM calls to ParceledListSlice. Since the data returned by these calls can grow unbounded based on various GET flags, we need to switch 'em over. Bug: 27391893 Change-Id: Ie849ca30dbaaa91158da4c83675657715629a0ee
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
79a2457e198cf40b2b80e7fb6bd1656a9d78f246 |
|
02-Mar-2016 |
Christopher Tate <ctate@google.com> |
Add API to clear a specific wallpaper There was previously no public API for clearing the keyguard wallpaper versus the system wallpaper, or both. Now there is. Bug 27400185 Change-Id: If1789dd430040acdf16d77413c0e4b46bf3789f3
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
db27b844f4605fc968931a5e102f03867898b9a6 |
|
25-Feb-2016 |
Christopher Tate <ctate@google.com> |
Tidy up stale lock wallpaper state in set-both operation Also fix bug that was failing to remember the lock-only wallpaper, and along the way make the disk write a single large block operation instead of a number of small writes. Bug 27353079 Change-Id: Ib1351e509af95905dced41e69c6e13dcce839511
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
7e1693af7f367d7fe7851e46693e4c0067305a50 |
|
02-Feb-2016 |
Joe Onorato <joeo@google.com> |
Turn down the logging a little bit. Change-Id: I922d6f3895d80292fbf613b90e502cad462bb9ef
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
8cde0798edc9dc316509078736e5c4b4235c3b3f |
|
20-Feb-2016 |
Vadim Tryshev <vadimt@google.com> |
Add preloading wallpaper to the getWallpaper call. Otherwise, there is no way to get a wallpaper for the user that was never loaded. Bug: 25185253 Change-Id: I88df266f6af7ca78ebc30d78e82e1df3ab09a3c5
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
dcd93cc21a437ae86dc55622a66a948d6870af74 |
|
08-Jan-2016 |
Yorke Lee <yorkelee@google.com> |
Add Wallpaper.getBitmapAsUser() Add a new API to allow a wallpaper bitmap to be obtained for a specific user. Without this API, using only getWallpaperFile(..., userId), one can't get a default wallpaper bitmap if the wallpaper is not set. Bug: 25185253 Change-Id: Ibe1e9a49d22bee08fd4bed415573c1ee28526aea
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
ea6724a3c3b8917d51d32ebf4fe0eb69828b7054 |
|
19-Feb-2016 |
Christopher Tate <ctate@google.com> |
Don't try to register (and invoke!) intentional null callbacks Change-Id: Iccb9df242a4d6c3aea03be9132f83afb70be0397
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
be132e6ea494023d4b8c37658a34efa8b705dce9 |
|
10-Feb-2016 |
Christopher Tate <ctate@google.com> |
Keyguard wallpaper Clients can now set a lock-only wallpaper that Keyguard can observe and choose to draw as appropriate. Bug 25454162 Change-Id: I3fc30e02919e814b55dfded2a1a36ad9d2e55299
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
f2519814cc7136773a115b770d20cf4c92945952 |
|
26-Jan-2016 |
Oleksandr Peletskyi <peletskyi@google.com> |
Added restriction that disallows ability to set wallpaper. BUG: 24890474 Change-Id: I424aa80d914e3b6f3f9eba8ccb4802bad6f54907
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
1e1e2e013fbd2b77ecf3bb87f58ba9d4849d172a |
|
26-Jan-2016 |
Christopher Tate <ctate@google.com> |
Extract crop hint rect from source wallpaper image Setting the wallpaper is still synchronous: the caller blocks until any backend cropping/manipulation has completed. There is a timeout (currently 30 seconds) on that to avoid wedging the caller arbitrarily. Bug 25454501 Change-Id: Idca2fe1b10e4fa34d6d54865903d9a1b9e305e3c
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
ad3c2592a06be34c32f45a9c19429065f0107daa |
|
21-Jan-2016 |
Christopher Tate <ctate@google.com> |
Expanded wallpaper APIs for keyguard and change detection * There is a nonzero integer ID associated with the currently-set wallpaper image, and this changes every time any caller sets the wallpaper. This is to support external change detection. * The API now permits a caller to independently set imagery as the new general system wallpaper or keyguard-specific wallpaper. The backing implementation is not yet plumbed through, but the API is now in place for clients to safely write code against. Bug 25454501 Bug 25454162 Change-Id: I4934f102d5630485bf2870d83664145ae68a3695
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
233d94c0df13a7e54f738f442457cebc62294384 |
|
31-Jul-2015 |
Xiaohui Chen <xiaohuic@google.com> |
clean up UserHandle.USER_OWNER reference cleaning up a few in framework/base/services. Bug: 19913735 Change-Id: I1af5f24d9b39d6712ad3a665effa6166e32ce3d3
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
55a302402be3240c9e3289351c01e1cd2e853bc8 |
|
14-May-2015 |
Xiaohui Chen <xiaohuic@google.com> |
Merge "wallpaper: avoid exception when user is not initialized" into mnc-dev
|
9e9e2e73c6ec7bece20268196dc89ad0c8bafad4 |
|
08-May-2015 |
Wojciech Staszkiewicz <staszkiewicz@google.com> |
Pass charset to XmlPullParser.setInput instead of null Passing null to XmlPullParser.setInput forces it to do additional work, which can be easily avoided if we know the charset beforehand. bug: b/20849543 Change-Id: Iaff97be9df2d0f99d7af8f19f65934439c9658e2
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
ac531941fb9259057b86c08fb95b82cd67f6d8c0 |
|
13-May-2015 |
Xiaohui Chen <xiaohuic@google.com> |
wallpaper: avoid exception when user is not initialized Bug: 21087887 Change-Id: I56b9bf08c6e7100589f0df116e9d20f2f77d50e8
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
d69e4c1460017062e7c36be55801cb434ad19d97 |
|
24-Apr-2015 |
Dianne Hackborn <hackbod@google.com> |
Update use of procstate for services. Now that we have a separate foreground service proc state (above a sleeping top app), update various system services to put their bindings into this state when appropriate. There are two new bind flags for this -- one that just always makes it a foreground service, another that only does it when the device is awake (useful for things like the wallpaper). And with all of that, tweak network policy manager to only include apps that are at least foreground service state when in power save and device idle modes. This will allow us to further reduce the set of apps that have network access (in particular not giving access to the current top app when the screen is off), hopefully leading to even better battery life. Change-Id: I91d85a5c5ed64e856149e9a5d94a634a7925ec7f
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
429796226a8831af63a6303a58329f6b68f7b100 |
|
13-Apr-2015 |
Kenny Guy <kennyguy@google.com> |
Add foreground profile changed to user switch observer. Called when the focused activity changes from one profile to another to allow sys ui to vary display based on the current profile. This reverts commit 735a3f90598be31bca5d551d781280a205a5f27f. Resubmitting with fix for build break in another package. Bug: 19531782 Change-Id: I98cd2968ade3b1d23feb90d98057f306695d569e
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
735a3f90598be31bca5d551d781280a205a5f27f |
|
13-Apr-2015 |
Kenny Guy <kennyguy@google.com> |
Revert "Add foreground profile changed to user switch observer." This reverts commit 99b9030a3ececd9b88e5011c98be0a5b9499c776. Change-Id: If152904f298ecd9e6fd5d038797d061a5c85eec8
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
99b9030a3ececd9b88e5011c98be0a5b9499c776 |
|
01-Apr-2015 |
Kenny Guy <kennyguy@google.com> |
Add foreground profile changed to user switch observer. Called when the focused activity changes from one profile to another to allow sys ui to vary display based on the current profile. Bug: 19531782 Change-Id: I1f98398f4b37ce77077394546906ef4dff06cd47
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
f3ece36535d4999cf2bfd2175a33da6c3cdf298e |
|
11-Feb-2015 |
Benjamin Franz <bfranz@google.com> |
Block setting wallpapers from managed profiles. Silently fail when a managed profile app tries to change the wallpaper and return default values for getters in that case. This is implemented through a new AppOp that is controlled by a new user restriction that will be set during provisioning. Bug: 18725052 Change-Id: I1601852617e738be86560f054daf3435dd9f5a9f
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
a526a1e78c5b02096f596097ece4611a6fcc9e27 |
|
21-Jan-2015 |
Kenny Guy <kennyguy@google.com> |
Flush and sync before calling JournaledFile.commit JournaledFile.commit on ext4 isn't atomic you need to flush / sync before closing the file otherwise you might end up with an empty file. Bug: 19091744 Change-Id: Ia04784084053cc8ce338a13a61dc6d397610a006
/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
|
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
|