Commit Graph

228594 Commits

Author SHA1 Message Date
Robert Carr
fbfd7f90cf More logging for ANR track-down
More logging for ANR track-down. Seems to relate
to starting windows hanging around during app
transitions.

Bug: 26157153
Change-Id: Ie88d0c97f11bbc6fae029cf28b07b329188e5f86
2016-01-06 11:01:43 -08:00
Alan Viverette
db8f4e56fd Merge "Clean up date picker, add simple constructors and setter for listener" 2016-01-04 18:47:55 +00:00
Chong Zhang
fe34f6c198 Merge "Fix popup window position calculation in multiwindow mode" 2016-01-04 18:32:16 +00:00
Mathew Inwood
db4da1bd20 Merge "Experimental: verify cached constructors before use." 2016-01-04 18:09:57 +00:00
Xiaohui Chen
c33f357b50 Merge "cleanup some confusing comments" 2016-01-04 17:21:45 +00:00
Felipe Leme
af038b61e5 Merge "Minor improvements on 'Take bug report' Action." 2016-01-04 17:06:18 +00:00
Tyler Gunn
bd1bf125e4 Merge "Fix capability/property checking methods to handle multi-bit capabilities." 2016-01-04 16:33:37 +00:00
John Reck
f43f627fc9 Merge "Add some options to macrobench" 2016-01-04 15:26:18 +00:00
Geoff Mendal
4a5b54fb3b Import translations. DO NOT MERGE
Change-Id: I86141e2b59f4b3fd5adf1beb3a848d2dae49e871
Auto-generated-cl: translation import
2016-01-04 05:53:33 -08:00
Robin Lee
56a9953819 Merge "Return null on getPrivateKey failure not exception" 2016-01-04 10:05:13 +00:00
Mathew Inwood
4985c5c782 Experimental: verify cached constructors before use.
Caching constructors can cause problems for dynamically loaded code if
the same class name appears in more than on classloader. Before using
cached constructors, verifty that they come from a valid classloader, i.e.
one that appears in the classloader chain of the current contexts
classloader. Remove ones that do not from the map to allow the associated
classes to be unloaded in case they're no longer in use.

Bug: 21690610
Change-Id: I84f2894cd03a5dc0c33aed9cd710e4a1f6d9515f
2015-12-31 12:32:40 +00:00
Jack Yu
b42701047a Reduced the radio log
am: d2cf0ce9c1

* commit 'd2cf0ce9c17cd37a12827882b3a10512d2904103':
  Reduced the radio log
2015-12-30 22:34:12 +00:00
Jack Yu
d2cf0ce9c1 Reduced the radio log
Reduced the radio log by moving some to VDBG or merging few lines
into one.

bug: 25956251
Change-Id: I290d894e95c9fdd664db35fd0cee3536c37dbd20
2015-12-30 12:06:01 -08:00
Xiaohui Chen
dc630f0122 cleanup some confusing comments
Change-Id: I21fe6fb2ea37a811f69278058277dd595866ae9b
2015-12-30 11:32:05 -08:00
Doris Liu
6380b4793c Merge "VectorDrawable: Use the matrix scale only if the matrix has no rotation or skew." 2015-12-30 19:17:06 +00:00
Doris Liu
a0e61572ab VectorDrawable: Use the matrix scale only if the matrix has no rotation or skew.
When canvas is rotated or skewed, the scale factor is affected.
Conservatively reset the scale used to modify path stroke size to 1 in these
cases, since the image will be somewhat blurry anyway with rotation / skew..

b/25418943

Change-Id: I6dff1bca5fac5500fa688c68f8b81b6212526b6b
2015-12-30 10:57:15 -08:00
Sudheer Shanka
81a83562fc Merge "Update an error message." 2015-12-30 18:17:30 +00:00
Sudheer Shanka
137241c714 Update an error message.
Change-Id: Ifc32120ccccd14e8e821770995de91008ed518d7
2015-12-30 18:09:10 +00:00
Geoff Mendal
f32d3a06d5 Merge "Import translations. DO NOT MERGE" 2015-12-30 14:12:49 +00:00
Geoff Mendal
4e31a9e688 Import translations. DO NOT MERGE
Change-Id: I8272ade26943091694be6ce0b8d7e8bbbc1e4ac6
Auto-generated-cl: translation import
2015-12-30 06:06:22 -08:00
Geoff Mendal
9638a9a2a4 Import translations. DO NOT MERGE
Change-Id: I0e4698739718df41ce8fc1237bcb41fa87dd4b8a
Auto-generated-cl: translation import
2015-12-30 06:02:31 -08:00
Randy Pan
a47f684020 resolve merge conflicts of 8c79fe5dc4 to master.
Change-Id: Id331e763f64ecbf8ed23764a487e32b94c4d3c09
2015-12-29 15:09:09 -08:00
Chong Zhang
7c9732db0e Fix popup window position calculation in multiwindow mode
When adjusting the popup's layout param to clip it to screen, we
have to convert x, y into screen coords to make any comparision
to the display frame, which is in screen coords.

