Commit Graph

301953 Commits

Author SHA1 Message Date
Sergei Vasilinetc
c1e6a12ab5 Merge "Add createHardwareBitmap on GraphicBuffer for SysUI" 2016-11-30 20:53:43 +00:00
Treehugger Robot
1204e3806f Merge "LOCAL_CLANG := true is now the default" 2016-11-30 20:35:41 +00:00
Treehugger Robot
6e54c31f0a Merge "Add ACTION_WIFI_SAVED_NETWORK_SETTINGS to Settings." 2016-11-30 20:25:13 +00:00
Michael Kwan
6d969ea4d8 Change activity dismiss animation to move left to right.
Bug: 33041168
Change-Id: Idf3d512debead3b3c70bc2bb8b38b133f2ad1723
2016-11-30 12:19:36 -08:00
vinodkrishnan
7b62df8556 Revert "DO NOT MERGE Wear Fwk: Disable Animations for A11y"
This reverts commit 8500f26d51.

Change-Id: I6408fa3f307d7611443e26b24d3876c1a1f92fdc
2016-11-30 20:09:59 +00:00
Robert Greenwalt
fbb48bcecd Merge "Fix MSIM issue of broadcast intent overwritten unintentionally" 2016-11-30 19:47:23 +00:00
Michael Rosenfeld
c37b0a40e7 Add command line action sequencing.
Supported actions:
* .. scan <process> ..
* .. scan-all ..
* .. import <infile> ..
* .. export <infile> ..
* .. comp <thresh> <outfile> ..
Test: manual
Bug: 31961946

Change-Id: I08753f31294ac5f30f6bcddeabef12d138e7e8e6
2016-11-30 11:26:33 -08:00
TreeHugger Robot
325fa50d8d Merge "Allow setting managing organization for the device" 2016-11-30 19:25:33 +00:00
Stephen Chen
c76fda7269 Add meteredOverride field to WifiConfiguration.
This stores a user's metered selection. This will be set by
Settings -> Data Usage -> Network restrictions and used in conjunction
with WifiConfiguration.meteredHint to properly track a Wifi network's
metered state.

Bug: 33106464
Bug: 26545374
Test: runtest --path
frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/XmlUtilTest.java
runtest --path
frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiStateMachineTest.java

Change-Id: I1a378ef2946c1b5b6091bba379f2ab48a15d29d8
2016-11-30 11:15:13 -08:00
Fyodor Kupolov
fd4f73c76c Merge "Support disabled/log/enforce in ro.control_privapp_permissions" 2016-11-30 18:50:11 +00:00
sergeyv
9a02987642 Add createHardwareBitmap on GraphicBuffer for SysUI
Test: none
bug:30999911
Change-Id: Ic396e25d9e587665e634c3192e14ef4bc3dc78f7
2016-11-30 10:47:12 -08:00
Bill Yi
bb61d65158 Import translations. DO NOT MERGE
Change-Id: I8d5ddb3fe8693a17a5a6b34a2f9e80ec686c5c2c
Auto-generated-cl: translation import
2016-11-30 10:34:30 -08:00
Chad Brubaker
73ec8f963d Add READ_PHONE_NUMBER permission
READ_PHONE_NUMBER allows only access to the phone number and not all the
other things that READ_PHONE_STATE allows access to. READ_PHONE_NUMBER
will be accessible to ephemeral apps while READ_PHONE_STATE will no
longer be.

Test: Verified that getLine1Number works with READ_PHONE_NUMBER from an
epemheral app
Test: cts-tradefed run cts -m CtsPermission2TestCases
Change-Id: I599c19227f886adbe8efe346a78d51e88ab46379
2016-11-30 10:34:15 -08:00
Chad Brubaker
d61cc80aca Merge "Expose CAMERA and ACCESS_NETWORK_STATE to ephemeral apps" 2016-11-30 18:30:48 +00:00
Romain Guy
1f071dd8c3 Deprecate eglCreatePixmapSurface
This function was never properly supported. It had partial support in our JNI
layer in EGL10 but not implementation in EGL14. It has never been tested and
it is unlikely that drivers support pixmap rendering.

Bug: 11257511
Test: CtsGraphicsTestCases
Change-Id: I209fff470c715cd97148a32b2f41ecf7e5283bab
2016-11-30 10:20:29 -08:00
Phil Weaver
702997bfb2 Merge "Don't invalidate list data during layout." into nyc-mr2-dev am: d1b7d3262b
am: 762cbc339a

Change-Id: Ia500eb99d221174ecb84db2bd4a4408a92fdd5c9
2016-11-30 18:06:31 +00:00
Phil Weaver
7584b074ae Don't invalidate list data during layout. am: a9d976f39a
am: 84a0d97b85

