Commit Graph

301953 Commits

Author SHA1 Message Date
Wei Jia
ebc2b694d1 MediaPlayer: enable same seek modes as in MediaMetadataRetriever.
Test: manually check result of mediaplayer.seekTo
Bug: 32557491
Change-Id: Ib507fbfb86a24fcf9b42758e89e595a4a58d33b5
2016-12-01 12:32:34 -08:00
TreeHugger Robot
e9bf7c8436 Merge "Introduce PathInterpolator to native animators" 2016-12-01 20:21:13 +00:00
Selim Cinek
f7c77a3cae Merge changes Ifac2b821,I80140e91,I255aa969,I2c372243
* changes:
  Fixed the clipTopAmount when transforming into the shelf
  Fixed the backgroundclipping with the clipbottom amount
  Improved the clipping of notification groups
  Fixed a bug with the maximum number of notifications
2016-12-01 20:17:49 +00:00
Geoffrey Pitsch
aac3cba531 Merge "Listener in createNotificationChannel" 2016-12-01 19:46:09 +00:00
TreeHugger Robot
ed1b65b1ca Merge "Retain DownloadManager Uri grants when clearing." 2016-12-01 19:44:50 +00:00
TreeHugger Robot
38d20cc5c9 Merge "Revert addition of a11y stream in VolumeDialogController" 2016-12-01 19:43:22 +00:00
TreeHugger Robot
54f67e781f Merge changes from topic 'glbytebuffer'
* changes:
  Query GL version before using it
  Guarantee that glMapBufferRange/glGetBufferPointv return a ByteBuffer
2016-12-01 19:42:17 +00:00
Jordan Liu
1ca2e31d82 Rename key declaration to start with "KEY"
CarrierConfigTeset validates carrier_config xmls by comparing them to
static fields starting with "KEY_" declared in CarrierConfigManager.
This commit renmaes the key so the test passes.

Change-Id: Iebb11739ae16e56fe1a0b2fdc9a3e005a71858dc
Test: runtest carrierconfig-unit
2016-12-01 11:41:57 -08:00
Fyodor Kupolov
51245c74f4 Added get-privapp-permissions command
Usage: cmd package get-privapp-permissions PACKAGE
Returns whitelisted signature|privileged permissions that specified
privileged app can use.

Test: Manual
Bug: 31008485
Change-Id: I3d9944390b011d4b56f110d1e57400241d36f371
2016-12-01 11:34:10 -08:00
Eino-Ville Talvala
d5b9c6ba55 CameraDevice: Add missing @Nullable for a handler argument.
Like the other capture session creation methods,
createCaptureSessionByOutputConfigurations() will happily take a null
handler.

Test: Compiles
Change-Id: I702a0761e40207ca5143ad69f5d8694c45f27561
2016-12-01 11:31:02 -08:00
Teng-Hui Zhu
14efe881d4 Update the documentation related to VD / AVD
fix:32705240
fix:32683765
fix:32831830
fix:32705244

Test: make offline-sdk-docs and view the HTML file.
Merged-In: I6ae3e5850494f13a241b2e9e4d2c5b95d5199aae

Change-Id: I6ae3e5850494f13a241b2e9e4d2c5b95d5199aae
2016-12-01 11:18:51 -08:00
Zoran Jovanovic
6b6d5dadfa Get the correct operator name
If the long operator name is not given by RIL,
try to get the short operator name.

Bug: 32791744
Test: ServiceStateTrackerTest extended on partner CL.
Depends-On: commit in frameworks/opt/telephony with the same Change-Id
Change-Id: I4983ad708c57a650ce4a806e1f53837825bad2db
2016-12-01 11:18:22 -08:00
Zoran Jovanovic
67f579be19 Get the correct operator name
If the long operator name is not given by RIL,
try to get the short operator name.

Bug: 32791744
Test: ServiceStateTrackerTest.java exteneded in partner cl
Depends-On: commit in frameworks/opt/telephony with the same Change-Id
Change-Id: I4983ad708c57a650ce4a806e1f53837825bad2db
2016-12-01 10:36:21 -08:00
TreeHugger Robot
7075269195 Merge "Add READ_PHONE_NUMBER permission" 2016-12-01 18:27:07 +00:00
Kouji Shiotani
6b04f11100 To enable scroll function at DatePickerDialog
Symptom:
Some date is truncated so can't be selected when setting
display size as large.

Root cause:
For DatePickerDialog can not scroll, not be displayed depending
on the display size.

Solution:
To enable scroll function at DatePickerDialog

Bug: 32533274