bug: 25346252
Change-Id: I996286dec83ef2a1782dd2a66435eab45abf1bae
2015-12-29 14:53:27 -08:00
Chong Zhang
bd0d937303 Notify client when the window is moved because of a resize
We need to notify the client that the window has moved if a resize
results in a move without size change. This makes sure that relevent
info on client side (such as mAttachInfo.mWindowLeft/Top) gets updated
to the new frame. Things like View.getLocationOnScreen() may depend
on these to function.

Bug: 25565385
Change-Id: I5b9ded0b16243c14494f9a69257d56570ee8996d
2015-12-29 14:23:16 -08:00
Chong Zhang
7e5445f2b4 Merge "Crop to stack bounds during animation if docked task is non-resizeable" 2015-12-29 21:40:08 +00:00
Randy Pan
8c79fe5dc4 Correct WiFi exponential back off scan
Correct the comments for exponential back off scan. Only binary
exponential back off scan is supported.

Updated the API doc. A couple of un-related fields which were
not updated get updated as well.

Bug: 26236392
Change-Id: I5668092f393b564aa40904ed609a51aa16890614
2015-12-29 11:28:43 -08:00
Mahaver Chopra
ecd7f715b3 Merge "DPM Test: DA and PO cannot call DPM.reboot()" 2015-12-29 15:46:15 +00:00
Mahaver Chopra
f8373b5afc DPM Test: DA and PO cannot call DPM.reboot()
Bug: 25304994
Change-Id: Ifaccf3625314f4bfcd7f99413abc9067cc3dd2f9
2015-12-29 15:39:02 +00:00
Gus Prevas
88efba96aa Merge "Defines task to front/back animations in styles_micro." into cw-e-dev am: 1d3bac82b3 am: b805bb8b66 am: 19c7ad05f7
am: 5211f9bcbb

* commit '5211f9bcbb2faba350e044c7d19f7af4e167b525':
  Defines task to front/back animations in styles_micro.
2015-12-29 15:24:49 +00:00
Gus Prevas
5211f9bcbb Merge "Defines task to front/back animations in styles_micro." into cw-e-dev am: 1d3bac82b3 am: b805bb8b66
am: 19c7ad05f7

* commit '19c7ad05f7bc950ffe23dcb3d01668229b4735c1':
  Defines task to front/back animations in styles_micro.
2015-12-29 15:20:39 +00:00
Gus Prevas
19c7ad05f7 Merge "Defines task to front/back animations in styles_micro." into cw-e-dev am: 1d3bac82b3
am: b805bb8b66

* commit 'b805bb8b660c5897e7a379fb2d79815269039271':
  Defines task to front/back animations in styles_micro.
2015-12-29 15:16:23 +00:00
Gus Prevas
b805bb8b66 Merge "Defines task to front/back animations in styles_micro." into cw-e-dev
am: 1d3bac82b3

* commit '1d3bac82b3bc59fd7225a3c27b32db2fc90b0308':
  Defines task to front/back animations in styles_micro.
2015-12-29 07:12:10 -08:00
Gus Prevas
1d3bac82b3 Merge "Defines task to front/back animations in styles_micro." into cw-e-dev 2015-12-29 15:09:26 +00:00
Adrian Roos
7213bdd104 Merge "Add reply text section to notifications" 2015-12-29 13:05:46 +00:00
Doris Liu
44b8102d71 Merge "VectorDrawable native rendering - Step 3 of MANY" 2015-12-29 01:45:03 +00:00
Pavlin Radoslavov
bfdf63eab6 Merge "Use GID "wakelock" to control access to kernel wakelock" am: 60d142c54b
am: 91fc6d1f9c

