152843 Commits

Author SHA1 Message Date
George Mount
fbb6299907 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.
2014-09-12 05:03:12 +00:00
George Mount
8da635c9b1 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.
2014-09-12 05:03:07 +00:00
Igor Murashkin
e77a5a5f2c am 6bb75a48: Merge "camera2.legacy: Add aberration, noisereduction, timestamp source keys" into lmp-dev
* commit '6bb75a48f2b1fac3acb10b79f9172f1bbbabc2a6':
  camera2.legacy: Add aberration, noisereduction, timestamp source keys
2014-09-12 05:03:03 +00:00
Sreeram Ramachandran
04e33e9a5b 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.
2014-09-12 05:02:58 +00:00
Andrew Lee
cd79d78db1 am a523c405: Merge "API cleanup for RemoteConnection." into lmp-dev
* commit 'a523c405c9aeefcb7512d049adf76dcc6b247d42':
  API cleanup for RemoteConnection.
2014-09-12 05:02:54 +00:00
Eric Rowe
a5bf3e25c4 am 92168d44: Merge "Fix wifi association tests" into lmp-dev
* commit '92168d4464f2a3b8e503db58ebf1a7c40f6c277e':
  Fix wifi association tests
2014-09-12 05:02:48 +00:00
Anthony Lee
ed0d651338 am 12c83b93: Merge "isValidSlotId() and isValidPhoneId() updated to handle negatives." into lmp-dev
* commit '12c83b93b13a7e6d37b385c1270c29d8a959bc78':
  isValidSlotId() and isValidPhoneId() updated to handle negatives.
2014-09-12 05:02:43 +00:00
ztenghui
525c65441e 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.
2014-09-12 05:02:39 +00:00
vandwalle
b12e0178bc am c7fd0da2: Merge "add option to link only same credential configurations" into lmp-dev
* commit 'c7fd0da2d924ac2b3f60288c777349020220fd33':
  add option to link only same credential configurations
2014-09-12 05:02:34 +00:00
Christopher Tate
7febfee44f am e32b2a5d: Merge "Write new wallpaper files from scratch..." into lmp-dev
* commit 'e32b2a5d2bdc3c8fd4caa00437d5616e3535d601':
  Write new wallpaper files from scratch...
2014-09-12 05:02:30 +00:00
Nancy Chen
4a634a8c7b am 03ee9f82: Merge "Update TelecommManager per API requirements. (1/3)" into lmp-dev
* commit '03ee9f825ac4c4f629e6afd5993f3bc46adb6266':
  Update TelecommManager per API requirements. (1/3)
2014-09-12 05:02:26 +00:00
Chris Craik
4cb524f81f 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
2014-09-12 05:02:21 +00:00
Michael Wright
fd243b6cf2 am 54bc6182: Change callback methods from add to register.
* commit '54bc61826b7df0d1c466432c13b4f9782ffd4fad':
  Change callback methods from add to register.
2014-09-12 05:02:16 +00:00
Chet Haase
6d942c8b7f am 05cafed0: Merge "Make starting window hw-accelerated" into lmp-dev
* commit '05cafed09b5dbc2642ac5a93e580ad732f5b7e8d':
  Make starting window hw-accelerated
2014-09-12 05:02:11 +00:00
Xin Guan
dcfc7f6996 am 314712e9: Temp enable the log to identify the wake up cause.
* commit '314712e95987acf944dbf7d1788fdcd6a14511a5':
  Temp enable the log to identify the wake up cause.
2014-09-12 05:02:06 +00:00
Paul Lawrence
d189d67af2 am 5f3e819f: Merge "Create correct files in dropbox on encrypted boot" into lmp-dev
* commit '5f3e819f368f309472a8dfb6a40f733d3d8d5915':
  Create correct files in dropbox on encrypted boot
2014-09-12 05:02:01 +00:00
Robin Lee
58d21fafee am 7ac7a7d8: Update API
* commit '7ac7a7d875fb54a6d63a8918107bfb752cc56aba':
  Update API
