228577 Commits

Author SHA1 Message Date
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
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
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
Geoff Mendal
81b44d0e51 Merge "Import translations. DO NOT MERGE" 2015-12-28 13:53:52 +00:00
Geoff Mendal
c6aad70022 Merge "Import translations. DO NOT MERGE" 2015-12-28 13:53:30 +00:00
Geoff Mendal
f395bfd9f1 Import translations. DO NOT MERGE
Change-Id: I279881c50e7f1010a52f83b1ecb23477b8a8f44c
Auto-generated-cl: translation import
2015-12-28 05:48:01 -08:00
Geoff Mendal
b0d78d487c Import translations. DO NOT MERGE
Change-Id: I57fcb1091c20531411b67a6ff0fab6ba973b8d3a
Auto-generated-cl: translation import
2015-12-28 05:44:56 -08:00
Geoff Mendal
02dae7f942 Import translations. DO NOT MERGE
Change-Id: Ifca4884000d510796069729dce895e2fadbf6d77
Auto-generated-cl: translation import
2015-12-28 05:14:41 -08:00
Tomasz Mikolajewski
c45dcaa88e Merge "Prevent double recreation of the failure dialog in DocumentsUI." 2015-12-28 00:46:47 +00:00
Tomasz Mikolajewski
aa684454f8 Prevent double recreation of the failure dialog in DocumentsUI.
DialogFragment takes care of recreation on configuration change, so no
need to recreate it manually.

Bug: 26322214
Change-Id: I7c50a1c5bb1ba9fab34f6e8d31ed1e23e7edfbb7
2015-12-25 18:22:52 +09:00
Daichi Hirono
b596175d80 Merge "Stop to remove device rows at MtpDocumentsProvider." 2015-12-25 07:09:38 +00:00
Daichi Hirono
8e3b9db544 Stop to remove device rows at MtpDocumentsProvider.
Previously MtpDocumentsProvider used to remove device info in the
database when the device is closed. It loses a chance that RootScanner
handles the removal of roots. As a result, notifications for root cursor
does not issued.

The CL stops removing device info at MtpDocumentsProvider, and let
RootScanner remove it.

BUG=26321346

Change-Id: I6aec0cf843a1e5c93e7f67a718cabd26841d9799
2015-12-25 15:59:47 +09:00
Narayan Kamath
f4ea850c51 Merge changes from topic \'aosp-merge-24-12\' am: e0e81bf407
am: f59c02a65e  -s ours

* commit 'f59c02a65e9fd529467c4e5083d94ed6453e70f7':
  Special case system_server to not create the JIT code cache.
  Don't use IntegralToString
  Track libcore commit 85d69e16fe1e59e50c1ad228e754abf325088362.
  Track API changes to java.lang.ref.Reference.
  Remove merge markers from preloaded-classes
  Move StrictJarFile from libcore to framework
  Switch RecoverySystem impl to use sun.security.pkcs
  API update for OpenJdk based libcore
  Use libcore/known_oj_tags for the javadoc stage.
  Stop preloading fortress classes
  Use HexDump instead of java.lang.IntegralToString
  Add core-oj to the list of core library jars.
2015-12-24 04:31:00 -08:00
Narayan Kamath
f59c02a65e Merge changes from topic \'aosp-merge-24-12\'
am: e0e81bf407

* commit 'e0e81bf407508ec096c752948f8794af5fd480ca':
  Special case system_server to not create the JIT code cache.
  Don't use IntegralToString
  Track libcore commit 85d69e16fe1e59e50c1ad228e754abf325088362.
  Track API changes to java.lang.ref.Reference.
  Remove merge markers from preloaded-classes
  Move StrictJarFile from libcore to framework
  Switch RecoverySystem impl to use sun.security.pkcs
  API update for OpenJdk based libcore
  Use libcore/known_oj_tags for the javadoc stage.
  Stop preloading fortress classes
  Use HexDump instead of java.lang.IntegralToString
  Add core-oj to the list of core library jars.
2015-12-24 04:07:42 -08:00
Narayan Kamath
e0e81bf407 Merge changes from topic 'aosp-merge-24-12'
* changes:
  Special case system_server to not create the JIT code cache.
  Don't use IntegralToString
  Track libcore commit 85d69e16fe1e59e50c1ad228e754abf325088362.
  Track API changes to java.lang.ref.Reference.
  Remove merge markers from preloaded-classes
  Move StrictJarFile from libcore to framework
  Switch RecoverySystem impl to use sun.security.pkcs
  API update for OpenJdk based libcore
  Use libcore/known_oj_tags for the javadoc stage.
  Stop preloading fortress classes
  Use HexDump instead of java.lang.IntegralToString
  Add core-oj to the list of core library jars.
2015-12-24 11:56:44 +00:00