* commit '91fc6d1f9cd5e83eec5753ef92960d03367c33a6':
  Use GID "wakelock" to control access to kernel wakelock
2015-12-29 01:35:29 +00:00
Pavlin Radoslavov
91fc6d1f9c Merge "Use GID "wakelock" to control access to kernel wakelock"
am: 60d142c54b

* commit '60d142c54b16be08d8352c7fd1510538014839f7':
  Use GID "wakelock" to control access to kernel wakelock
2015-12-29 01:31:16 +00:00
Pavlin Radoslavov
60d142c54b Merge "Use GID "wakelock" to control access to kernel wakelock" 2015-12-29 01:24:14 +00:00
Fyodor Kupolov
db29e46ae9 Merge "Avoid byte[] allocations in writePackageListLPr" 2015-12-29 00:30:23 +00:00
Doris Liu
4bbc293126 VectorDrawable native rendering - Step 3 of MANY
- Refactored VPathRenderer & VectorDrawableState
- Moved all the VD rendering into native
- Set up hooks for VD's property changes in JNI for animated VD

TODO: JNI calls can be further reduced when we convert the animation
in AVD to use RenderNodeAnimator, in which case animation will be
driven from native and therefore most of the JNI hooks for changing
VD's properties during animation will no longer be needed.

Change-Id: I52021f4d7bea057b83ace54085d870dd45acae0f
2015-12-28 16:08:38 -08:00
Pavlin Radoslavov
fbd5904ce6 Use GID "wakelock" to control access to kernel wakelock
* Added GID "wakelock" (3010) to the list of groups the System Server
   belongs to.

 * Added GID "wakelock" to the list of assigned groups for the
   "android.permission.BLUETOOTH_STACK" Android permission.

 * Grant CAP_BLOCK_SUSPEND to processes that belong to GID "wakelock"

Bug: 25864142
Change-Id: I8a9a5f11e4a9ecd1abf2d4f4b90ec89b3101332e
2015-12-28 15:14:44 -08:00
Gus Prevas
fcc57db731 Defines task to front/back animations in styles_micro.
Bug: 26112737
Change-Id: I9f8c1da21580d525c32a76f25e223dc24d012837
2015-12-28 15:02:13 -05:00
Pavlin Radoslavov
7016625473 Use GID "wakelock" to control access to kernel wakelock
* Added GID "wakelock" (3010) to the list of groups the System Server
   belongs to.

 * Added GID "wakelock" to the list of assigned groups for the
   "android.permission.BLUETOOTH_STACK" Android permission.

 * Grant CAP_BLOCK_SUSPEND to processes that belong to GID "wakelock"

Bug: 25864142
Change-Id: I8a9a5f11e4a9ecd1abf2d4f4b90ec89b3101332e
2015-12-28 19:32:48 +00:00
Mark Salyzyn
6eb1a3e8c6 resolve merge conflicts of 94ab88228e to master.
Bug: 26178938
Change-Id: I1ec3421f4bb501942a0c06032d56cdaf06f56b45
2015-12-28 11:20:24 -08:00
Chong Zhang
50bf96b86d Crop to stack bounds during animation if docked task is non-resizeable
When a non-resizeable task is docked, it's running in fullscreen size, its
visible area should always be cropped to docked stack size. Otherwise wrong
size might show through during animation.

bug: 26163416
Change-Id: Idcbf4b86ae0976d86a2f91e78ccc2113dd86af62
2015-12-28 11:09:01 -08:00
Geoff Mendal
c127d656b5 Merge "Import translations. DO NOT MERGE" 2015-12-28 17:20:09 +00:00
Geoff Mendal
c9c5e066bf Import translations. DO NOT MERGE
Change-Id: Iad62ad98172733f52c0eb698db53568f74478070
Auto-generated-cl: translation import
2015-12-28 18:13:40 +01:00
Mihai Niță
73d92acee1 Merge "Add APIs to access various locale lists." 2015-12-28 15:35:22 +00:00
Geoff Mendal
f47ce26872 Merge "Import translations. DO NOT MERGE" 2015-12-28 14:00:31 +00:00
Geoff Mendal
431433b1f7 Import translations. DO NOT MERGE
Change-Id: I315d33bfa714351cf945e0798f57bc6ebaabc743
Auto-generated-cl: translation import
2015-12-28 05:59:37 -08:00