Change-Id: I1bb4d024a6b26c00febe35279f442b6aba24458c
2016-12-01 13:26:36 -05:00
Yifan Hong
bae1b55ae0 Use IBase instead of IBinder for IServiceManager.
Test: compiles with mma
Change-Id: I5805df48aa358dcef555125f6467d659f095b0c2
2016-12-01 10:25:05 -08:00
Filip Pavlis
f457db6a2c Merge "Adds keyword "default" to the API-linter." 2016-12-01 18:02:03 +00:00
Romain Guy
b136c8556e Query GL version before using it
Bug: 32984164
Test: manual testing of linear blending
Change-Id: Ie20bdc34d1b98e93eae22b15f3e2a7994d3b4ff7
2016-12-01 09:50:49 -08:00
Charles He
c86c88f76f Remove IPersistentDataBlockService from system-api.
Change-Id: I55e46c0815e4ef84b4d7a752cc72407f893ab569
Test: manual
Bug: 33238174
2016-12-01 17:42:17 +00:00
Adrian Roos
1cffe3c31f Show keyguard when SIM is removed
If the device has a secure lockscreen and the device'
SIM card is removed, lock the device.

Change-Id: I5b0deea8851b38781059732a3cf6fa0a4a00e3ca
Fixes: 30997251
Test: set up lock screen, insert SIM card, unlock phone, remove SIM card, observe that screen is locked
2016-12-01 09:40:38 -08:00
Stan Iliev
347691f8d8 Fix a crash in skia pipeline, when empty reorder block is first
Fix a crash in skia pipeline, which happens if an empty reorder
barrier is inserted at index 0 in a SkiaDisplayList.
Add a unit test that repro the bug (unit test is crashing wihtout
the fix and passing with the fix).

Test: built and ran skia pipeline with angler-eng and run HWUI unit
tests.

Change-Id: I4aded15021c70cc0ae8daa83bbe8ed0e10a41eef
2016-12-01 12:25:07 -05:00
Treehugger Robot
880c9acf4a Merge "Add command line action sequencing." 2016-12-01 17:23:37 +00:00
TreeHugger Robot
9a4c8a2072 Merge "Revert "LightService: don't use implicit cast of Return<*>"" 2016-12-01 17:15:39 +00:00
Amith Yamasani
f81df2d5e5 Merge "Secure MATCH_UNINSTALLED_PACKAGES across users" 2016-12-01 17:01:07 +00:00
Jean-Michel Trivi
82a6655714 Revert addition of a11y stream in VolumeDialogController
Revert addition of STREAM_ACCESSIBILITY as R.array.volume_stream_titles
  needs to contain STREAMS.length entries in all languages,
  whereas this had only been done for the default system language.

Test: boot in a different language than en-US
Bug: 33260083
Change-Id: If869c5f913bb42b94eeb3fa2e1b6f575a6f7ca70
2016-12-01 08:49:19 -08:00
Wale Ogunwale
b198b74c14 Don't send SCREEN_ORIENTATION_UNSET to apps.
SCREEN_ORIENTATION_UNSET is an internal implementation detail of how WM
now handles WindowContainer requesting a specific orientation. The
container will return SCREEN_ORIENTATION_UNSET for getOrientation method
if it should affect the device orientation under specific conditions like
when it isn't visible. However, we still want to return the requested
app orientation if someone from outside WM asked for it regardless of if
the app is visible or not.

Bug: 33067025
Test: Adding a new document in the Drive app with the scan option doesn't crash.
Change-Id: I53aee1afaa311994520f573139aea9a0d87bc8e6
2016-12-01 08:48:55 -08:00
Geoffrey Pitsch
e75a66e87a Listener in createNotificationChannel
Necessary for when this will eventually trigger an Activity.
New unit test file for NotificationServiceManager.

Test: runtest systemui-notification (cts tests in separate CL)
Change-Id: I8f3e8e34ddcebb1acb9ddd84bffc68affb4b6e89
2016-12-01 10:59:47 -05:00
Victor Chang
89ee279d05 Add EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION
Test: built successfully
Bug: 32299699
Change-Id: I22a470786c31e4acc010ac2efbc32eb5e47b8b1d
2016-12-01 15:47:30 +00:00
Etan Cohen
f358a69cba Merge "AWARE: Abstract structure of match filters" 2016-12-01 15:42:35 +00:00
Android Build Merger (Role)
595a29efb2 Merge "Fix deadzone in seascape orientation am: c8d6603644 am: 4161a104b1" 2016-12-01 14:08:20 +00:00
Jorim Jaggi
b12e9436a1 Fix deadzone in seascape orientation am: c8d6603644
am: 4161a104b1

Change-Id: Idd68bb9f188cf42d37d5adacb2d7c3785a9900de
2016-12-01 14:07:43 +00:00
Charles He
df09da04be Merge "Prevent writing to FRP partition during factory reset." 2016-12-01 14:07:38 +00:00
Jorim Jaggi
4161a104b1 Fix deadzone in seascape orientation
am: c8d6603644

