OSDN Git Service
Chris Craik [Fri, 12 Sep 2014 07:22:36 +0000 (07:22 +0000)]
am
f1101afa: Merge "Fix null rect parameter for saveLayer / saveLayerAlpha" into lmp-dev
* commit '
f1101afa1e1b0527df5fa2852f237d0bdd81c61a':
Fix null rect parameter for saveLayer / saveLayerAlpha
Jorim Jaggi [Fri, 12 Sep 2014 07:22:32 +0000 (07:22 +0000)]
am
135f086a: Merge "Add massive logging to investigate blank Keyguard" into lmp-dev
* commit '
135f086a314690699229a98364b03e48e9651ec2':
Add massive logging to investigate blank Keyguard
Michael Wright [Fri, 12 Sep 2014 07:22:27 +0000 (07:22 +0000)]
am
44c97df3: Change constant to PowerManager.RELEAES_FLAG_WAIT_FOR_NO_PROXIMITY
* commit '
44c97df34f49908e1c9dce31813d2f3e39c20dc3':
Change constant to PowerManager.RELEAES_FLAG_WAIT_FOR_NO_PROXIMITY
George Mount [Fri, 12 Sep 2014 07:22:23 +0000 (07:22 +0000)]
am
67f38b35: Merge "Fixed empty TransitionSet not notifying listeners." into lmp-dev
* commit '
67f38b35c6e2141a15ed11c5e36b69e9607c1b84':
Fixed empty TransitionSet not notifying listeners.
Amith Yamasani [Fri, 12 Sep 2014 07:22:20 +0000 (07:22 +0000)]
am
7c855708: Merge "Annotate bindServiceAsUser with SystemApi" into lmp-dev
* commit '
7c8557085241581d571ff22b3954fa20f99e6772':
Annotate bindServiceAsUser with SystemApi
Brian Carlstrom [Fri, 12 Sep 2014 07:22:16 +0000 (07:22 +0000)]
am
93468f7c: Merge "Add zygote preloading of shared libraries" into lmp-dev
* commit '
93468f7c9d2d30ad0ee9e3549e76d38f044101db':
Add zygote preloading of shared libraries
Yigit Boyar [Fri, 12 Sep 2014 07:22:12 +0000 (07:22 +0000)]
am
62bd62e4: Merge "Add support for default content description in DecorToolbar" into lmp-dev
* commit '
62bd62e48f934d62bd70ec5728f4ee0db1df1f65':
Add support for default content description in DecorToolbar
Alan Viverette [Fri, 12 Sep 2014 07:22:08 +0000 (07:22 +0000)]
am
8c7810a4: Merge "Vertically align toolbar child views with similar gravities" into lmp-dev
* commit '
8c7810a451cc28e67a8565fd1c63ee9fb0fc9c2d':
Vertically align toolbar child views with similar gravities
Svetoslav [Fri, 12 Sep 2014 07:22:05 +0000 (07:22 +0000)]
am
59d0713d: Merge "Fix back button behavior and clean up in print preview activity." into lmp-dev
* commit '
59d0713d816dd8e9a04885b1907384ba4de6cf19':
Fix back button behavior and clean up in print preview activity.
Ihab Awad [Fri, 12 Sep 2014 07:22:01 +0000 (07:22 +0000)]
am
0bf3d66d: Merge "Change UI to represent conferenced IMS connections (1/3)" into lmp-dev
* commit '
0bf3d66deb849bf8eaba2ef613beaba0b96479b9':
Change UI to represent conferenced IMS connections (1/3)
Adam Powell [Fri, 12 Sep 2014 07:21:57 +0000 (07:21 +0000)]
am
51eee88c: Merge "Remove View methods that can\'t be used safely from the SDK" into lmp-dev
* commit '
51eee88c3355973ef648cef822f4a737c5b0a6b9':
Remove View methods that can't be used safely from the SDK
Craig Mautner [Fri, 12 Sep 2014 07:21:52 +0000 (07:21 +0000)]
am
790a059b: Merge "If activity is an alias get maxRecents from target" into lmp-dev
* commit '
790a059b487646bd6aae1cdc866261a57375bb01':
If activity is an alias get maxRecents from target
Jeff Davidson [Fri, 12 Sep 2014 07:21:49 +0000 (07:21 +0000)]
am
1e397796: Merge "Update VpnService Javadoc to reflect new UX." into lmp-dev
* commit '
1e3977964e1cb0c14a7b3bc6f34e8f15583b93a3':
Update VpnService Javadoc to reflect new UX.
Craig Mautner [Fri, 12 Sep 2014 07:21:46 +0000 (07:21 +0000)]
am
7f97f2c3: Merge "Add null check to TaskPersister file list." into lmp-dev
* commit '
7f97f2c371b45540c313e72b2bd087162d91d666':
Add null check to TaskPersister file list.
Prerepa Viswanadham [Fri, 12 Sep 2014 07:21:42 +0000 (07:21 +0000)]
am
041299e3: Remove onConnectionCongested callback
* commit '
041299e377de125746800f5d4644d9fd4b793cf8':
Remove onConnectionCongested callback
Jeff Brown [Fri, 12 Sep 2014 07:21:38 +0000 (07:21 +0000)]
am
683872af: Merge "Clean entire arg block when setting process name." into lmp-dev
* commit '
683872afea36e40fa8c962cd82b6e4753994f9d4':
Clean entire arg block when setting process name.
Svet Ganov [Fri, 12 Sep 2014 07:21:35 +0000 (07:21 +0000)]
am
60d4306b: Merge "Fix edit text error state in the print UI." into lmp-dev
* commit '
60d4306bfd3125543b1a207c82b78e0bfbe7a8d4':
Fix edit text error state in the print UI.
George Mount [Fri, 12 Sep 2014 07:21:32 +0000 (07:21 +0000)]
am
4041d8ed: Merge "Fixed: TransitionSet setStartDelay did nothing." into lmp-dev
* commit '
4041d8edb771af9a96940def096637f6d8884fb9':
Fixed: TransitionSet setStartDelay did nothing.
George Mount [Fri, 12 Sep 2014 07:21:28 +0000 (07:21 +0000)]
am
3081e360: Merge "Have Activity Transitions activited by a new window attribute." into lmp-dev
* commit '
3081e3601760871fea78d878e752b556974cb55b':
Have Activity Transitions activited by a new window attribute.
George Mount [Fri, 12 Sep 2014 07:21:24 +0000 (07:21 +0000)]
am
51d20c87: Merge "Allow Path approximation to work with a single point Path." into lmp-dev
* commit '
51d20c877a7c23e273983146188f379fd2b52a6c':
Allow Path approximation to work with a single point Path.
Igor Murashkin [Fri, 12 Sep 2014 07:21:20 +0000 (07:21 +0000)]
am
6bb75a48: Merge "camera2.legacy: Add aberration, noisereduction, timestamp source keys" into lmp-dev
* commit '
6bb75a48f2b1fac3acb10b79f9172f1bbbabc2a6':
camera2.legacy: Add aberration, noisereduction, timestamp source keys
Sreeram Ramachandran [Fri, 12 Sep 2014 07:21:16 +0000 (07:21 +0000)]
am
8ab9b4c7: Merge "Hide mutable VpnService APIs to add/remove IP addresses dynamically." into lmp-dev
* commit '
8ab9b4c765b7a05223e4013f6e1d8b810a0b272c':
Hide mutable VpnService APIs to add/remove IP addresses dynamically.
Andrew Lee [Fri, 12 Sep 2014 07:21:12 +0000 (07:21 +0000)]
am
a523c405: Merge "API cleanup for RemoteConnection." into lmp-dev
* commit '
a523c405c9aeefcb7512d049adf76dcc6b247d42':
API cleanup for RemoteConnection.
Eric Rowe [Fri, 12 Sep 2014 07:21:08 +0000 (07:21 +0000)]
am
92168d44: Merge "Fix wifi association tests" into lmp-dev
* commit '
92168d4464f2a3b8e503db58ebf1a7c40f6c277e':
Fix wifi association tests
Anthony Lee [Fri, 12 Sep 2014 07:21:03 +0000 (07:21 +0000)]
am
12c83b93: Merge "isValidSlotId() and isValidPhoneId() updated to handle negatives." into lmp-dev
* commit '
12c83b93b13a7e6d37b385c1270c29d8a959bc78':
isValidSlotId() and isValidPhoneId() updated to handle negatives.
ztenghui [Fri, 12 Sep 2014 07:21:00 +0000 (07:21 +0000)]
am
0a64dc71: Merge "Finer tessellation can draw better looking shadows for circles." into lmp-dev
* commit '
0a64dc71677c93909445b92f2c5a04659289941b':
Finer tessellation can draw better looking shadows for circles.
vandwalle [Fri, 12 Sep 2014 07:20:55 +0000 (07:20 +0000)]
am
c7fd0da2: Merge "add option to link only same credential configurations" into lmp-dev
* commit '
c7fd0da2d924ac2b3f60288c777349020220fd33':
add option to link only same credential configurations
Christopher Tate [Fri, 12 Sep 2014 07:20:52 +0000 (07:20 +0000)]
am
e32b2a5d: Merge "Write new wallpaper files from scratch..." into lmp-dev
* commit '
e32b2a5d2bdc3c8fd4caa00437d5616e3535d601':
Write new wallpaper files from scratch...
Nancy Chen [Fri, 12 Sep 2014 07:20:48 +0000 (07:20 +0000)]
am
03ee9f82: Merge "Update TelecommManager per API requirements. (1/3)" into lmp-dev
* commit '
03ee9f825ac4c4f629e6afd5993f3bc46adb6266':
Update TelecommManager per API requirements. (1/3)
Chris Craik [Fri, 12 Sep 2014 07:20:43 +0000 (07:20 +0000)]
am
e4c0e03b: Merge "Update HWUI paint filter to understand new location of skia bitmap filter preference" into lmp-dev
* commit '
e4c0e03bb23ae4ed64d91f8ba1c8976092252fff':
Update HWUI paint filter to understand new location of skia bitmap filter preference
Michael Wright [Fri, 12 Sep 2014 07:20:38 +0000 (07:20 +0000)]
am
54bc6182: Change callback methods from add to register.
* commit '
54bc61826b7df0d1c466432c13b4f9782ffd4fad':
Change callback methods from add to register.
Chet Haase [Fri, 12 Sep 2014 07:20:34 +0000 (07:20 +0000)]
am
05cafed0: Merge "Make starting window hw-accelerated" into lmp-dev
* commit '
05cafed09b5dbc2642ac5a93e580ad732f5b7e8d':
Make starting window hw-accelerated
Xin Guan [Fri, 12 Sep 2014 07:20:30 +0000 (07:20 +0000)]
am
314712e9: Temp enable the log to identify the wake up cause.
* commit '
314712e95987acf944dbf7d1788fdcd6a14511a5':
Temp enable the log to identify the wake up cause.
Paul Lawrence [Fri, 12 Sep 2014 07:20:25 +0000 (07:20 +0000)]
am
5f3e819f: Merge "Create correct files in dropbox on encrypted boot" into lmp-dev
* commit '
5f3e819f368f309472a8dfb6a40f733d3d8d5915':
Create correct files in dropbox on encrypted boot
Robin Lee [Fri, 12 Sep 2014 07:20:21 +0000 (07:20 +0000)]
Robin Lee [Thu, 11 Sep 2014 18:51:27 +0000 (19:51 +0100)]
Update API
Change-Id: I253cd15e00449c0c13f5b9aa4524b1fbc3fc5a95
(cherry picked from commit
7ac7a7d875fb54a6d63a8918107bfb752cc56aba)
Chris Craik [Fri, 12 Sep 2014 00:35:16 +0000 (00:35 +0000)]
Merge "Fix null rect parameter for saveLayer / saveLayerAlpha" into lmp-dev
Jorim Jaggi [Fri, 12 Sep 2014 00:30:25 +0000 (00:30 +0000)]
Merge "Add massive logging to investigate blank Keyguard" into lmp-dev
Michael Wright [Tue, 9 Sep 2014 02:57:50 +0000 (19:57 -0700)]
Change constant to PowerManager.RELEAES_FLAG_WAIT_FOR_NO_PROXIMITY
Bug:
17290118
Change-Id: Iae3866bf3f7ac24f756ec4c183e848a79d1f779b
Jorim Jaggi [Fri, 12 Sep 2014 00:12:26 +0000 (02:12 +0200)]
Add massive logging to investigate blank Keyguard
This CL needs to be reverted after the issue is fixed, as it clutters
the code a lot.
Bug:
17439581
Change-Id: I548fdd73bbcd6d6ce727901f9dcd9f3f7268db9d
George Mount [Thu, 11 Sep 2014 23:56:34 +0000 (23:56 +0000)]
Merge "Fixed empty TransitionSet not notifying listeners." into lmp-dev
Chris Craik [Thu, 11 Sep 2014 23:51:22 +0000 (16:51 -0700)]
Fix null rect parameter for saveLayer / saveLayerAlpha
bug:
17476559
Change-Id: I3ba43c9eed8f6fc455eb41e0990e75e0f4c7b648
Amith Yamasani [Thu, 11 Sep 2014 23:48:36 +0000 (23:48 +0000)]
Merge "Annotate bindServiceAsUser with SystemApi" into lmp-dev
Amith Yamasani [Thu, 11 Sep 2014 23:47:17 +0000 (16:47 -0700)]
Annotate bindServiceAsUser with SystemApi
Bug:
17470388
Change-Id: I0961e6ebabaffd91e3d152074b2f64ca4f9ba8fb
Brian Carlstrom [Thu, 11 Sep 2014 23:40:32 +0000 (23:40 +0000)]
Merge "Add zygote preloading of shared libraries" into lmp-dev
Brian Carlstrom [Thu, 11 Sep 2014 22:36:00 +0000 (15:36 -0700)]
Add zygote preloading of shared libraries
Bug:
17459019
Change-Id: I7cb4ecd0ec9542aa9079420fe158cedca7fca028
Yigit Boyar [Thu, 11 Sep 2014 23:30:46 +0000 (23:30 +0000)]
Merge "Add support for default content description in DecorToolbar" into lmp-dev
Alan Viverette [Thu, 11 Sep 2014 23:24:46 +0000 (23:24 +0000)]
Merge "Vertically align toolbar child views with similar gravities" into lmp-dev
Svetoslav [Thu, 11 Sep 2014 23:24:19 +0000 (23:24 +0000)]
Merge "Fix back button behavior and clean up in print preview activity." into lmp-dev
Alan Viverette [Thu, 11 Sep 2014 23:23:29 +0000 (16:23 -0700)]
Vertically align toolbar child views with similar gravities
Also fixes Body1 text size, action bar title size on sw600dp-land.
BUG:
17266152
Change-Id: Ib686dd6e80dfcdad920c922a532f4f5d6252fa19
Ihab Awad [Thu, 11 Sep 2014 23:18:03 +0000 (23:18 +0000)]
Merge "Change UI to represent conferenced IMS connections (1/3)" into lmp-dev
Adam Powell [Thu, 11 Sep 2014 23:12:26 +0000 (23:12 +0000)]
Merge "Remove View methods that can't be used safely from the SDK" into lmp-dev
Craig Mautner [Thu, 11 Sep 2014 23:02:25 +0000 (23:02 +0000)]
Merge "If activity is an alias get maxRecents from target" into lmp-dev
Craig Mautner [Thu, 11 Sep 2014 22:03:53 +0000 (15:03 -0700)]
If activity is an alias get maxRecents from target
Activity aliases do not pick up values in the PackageParser. The
actual values should come from the target activity instead.
Also ActivityInfo now propagates maxRecents in copy constructor
and across Binder calls (via parcelling).
Fixes bug
17391328.
Change-Id: I35d248032eca7557528c9d499b3b38f27c713d09
Jeff Davidson [Thu, 11 Sep 2014 22:41:23 +0000 (22:41 +0000)]
Merge "Update VpnService Javadoc to reflect new UX." into lmp-dev
Adam Powell [Thu, 11 Sep 2014 22:38:55 +0000 (15:38 -0700)]
Remove View methods that can't be used safely from the SDK
View methods that previously accepted a TypedArray to initialize
parameters parsed from xml cannot be used correctly by apps. The
TypedArray passed must always be obtained from a context using the
filter array com.android.internal.R.styleable.View, which is not
visible to the SDK.
A previous change already made this safe for existing apps already
using it so that they don't crash, this change removes these methods
from the SDK entirely.
Change-Id: I62099087ad6fd5bf8363e863b04fd0434b8cdfca
Craig Mautner [Thu, 11 Sep 2014 22:36:15 +0000 (22:36 +0000)]
Merge "Add null check to TaskPersister file list." into lmp-dev
Prerepa Viswanadham [Thu, 11 Sep 2014 20:39:16 +0000 (13:39 -0700)]
Remove onConnectionCongested callback
Bug:
17289507
Change-Id: I49fd99d320084c618dcec756b832fb3b6a6aec51
Jeff Brown [Thu, 11 Sep 2014 22:28:41 +0000 (22:28 +0000)]
Merge "Clean entire arg block when setting process name." into lmp-dev
Svet Ganov [Thu, 11 Sep 2014 22:15:58 +0000 (22:15 +0000)]
Merge "Fix edit text error state in the print UI." into lmp-dev
George Mount [Thu, 11 Sep 2014 22:08:35 +0000 (22:08 +0000)]
Merge "Fixed: TransitionSet setStartDelay did nothing." into lmp-dev
Ihab Awad [Thu, 11 Sep 2014 15:49:02 +0000 (08:49 -0700)]
Change UI to represent conferenced IMS connections (1/3)
IMS conferenced connnections cannot individually hold or disconnect.
Bug:
17451623
Change-Id: Ie945d2c23f752f5403d01668606fe893dca0a882
George Mount [Wed, 10 Sep 2014 17:58:08 +0000 (10:58 -0700)]
Fixed: TransitionSet setStartDelay did nothing.
Bug
17452965
Change-Id: Id2fd6ed3bd8e7156dd3d22dcd83117cec12e3528
George Mount [Thu, 11 Sep 2014 21:54:12 +0000 (21:54 +0000)]
Merge "Have Activity Transitions activited by a new window attribute." into lmp-dev
George Mount [Thu, 11 Sep 2014 21:51:57 +0000 (21:51 +0000)]
Merge "Allow Path approximation to work with a single point Path." into lmp-dev
Igor Murashkin [Thu, 11 Sep 2014 21:50:33 +0000 (21:50 +0000)]
Merge "camera2.legacy: Add aberration, noisereduction, timestamp source keys" into lmp-dev
Jeff Davidson [Thu, 11 Sep 2014 21:13:22 +0000 (14:13 -0700)]
Update VpnService Javadoc to reflect new UX.
The major change is that consent is now "sticky" and lasts until the
user explicitly disables the VPN connection.
Bug:
17474362
Change-Id: Id4e7807e635bbfc7645741135209d46763e280f9
Sreeram Ramachandran [Thu, 11 Sep 2014 21:39:07 +0000 (21:39 +0000)]
Merge "Hide mutable VpnService APIs to add/remove IP addresses dynamically." into lmp-dev
George Mount [Wed, 10 Sep 2014 17:58:08 +0000 (10:58 -0700)]
Fixed empty TransitionSet not notifying listeners.
Bug
17469482
Change-Id: I2673960e75737d659e52132f1f3b8230080adb7b
Andrew Lee [Thu, 11 Sep 2014 21:24:34 +0000 (21:24 +0000)]
Merge "API cleanup for RemoteConnection." into lmp-dev
Eric Rowe [Thu, 11 Sep 2014 21:22:59 +0000 (21:22 +0000)]
Merge "Fix wifi association tests" into lmp-dev
Anthony Lee [Thu, 11 Sep 2014 21:21:06 +0000 (21:21 +0000)]
Merge "isValidSlotId() and isValidPhoneId() updated to handle negatives." into lmp-dev
Jeff Brown [Wed, 10 Sep 2014 23:48:46 +0000 (16:48 -0700)]
Clean entire arg block when setting process name.
When Android processes fork from Zygote, we rewrite the command line
with a new name, eg. "system_server". When we do this, we should
fill the entire block with zeros to remove corrupted argument
information that may otherwise remain in the /proc/<pid>/cmdline buffer
and be seen in tools and stack dumps.
Fixed an issue where VM options could be overwritten after setting
the nice name if the name was too long.
Bug:
17474152
Change-Id: Ie6cf9ed7752a04300a340e26cd6812bb35c59e1b
Sreeram Ramachandran [Thu, 11 Sep 2014 21:08:25 +0000 (14:08 -0700)]
Hide mutable VpnService APIs to add/remove IP addresses dynamically.
These APIs were added because we thought we needed them to provide
seamless transition from one server backend to another using local IP
addresses to distinguish between the backends. I.e., connections whose
local IP address was old would be routed to the old backend; connections
whose local IP address was new would be routed to the new backend.
It turns out that's not needed. VpnService already supports seamless
re-establishment, so VPNs just need to call establish() again with a
different IP address. I've verified with a custom VPN app that this
works, and can distinguish traffic based on the old and new addresses.
Nobody is using these APIs at the moment, so we could even consider
removing them altogether, but I prefer just hiding them, just in case.
Bug:
15409819
Change-Id: I30949926a0f859c9d839981ccbc5d8e1e535a3a5
Eric Rowe [Thu, 11 Sep 2014 21:14:18 +0000 (14:14 -0700)]
Fix wifi association tests
Before fix, test assumed that it was already connected to wifi so remove
these assertions. Also, since association test may be used against
access points with no outside connectivity, remove the ping test to
8.8.8.8 at the end.
Change-Id: I3d4f3d752b72028f642da9f8e9adda4ad18a6a56
Svetoslav [Thu, 11 Sep 2014 19:39:05 +0000 (12:39 -0700)]
Fix back button behavior and clean up in print preview activity.
The print preview UI owns and drives the lifecycle of several objects.
These objects were torn down too late resulting in an attempt to use
the activity as a context when it was no longer valid and service unbind
resulting in causing a crash.
Fixed a bug where if the back button is pressed mutiple times when
the print UI is being initialized a crash occurs.
bug:
17454041
Change-Id: Ic1455b467586f0ad65f907e2160ec5cfb2d17d05
ztenghui [Thu, 11 Sep 2014 21:09:50 +0000 (21:09 +0000)]
Merge "Finer tessellation can draw better looking shadows for circles." into lmp-dev
vandwalle [Thu, 11 Sep 2014 21:05:53 +0000 (21:05 +0000)]
Merge "add option to link only same credential configurations" into lmp-dev
Christopher Tate [Thu, 11 Sep 2014 21:05:49 +0000 (21:05 +0000)]
Merge "Write new wallpaper files from scratch..." into lmp-dev
Craig Mautner [Thu, 11 Sep 2014 19:47:03 +0000 (12:47 -0700)]
Add null check to TaskPersister file list.
Ran out of file descriptors and got a null file list. This
checks for null file list.
Fixes bug
17461213.
Change-Id: Ia6d49d0bdb6da98623b76d2b87cd09bc0afa1f27
Andrew Lee [Mon, 8 Sep 2014 22:34:24 +0000 (15:34 -0700)]
API cleanup for RemoteConnection.
+ Rename handle to address.
+ Rename audioModeIsVoip to IsVoipAudioMode.
+ Rename Listener to Callback.
- Delete getParent() and getChildren() methods.
- Delete onChildrenChanged/onParentChanged methods.
+ Rename Listener to Callback.
+ Rename Callback methods to reflect other changes.
Bug:
17329632
Change-Id: Ie466472e995050f578fbb1c4b9de0ae59e488988
Nancy Chen [Thu, 11 Sep 2014 20:22:18 +0000 (20:22 +0000)]
Merge "Update TelecommManager per API requirements. (1/3)" into lmp-dev
Igor Murashkin [Wed, 10 Sep 2014 22:08:00 +0000 (15:08 -0700)]
camera2.legacy: Add aberration, noisereduction, timestamp source keys
Bug:
17328591
Change-Id: I037908e0db505ace1ef62d5aa0622596d8fa2713
Nancy Chen [Wed, 10 Sep 2014 01:18:26 +0000 (18:18 -0700)]
Update TelecommManager per API requirements. (1/3)
+ Add constants GATEWAY_PROVIDER_PACKAGE and GATEWAY_ORIGINAL_ADDRESS
- Remove those corresponding constants from private packages
+ Modify clearAccounts() so it no longer takes an argument.
Bug:
17329632
Change-Id: I3794efe5ad1fafe6e22f4a59146859a96a385ed1
Chris Craik [Thu, 11 Sep 2014 19:43:51 +0000 (19:43 +0000)]
Merge "Update HWUI paint filter to understand new location of skia bitmap filter preference" into lmp-dev
Christopher Tate [Thu, 11 Sep 2014 19:37:19 +0000 (12:37 -0700)]
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
Michael Wright [Mon, 8 Sep 2014 20:26:34 +0000 (13:26 -0700)]
Change callback methods from add to register.
Also changes intent returning method from get to create. Both changes
are in response to API council feedback.
Bug:
17389882
Change-Id: I3b57e3fc202148e3bbb24ac61229f04e8b4ac41e
Anthony Lee [Thu, 11 Sep 2014 16:21:38 +0000 (09:21 -0700)]
isValidSlotId() and isValidPhoneId() updated to handle negatives.
The old version of the code wanted to just check to make sure
that the slot/phone id is greater than INVALID_SLOT_ID or
INVALID_PHONE_ID that are both currently defined to be -1000. The
changes are made for 2 reasons. First, INVALID_SLOT_ID and/or
INVALID_PHONE_ID might not always be defined to be a negative value
so there is a big assumption. Secondly, anything greater than
-1000 allows other negative values to be considered valid ids.
Bug:
17243556
Change-Id: I2bbfcc2cfd2d7c4772dfb9c50af2dc88c0f315e2
Chet Haase [Thu, 11 Sep 2014 19:31:59 +0000 (19:31 +0000)]
Merge "Make starting window hw-accelerated" into lmp-dev
Chet Haase [Thu, 11 Sep 2014 18:07:02 +0000 (11:07 -0700)]
Make starting window hw-accelerated
An earlier fix in L disabled hw acceleration for the starting window
after the system process became hw accelerated. This was done to preserve
the old behavior of the starting window having some default behavior
(in particular, being filled with a default color). However, this ends up
being a memory and performance problem on some platforms (memory because
some platforms have backing store for software surfaces, performance
because it takes far longer to create a screen-size software surface than
a hardware surface).
The fix is to allow the starting window to inherit the hw acceleration
behavior of its process, and to detect when we are drawing the contents
of that starting window and to fill it with a default color (black).
Issue #
17443449 use hardware rendering for app preview window
Change-Id: I8be8111d9e38c51fbbc07185acca065815ce26dc
Xin Guan [Wed, 27 Aug 2014 14:26:01 +0000 (09:26 -0500)]
Temp enable the log to identify the wake up cause.
Bug:
17276890
Change-Id: I1c2b95807026539d8e5f1e8695019626468c00c1
George Mount [Thu, 11 Sep 2014 15:50:09 +0000 (08:50 -0700)]
Have Activity Transitions activited by a new window attribute.
Bug
17006497
Window content transitions were being enabled by default in
the Material Theme so that Activity Transitions could be
enabled by default. Unfortunately, this gave the effect that
many applications did not want -- the default transition between
window content is a fade out/in. Here, a new attribute is
added: windowActivityTransitions that is enabled by default
in the Material theme and windowContentTransitions is disabled
by default in all themes.
Change-Id: Iab453d608f00a48ff7ab7f09ce84b52cf5f20294
Chris Craik [Thu, 11 Sep 2014 18:09:34 +0000 (11:09 -0700)]
Update HWUI paint filter to understand new location of skia bitmap filter preference
bug:
17455286
Change-Id: I3b0e04833f0c2699a1322fdd7e98c155841c0d93
Paul Lawrence [Thu, 11 Sep 2014 19:16:14 +0000 (19:16 +0000)]
Merge "Create correct files in dropbox on encrypted boot" into lmp-dev
Paul Lawrence [Thu, 11 Sep 2014 18:47:12 +0000 (11:47 -0700)]
Create correct files in dropbox on encrypted boot
On the minimal framework start, don't mark ro.runtime.firstboot, allowing
the real framework to properly create the dropbox files in the real /data
Bug:
17450632
Change-Id: Ic53b3471b44e69f3eea7e3f3de18e789f51192bc
Robin Lee [Thu, 11 Sep 2014 18:51:27 +0000 (19:51 +0100)]
Update API
Change-Id: I253cd15e00449c0c13f5b9aa4524b1fbc3fc5a95
Marcin Kosiba [Thu, 11 Sep 2014 18:42:58 +0000 (18:42 +0000)]
am
5128e88e: Merge "Don\'t use reflection when generating the onResourcesLoaded callback." into lmp-dev
* commit '
5128e88e4ad39b407cb36bfd3d81f3f5108e5830':
Don't use reflection when generating the onResourcesLoaded callback.
John Spurlock [Thu, 11 Sep 2014 18:38:46 +0000 (18:38 +0000)]
am
5d77d533: Merge "Doze: Introduce a pulse period function." into lmp-dev
* commit '
5d77d533275690aa82a4713d75761ac03bb714bc':
Doze: Introduce a pulse period function.
Nancy Chen [Thu, 11 Sep 2014 18:38:42 +0000 (18:38 +0000)]
am
63a12357: Merge "Make changes to Connection in Telecomm API (1/4)" into lmp-dev
* commit '
63a123575734c9dd8cdbec38a45e4970d0c128c6':
Make changes to Connection in Telecomm API (1/4)
Marcin Kosiba [Thu, 11 Sep 2014 18:34:31 +0000 (18:34 +0000)]
Merge "Don't use reflection when generating the onResourcesLoaded callback." into lmp-dev