2014-09-12 05:01:55 +00:00
George Mount
db352c7835 Merge "Have Activity Transitions activited by a new window attribute." into lmp-dev 2014-09-11 21:54:13 +00:00
George Mount
784ab49b6e Merge "Allow Path approximation to work with a single point Path." into lmp-dev 2014-09-11 21:51:58 +00:00
Igor Murashkin
6894f60c9c Merge "camera2.legacy: Add aberration, noisereduction, timestamp source keys" into lmp-dev 2014-09-11 21:50:34 +00:00
Sreeram Ramachandran
623ce7f779 Merge "Hide mutable VpnService APIs to add/remove IP addresses dynamically." into lmp-dev 2014-09-11 21:39:08 +00:00
Andrew Lee
6f90967b0c Merge "API cleanup for RemoteConnection." into lmp-dev 2014-09-11 21:24:35 +00:00
Eric Rowe
a8e4c740a8 Merge "Fix wifi association tests" into lmp-dev 2014-09-11 21:23:01 +00:00
Anthony Lee
5e6e52a078 Merge "isValidSlotId() and isValidPhoneId() updated to handle negatives." into lmp-dev 2014-09-11 21:21:07 +00:00
Sreeram Ramachandran
a1e06807ee 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
2014-09-11 14:17:10 -07:00
Eric Rowe
485ceb8506 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
2014-09-11 14:14:25 -07:00
ztenghui
24a95a10db Merge "Finer tessellation can draw better looking shadows for circles." into lmp-dev 2014-09-11 21:09:51 +00:00
vandwalle
b55ccdad03 Merge "add option to link only same credential configurations" into lmp-dev 2014-09-11 21:05:54 +00:00
Christopher Tate
1fdfaa2e82 Merge "Write new wallpaper files from scratch..." into lmp-dev 2014-09-11 21:05:50 +00:00
Andrew Lee
100e293fa8 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
2014-09-11 13:30:10 -07:00
Nancy Chen
d6adcef917 Merge "Update TelecommManager per API requirements. (1/3)" into lmp-dev 2014-09-11 20:22:19 +00:00
Igor Murashkin
442395751d camera2.legacy: Add aberration, noisereduction, timestamp source keys
Bug: 17328591
Change-Id: I037908e0db505ace1ef62d5aa0622596d8fa2713
2014-09-11 13:21:37 -07:00
Nancy Chen
7ab1dc44bd 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
2014-09-11 12:57:57 -07:00
Chris Craik
5be52c11d9 Merge "Update HWUI paint filter to understand new location of skia bitmap filter preference" into lmp-dev 2014-09-11 19:43:52 +00:00
Christopher Tate
90f86baebd 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
2014-09-11 12:41:52 -07:00
Michael Wright
cde5bb45cc 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
2014-09-11 19:37:30 +00:00
Anthony Lee
b78890c159 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
2014-09-11 12:37:29 -07:00
Chet Haase
969e543b32 Merge "Make starting window hw-accelerated" into lmp-dev 2014-09-11 19:32:00 +00:00
Chet Haase
4f52b34206 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
2014-09-11 12:28:29 -07:00
Xin Guan
91b3566bec Temp enable the log to identify the wake up cause.
Bug: 17276890
Change-Id: I1c2b95807026539d8e5f1e8695019626468c00c1
2014-09-11 19:28:20 +00:00
George Mount
9826f636ad 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
2014-09-11 12:23:17 -07:00
Chris Craik
591be6c7af Update HWUI paint filter to understand new location of skia bitmap filter preference
bug:17455286
Change-Id: I3b0e04833f0c2699a1322fdd7e98c155841c0d93
2014-09-11 12:16:38 -07:00
Paul Lawrence
280813a6d9 Merge "Create correct files in dropbox on encrypted boot" into lmp-dev 2014-09-11 19:16:15 +00:00
Paul Lawrence
91317107a3 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
2014-09-11 12:09:56 -07:00
Robin Lee
a46ccb5f1f Update API
Change-Id: I253cd15e00449c0c13f5b9aa4524b1fbc3fc5a95
2014-09-11 19:51:27 +01:00
Marcin Kosiba
48ce27b86d 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.
2014-09-11 18:44:07 +00:00
John Spurlock
3cda1976f2 am 5d77d533: Merge "Doze: Introduce a pulse period function." into lmp-dev
* commit '5d77d533275690aa82a4713d75761ac03bb714bc':
  Doze: Introduce a pulse period function.
2014-09-11 18:35:59 +00:00
Nancy Chen
2683d3bbd4 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)
2014-09-11 18:35:53 +00:00
Marcin Kosiba
a0a9466476 Merge "Don't use reflection when generating the onResourcesLoaded callback." into lmp-dev 2014-09-11 18:34:33 +00:00
John Spurlock
3e42b33980 Merge "Doze: Introduce a pulse period function." into lmp-dev 2014-09-11 18:33:38 +00:00