Change-Id: Ic02394700b6fc6ea07f17f8ef39d7a4d50344422
2016-12-01 14:02:40 +00:00
Jorim Jaggi
aaaf9cf826 Don't prepare transition if token is not visible
This led to an issue that atoken was added to opening apps,
regardless of its requested visibility state, thus making apps
visible that should not be visible at all, because once it's
added to opening apps, it will become visible when the app
transition is being executed.

Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test
android.server.cts.KeyguardTests#testUnoccludeRotationChange

Bug: 32771855
Change-Id: I375db25658ff95a6c6cc8e204486a1e73d2b2b88
2016-12-01 14:43:19 +01:00
ltrochtova
1e9a5eac92 Merge "Introduce a new user restriction for disallowing Bluetooth." 2016-12-01 13:40:29 +00:00
TreeHugger Robot
0d471e614b Merge "Add enterprise disclosure to Keyguard screen" 2016-12-01 13:30:43 +00:00
Jorim Jaggi
c8d6603644 Fix deadzone in seascape orientation
Test: Enable config_dead_zone_flash, make sure deadzone gets drawn
on the right side in seascape/landscape/portrait and deadzone is
consuming clicks on the right side.

Change-Id: Icc88967cfa7bf8ba7f6f3b797ca001eba78e5cdc
Fixes: 32870901
(cherry picked from commit 7aaa3d7d19)
2016-12-01 12:24:27 +00:00
Jorim Jaggi
7aaa3d7d19 Fix deadzone in seascape orientation
Test: Enable config_dead_zone_flash, make sure deadzone gets drawn
on the right side in seascape/landscape/portrait and deadzone is
consuming clicks on the right side.

Change-Id: Icc88967cfa7bf8ba7f6f3b797ca001eba78e5cdc
Fixes: 32870901
2016-12-01 12:23:15 +00:00
TreeHugger Robot
3db81ae38d Merge "Revise when to throw SecurityException in bindDeviceAdminServiceAsUser" 2016-12-01 11:52:05 +00:00
Lenka Trochtova
69f9d321ac Introduce a new user restriction for disallowing Bluetooth.
Only the device owner will be able to set the restriction
and the restriction will prevent usage of Bluetooth on
the  entire device - i.e. in all the users.

Test: cts-tradefed run cts -m  CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.UserRestrictionsTest
Test: cts-tradefed run cts -m  CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.DeviceOwnerTest#testBluetoothRestriction

Bug: 32895300

Change-Id: Iae77647b1e48be6b8efbeccdff6a3d468a0e174d
2016-12-01 10:56:51 +01:00
Bartosz Fabianowski
5f045007e0 Add enterprise disclosure to Keyguard screen
With this CL, a disclosure text is shown on the Keyguard screen when
a Device Owner is managing the device.

Bug: 32692748
Test: runtest --path frameworks/base/packages/SystemUI/tests

Change-Id: I7a48df7dc010c39b2db94fcd26b75313a7ceee08
2016-12-01 10:36:18 +01:00
Charles He
a629c772f4 Prevent writing to FRP partition during factory reset.
Avoid potential race condition between FRP wipe and write operations
during factory reset by making the FRP partition unwritable after
wipe.

Bug: 30352311
Test: manual
Change-Id: If3f024a1611366c0677a996705724458094fcfad
2016-12-01 09:30:45 +00:00
TreeHugger Robot
52a0daed89 Merge "Import translations. DO NOT MERGE" 2016-12-01 06:18:42 +00:00
TreeHugger Robot
3b80737ef8 Merge "Import translations. DO NOT MERGE" 2016-12-01 06:16:52 +00:00
TreeHugger Robot
bfabae34f6 Merge "Import translations. DO NOT MERGE" 2016-12-01 06:14:30 +00:00
Steven Moreland
e1cc01087a Revert "LightService: don't use implicit cast of Return<*>"
This reverts commit 9893740dbc.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Ib522886cb5007a2cab5bcf43643e29207fa8ea1b
2016-12-01 06:00:38 +00:00
TreeHugger Robot
0199070c3c Merge "Adding FUSE loop thread in app side." 2016-12-01 05:45:33 +00:00
Daichi Hirono
878e86f38f Adding FUSE loop thread in app side.
The CL adds FuseAppLoop internal class to the framework. It parses FUSE commands
from the proxy in the system service and invokes a callback provided by
application.

Bug: 29970149
Test: None, will be tested with CTS for StorageManager#openProxyFileDescriptor.
Change-Id: I10b2add4c2743fb91eae3cb194f55843a74fb668
2016-12-01 13:16:14 +09:00
Stephen Chen
11ab16f650 Merge "Add meteredOverride field to WifiConfiguration." am: f9479fe639 am: dfd9942a31 am: 99bd27f7ee
am: 2fd19b6d52

Change-Id: I30fb4aae566e77e5ed29092387050542cbbb2eb2
2016-12-01 03:41:11 +00:00
TreeHugger Robot
6c670ecdd9 Merge "Add hwui test for correct refcounting of SkColorTable in Bitmap" 2016-12-01 03:35:51 +00:00