Change-Id: I0dc549674ed7e026cbe15ac6d06626305729e7b8
2016-11-30 18:05:26 +00:00
Phil Weaver
762cbc339a Merge "Don't invalidate list data during layout." into nyc-mr2-dev
am: d1b7d3262b

Change-Id: I869cdb0da5b59bb78d75ea1af2e1f20cae54aa3d
2016-11-30 18:01:00 +00:00
Phil Weaver
84a0d97b85 Don't invalidate list data during layout.
am: a9d976f39a

Change-Id: I865fda193961bb0e5229cba1034b818572662001
2016-11-30 18:00:54 +00:00
nharold
4134ccb214 Merge "Expose GSM Timing Advance, Update LTE TA docstring" 2016-11-30 18:00:35 +00:00
Jean-Michel Trivi
2f7511fd06 Stream types are for volume control
Deprecate methods where stream types are not used for
  volume control operations.
Add a warning in the logs about the use of stream
  types to encourage migration to audio attributes.
Since STREAM_ACCESSIBILITY is added in O for the
  volume of a11y audio, throw an exception when
  trying to use it for playback.

Test: make offline-sdk-docs
Bug: 30955183

Change-Id: I7fcf79f1de68f217a9b19561aa1325ade169dfcf
2016-11-30 09:54:23 -08:00
Phil Weaver
d1b7d3262b Merge "Don't invalidate list data during layout." into nyc-mr2-dev 2016-11-30 17:51:42 +00:00
Andreas Gampe
622f511f2f App_process: Clean up sanitized binaries
Clean up the definition of sanitized binaries. Clean up the
Android.mk to share values.

Bug: 33224213
Test: mmma SANITIZE_TARGET=address SANITIZE_LITE=true frameworks/base/cmds/app_process && ls $OUT/system/bin/asan
Change-Id: I70f8d95ff2ec6366fc0a7d252b91dce268186910
2016-11-30 09:46:09 -08:00
Jordan Liu
a578ae2aa1 Merge "Add KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY" 2016-11-30 17:42:31 +00:00
Glenn Kasten
827d0d76fb LOCAL_CLANG := true is now the default
Change-Id: I2f6a8c7f32cbf682c968a43d590d773ffb21e909
(cherry picked from commit 3a7510bcf6)
2016-11-30 09:42:23 -08:00
Romain Guy
15296a2d34 Add API to visualize/debug/compare color spaces and colors
ColorSpace.createRenderer() returns a ColorSpace.Renderer which
can be used to visualize multiple color spaces and colors (each
associated with a specific color space) in the same CIE 1931 xyY
chromaticity diagram. This API was used to generate all the
diagrams shown in the documentation.

Bug: 32984164
Test: ColorSpaceTest in CTS
Change-Id: Ic94d939d5cfd563d826701f5e876b67b47ed56ec
2016-11-30 09:33:28 -08:00
Etan Cohen
ba4a81b363 Merge "[AWARE] Data-path creation roles hard-coded for discovery sessions" am: 47502919ad am: ad299d38ff am: 1c92763087
am: 1f5d3014c5

Change-Id: I1f874e790b35686968f6c54f668db0cd996b6f70
2016-11-30 17:30:23 +00:00
Bartosz Fabianowski
365a3db470 Allow setting managing organization for the device
The Profile Owner of a managed profile can set a string that will be
shown in the UI to identify the organization managing the profile.
This CL extends the functionality to the Device Owner of a managed
device.

Bug: 32692748
Test: DevicePolicyManagerTest unit test + CTS test in separate CL

Change-Id: I47295da2fd6485ebf0e890da13990a044accaf17
2016-11-30 18:28:10 +01:00
Etan Cohen
1f5d3014c5 Merge "[AWARE] Data-path creation roles hard-coded for discovery sessions" am: 47502919ad am: ad299d38ff
am: 1c92763087

Change-Id: Ia0e33002b0d2b4a7e357555c15d6c285a38a2c8f
2016-11-30 17:24:47 +00:00
Etan Cohen
1c92763087 Merge "[AWARE] Data-path creation roles hard-coded for discovery sessions" am: 47502919ad
am: ad299d38ff

Change-Id: I9834f0e2687685a52970ab406a411217cc2eeec9
2016-11-30 17:14:14 +00:00
Etan Cohen
ad299d38ff Merge "[AWARE] Data-path creation roles hard-coded for discovery sessions"
am: 47502919ad

Change-Id: If8f7d8e0e039d2d9961de84e5aa8693448b77a26
2016-11-30 17:08:32 +00:00
Romain Guy
0f10b2f164 Merge "Add fallback case in glGetShaderInfoLog" 2016-11-30 17:05:37 +00:00
Etan Cohen
47502919ad Merge "[AWARE] Data-path creation roles hard-coded for discovery sessions" 2016-11-30 16:58:08 +00:00
Matt Sarett
711b6aec9a Merge "Add overdraw debugging feature to Skia pipelines" 2016-11-30 16:51:24 +00:00
Mahaver Chopra
ffbaf9a06e Merge "Update java doc to reflect EXTRA_USER" 2016-11-30 16:27:47 +00:00
Filip Pavlis
d6d67603cf Merge "Adds data store to provide data abstracion layer for Preferences." 2016-11-30 16:23:02 +00:00
Chet Haase
40b2de5d1c Add layout_marginHorizontal|Vertical attributes
These two new attributes are a short-hand way for specifying the
separate left/right (or start/end) and top/bottom margin attributes.
It is common to use the same margin on both edges, so these new
attributes make that common case easier and less verbose.

Issue: 30261490 Better way to define paddingTop/Bottom/Left/Right in XML if vertical paddings are the same and horizontal paddings are the same
Test: new CTS test in ViewGroup_MarginLayoutParamsTest
Change-Id: I183ace956892187b6ea086e61ed5b195c8903d7d
2016-11-30 07:39:57 -08:00
Etan Cohen
1ddf6a6d3a [AWARE] Data-path creation roles hard-coded for discovery sessions
Data-path roles (initiator & responder) are hard-coded for discovery
session participants by the spec: subscriber <-> initiator and
publisher <-> responder. Remove API parameter which allowed caller
to specify role.

(cherry-pick of commit 9c7483fec41db681a2d6de93a9061fb8764ecba5)

Bug: 32883026
Test: unit-tests and integration (sl4a) tests passing.
Change-Id: I889eacda9416d9ecd04caa0c72413f984611d40c
2016-11-30 07:10:42 -08:00
Julia Reynolds
c2b7fba6aa Merge "Blocked packages can't create channels." 2016-11-30 15:09:35 +00:00
Julia Reynolds
a275351745 Merge "Allow apps to set vibrations pattern for channels" 2016-11-30 15:08:13 +00:00
Julia Reynolds
d8d70fafb1 Merge "Shorten log tag." 2016-11-30 15:00:53 +00:00
Tony Mak
700c6ae748 Revise when to throw SecurityException in bindDeviceAdminServiceAsUser
1. No longer throw SecurityException when we fail to resolve the intent.
   Return false instead.

2. Throw IllegalArgumentException early if the incoming intent is not
   explicit.

3. Throw SecurityException with different error message. It makes debug
   easier and allows tests to verify a particular thing happened.

Bug: 33197200

Test: cts-tradefed run cts --module DevicePolicyManager --test com.android.cts.devicepolicy.DeviceOwnerPlusManagedProfileTest

Change-Id: I723ab7f434c10407aa4e7dc8e9a6e3e9bb9f2059
2016-11-30 14:59:39 +00:00
TreeHugger Robot
003a827b84 Merge "Stop a blink of the final position of shared element." 2016-11-30 14:15:32 +00:00
Julia Reynolds
7e1ffd737e Shorten log tag.
Bug: 32437842
Test: manual
Change-Id: Id6f77a2dec30a4da695232d70e441398285f14d0
2016-11-30 14:00:52 +00:00
Mahaver
7074cafc1b Update java doc to reflect EXTRA_USER
Update java doc for ACTION_MANAGED_PROFILE_PROVISIONED to reflect the
fact that the extra EXTRA_USER will contain the managed profile's
user handle.

Test: NA, Just a java doc update.
Bug: 32301911
Change-Id: Icfda56dea69353ede02ddeee88a7adb489e72d36
2016-11-30 13:59:54 +00:00
Android Build Merger (Role)
4951f90efe Merge "Merge "Add legacy-test as replacement for core-junit" am: e75a82a92f am: a485fa1fce am: 783096f02c am: e34370edfd -s ours" 2016-11-30 13:36:13 +00:00
TreeHugger Robot
fe9b40926f Merge "Allow DO to access DevicePolicyManager.isDeviceManaged()" 2016-11-30 13:35:38 +00:00
Paul Duffin
efc92c2604 Merge "Add legacy-test as replacement for core-junit" am: e75a82a92f am: a485fa1fce am: 783096f02c
am: e34370edfd  -s ours

Change-Id: I0a06fd6b8c7c9c860ecf293728c1c0d887b82358
2016-11-30 13:35:15 +00:00
George Mount
239ba2a3c8 Stop a blink of the final position of shared element.
Sometimes a frame from the final layout position of the shared
element was showing on the first frame of the activity showing.
This pushes the first frame to force it until after the transition
has started.

Test: manual testing

Change-Id: I831ed4b419eaadf1aad9d5efbeb99f04eebd0640
2016-11-30 05:13:24 -08:00
Paul Duffin
e34370edfd Merge "Add legacy-test as replacement for core-junit" am: e75a82a92f am: a485fa1fce
am: 783096f02c

Change-Id: I6fc52a2935575149766f681902e8d8dd62f715f8
2016-11-30 12:25:47 +00:00