OSDN Git Service
TreeHugger Robot [Mon, 1 May 2017 17:47:00 +0000 (17:47 +0000)]
Merge "Increase max system_server hwbinder threadpool to 5." into oc-dev
TreeHugger Robot [Mon, 1 May 2017 17:23:50 +0000 (17:23 +0000)]
Merge "Move ColorSpace#Renderer tests to APCT" into oc-dev
Jeff Sharkey [Mon, 1 May 2017 17:19:26 +0000 (17:19 +0000)]
Merge "Change MANAGE_OWN_CALLS permission to be a "normal" permission." into oc-dev
Salvador Martinez [Mon, 1 May 2017 16:45:25 +0000 (16:45 +0000)]
Merge "Added dialog to notify user of thermal shutdown" into oc-dev
Matthew Snider [Mon, 1 May 2017 16:42:19 +0000 (16:42 +0000)]
Merge "Removing ACTION_CLEAR_PACKAGE intent" into oc-dev
Jeff Sharkey [Mon, 1 May 2017 16:05:26 +0000 (16:05 +0000)]
Merge "Move intents ACTION_DEFAULT_SMS_SUBSCRIPTION_CHANGED, ACTION_DEFAULT_SUBSCRIPTION_CHANGED and EXTRA_SUBSCRIPTION_INDEX from Intent class to SubscriptionManager class." into oc-dev
Jeff Sharkey [Mon, 1 May 2017 15:37:12 +0000 (15:37 +0000)]
Merge "Change android.permission.RESTRICTED_VR_ACCESS to SystemAPI" into oc-dev
Jason Monk [Mon, 1 May 2017 13:23:17 +0000 (13:23 +0000)]
Merge "Fix flaky test?" into oc-dev
Jean-Michel Trivi [Mon, 1 May 2017 06:33:01 +0000 (06:33 +0000)]
Merge "AudioFocusRequest: more docs, listener without handler" into oc-dev
Karthik Ravi Shankar [Fri, 28 Apr 2017 18:21:04 +0000 (11:21 -0700)]
Change android.permission.RESTRICTED_VR_ACCESS to SystemAPI
android.permission.RESTRICTED_VR_ACCESS is currently an open API. But
since it can only be used by System Apps because of it's protection
level which is "signature|preinstalled". Change this to a @SystemApi.
Bug:
37724255
Test: run gts --module GtsPermissionTestCases
1. Run with two apps having android.permission.RESTRICTED_VR_ACCESS
before change -- fails.
2. Run with two appshaving android.permission.RESTRICTED_VR_ACCESS
after this change -- passes.
Change-Id: I9e640b0794fa16d03ba22e8aa75175e7e08dd88b
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
Jean-Michel Trivi [Mon, 1 May 2017 01:49:36 +0000 (18:49 -0700)]
AudioFocusRequest: more docs, listener without handler
Focus listener: follow platform pattern for setter of listener
and handler (set(listener) and set(listener, handler) methods).
More docs.
Test: cts-tradefed run cts -m CtsMediaTestCases -t android.media.cts.AudioFocusTest
Bug:
30258418
Change-Id: Ib5d1fbc3cf92821b63ffc1b4ad4cf4384bb6ff54
Rebecca Silberstein [Sun, 30 Apr 2017 21:54:43 +0000 (21:54 +0000)]
Merge "Revert "WifiManager: expose Local Only Hotspot APIs"" into oc-dev
Rebecca Silberstein [Sun, 30 Apr 2017 20:02:59 +0000 (20:02 +0000)]
Revert "WifiManager: expose Local Only Hotspot APIs"
This reverts commit
ec18f81e5b8bc4e4486b00f37e68cff4ff9131eb.
Reverting the CL to expose the APIs so we have more time for testing
and ironing out the API.
Bug:
31466854
Bug:
37073685
Test: make update-api
Test: make
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I17d4e3e32e28dbbb08ba99c266a9b74044e6001d
Rebecca Silberstein [Sun, 30 Apr 2017 18:30:43 +0000 (18:30 +0000)]
Merge changes I8d149ab0,Ia0a52819,If54a89cb,I20faa733,Ib32dfd23 into oc-dev
* changes:
WifiManager: expose Local Only Hotspot APIs
WifiManager: implement watch LocalOnlyHotspot
WifiManager: implement start/stopLocalOnlyHotspot
WifiManager: add LocalOnlyHotspotObserverProxy
WifiManager: add LocalOnlyHotspotCallbackProxy
Dianne Hackborn [Sun, 30 Apr 2017 17:19:29 +0000 (17:19 +0000)]
Merge "Work on issue #
36891897: Need to ensure foreground services can't..." into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 17:15:44 +0000 (17:15 +0000)]
Merge "TextClassifier: API rename" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 16:08:30 +0000 (16:08 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 14:31:12 +0000 (14:31 +0000)]
Merge "AAPT2: Fix typo in manifest validation expectation" into oc-dev
Martijn Coenen [Sun, 30 Apr 2017 13:47:06 +0000 (13:47 +0000)]
Merge "Rename persistentFeature to persistentWhenFeatureAvailable." into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:43:19 +0000 (09:43 +0000)]
Merge "WifiManager: add APIs for LOHS" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:40:24 +0000 (09:40 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:35:07 +0000 (09:35 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:31:52 +0000 (09:31 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:28:47 +0000 (09:28 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:24:26 +0000 (09:24 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:23:33 +0000 (09:23 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:17:43 +0000 (09:17 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:16:27 +0000 (09:16 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Rebecca Silberstein [Fri, 28 Apr 2017 20:28:12 +0000 (13:28 -0700)]
WifiManager: expose Local Only Hotspot APIs
Expose the APIs to start and stop LocalOnlyHotspot.
Bug:
31466854
Bug:
37073685
Test: make update-api
Test: make
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I8d149ab04d24bf0eb54dd8d8a62e285f9c5b483e
Rebecca Silberstein [Thu, 27 Apr 2017 20:57:19 +0000 (13:57 -0700)]
WifiManager: implement watch LocalOnlyHotspot
Implement new calls to watchLocalOnlyHotspot and
unregisterLocalOnlyHotspotObserver along with the classes
LocalOnlyHotspotObserver and LocalOnlyHotspotSubscription.
Added tests for watching LOHS and cancelling a LOHS subscription.
The calls will be exposed in a later CL.
Bug:
36704763
Test: compiles
Test: frameworks/base/wifi/tests/runtests.sh
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Ia0a528191ae0897742304d8b61e9779ad721a450
Rebecca Silberstein [Sat, 25 Mar 2017 19:40:29 +0000 (12:40 -0700)]
WifiManager: implement start/stopLocalOnlyHotspot
Implement new calls to startLocalOnlyHotspot and
cancelLocalOnlyHotspotRequest along with the classes
LocalOnlyHotspotCallback and LocalOnlyHotspotReservation.
Added tests for starting LOHS and cancelling a LOHS request.
The calls will be exposed in a later CL.
Bug:
36704763
Test: compiles
Test: frameworks/base/wifi/tests/runtests.sh
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: If54a89cb8dfd235bc18ef3e6c89f9d30882136a3
Rebecca Silberstein [Thu, 27 Apr 2017 05:02:30 +0000 (22:02 -0700)]
WifiManager: add LocalOnlyHotspotObserverProxy
Add the proxy for LOHS observer callbacks to make sure we give updates
to calling apps on the correct thread.
This will be used in a follow-on CL.
Bug:
36704763
Test: mmma -j64 frameworks/base/
Change-Id: I20faa73325116426f45d9d8fabc45b279bd5a286
Rebecca Silberstein [Thu, 27 Apr 2017 04:50:04 +0000 (21:50 -0700)]
WifiManager: add LocalOnlyHotspotCallbackProxy
Add the proxy for LOHS callbacks to make sure we give updates to calling
apps on the correct thread.
This will be used in a follow-on CL.
Bug:
36704763
Test: mmma -j64 frameworks/base/
Change-Id: Ib32dfd232ff8aaeb5f7b228cf0cfc3fd23fd7ee4
Rebecca Silberstein [Wed, 26 Apr 2017 23:11:52 +0000 (16:11 -0700)]
WifiManager: add APIs for LOHS
Add the APIs and docs for LocalOnlyHotspot (LOHS). The calls are
not implemented with this CL.
Bug:
36704763
Bug:
37073685
Test: make
Change-Id: Ib7ab287a65091f54abef56feebb4cccd1e15a173
TreeHugger Robot [Sun, 30 Apr 2017 06:50:36 +0000 (06:50 +0000)]
Merge "Restricted Context layout font loading in TextView" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 06:43:07 +0000 (06:43 +0000)]
Merge "Address API council comments" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 04:53:13 +0000 (04:53 +0000)]
Merge "Don't show unset values in AccessPoint toString." into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 04:32:35 +0000 (04:32 +0000)]
Merge "Use ConnectivityService's NETWORK_STACK permission for SoftAp operations" into oc-dev
Dianne Hackborn [Wed, 26 Apr 2017 20:59:47 +0000 (13:59 -0700)]
Work on issue #
36891897: Need to ensure foreground services can't...
...hide themselves
The activity manager now keeps track of all apps that are running
foreground services and builds a notification showing them to the
user. We ensure they are shown to the user for at least 30 seconds
(configurable). If foreground services are executed while the
screen is off, their apps will be shown to the user for at least
30 seconds after the screen turns back on.
While doing this I am also adding a new process state to distinguish
between "important background" stuff that should bypass bg check vs.
ones that don't. By default, these now no longer bypass bg check,
which is really the expected (and documented) behavior. There is a
new bind flag to allow them to bypass bg check, which is currently
only used by the IME.
Also add some new job scheduler commands that will be used to
write new tests cases for jobs timing out.
Bug:
36891897
Test: manual
Change-Id: Ied3f7b56444254513fd776f06b88bc0e54704958
Abodunrinwa Toki [Fri, 28 Apr 2017 18:59:57 +0000 (19:59 +0100)]
TextClassifier: API rename
getTextClassificationResult() -> classifyText()
TextClassificationResult -> TextClassification
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Bug:
37769880
Change-Id: I2d926e89058babf06bcff390bee3a45e965984e8
TreeHugger Robot [Sat, 29 Apr 2017 23:09:36 +0000 (23:09 +0000)]
Merge "Fixed an issue where notifications wouldn't have a channel" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 22:36:56 +0000 (22:36 +0000)]
Merge "Fixing test due to null PiP default bounds." into oc-dev
Yipeng Cao [Sat, 29 Apr 2017 22:34:55 +0000 (22:34 +0000)]
Merge "Fixed the hasCarrierFrequency flag in GnssStatus (part1)" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 21:39:26 +0000 (21:39 +0000)]
Merge "AAPT2: binary parser should be more lenient with files" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 21:04:34 +0000 (21:04 +0000)]
Merge "AAPT2: Fix string escaping" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 20:38:15 +0000 (20:38 +0000)]
Merge changes I446fb6ab,Ife3bbd29 into oc-dev
* changes:
Valid resource IDs may be negative
AAPT2: Workaround for findViewById with package ID > 0x7f
TreeHugger Robot [Sat, 29 Apr 2017 19:49:31 +0000 (19:49 +0000)]
Merge "Add managed profile whitelist to control NotificationListenerServices" into oc-dev
Bill Yi [Sat, 29 Apr 2017 18:16:11 +0000 (11:16 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ie2537dfd9a1079cb527dbb306f6d62c32a4094fd
Auto-generated-cl: translation import
TreeHugger Robot [Sat, 29 Apr 2017 18:14:53 +0000 (18:14 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Sat, 29 Apr 2017 18:11:22 +0000 (11:11 -0700)]
Import translations. DO NOT MERGE
Change-Id: I9a097c492fa434b7b78a62bf639c262154fcdd52
Auto-generated-cl: translation import
Jeff Sharkey [Sat, 29 Apr 2017 17:38:53 +0000 (17:38 +0000)]
Merge "Revert "Treat Telephony as legacy app for now."" into oc-dev
Jeff Sharkey [Sat, 29 Apr 2017 17:33:54 +0000 (17:33 +0000)]
Merge "Experimental features only on debuggable builds." into oc-dev
Jeff Sharkey [Sat, 29 Apr 2017 17:11:35 +0000 (17:11 +0000)]
Merge "API fixes for Companion renaming" into oc-dev
Jeff Sharkey [Sat, 29 Apr 2017 17:04:42 +0000 (17:04 +0000)]
Merge "Rename Companion permissions" into oc-dev
Bill Yi [Sat, 29 Apr 2017 17:01:47 +0000 (10:01 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia06f4c8f73b012dbfd17c0681ea17d7eaa2c3137
Auto-generated-cl: translation import
Bill Yi [Sat, 29 Apr 2017 16:58:01 +0000 (09:58 -0700)]
Import translations. DO NOT MERGE
Change-Id: Id1cf0436e966c1ae73301b64c1e479f55abd078b
Auto-generated-cl: translation import
Bill Yi [Sat, 29 Apr 2017 16:41:24 +0000 (09:41 -0700)]
Import translations. DO NOT MERGE
Change-Id: I67b11b17a2400e4330f1c1d501bf73375fcfa538
Auto-generated-cl: translation import
Jeff Sharkey [Sat, 29 Apr 2017 16:39:32 +0000 (16:39 +0000)]
Merge "Remove FontVariationAxis.InvalidFormatException." into oc-dev
Bill Yi [Sat, 29 Apr 2017 16:25:03 +0000 (09:25 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iafadab9c947745e67c3a904cc0720860952c88ea
Auto-generated-cl: translation import
Makoto Onuki [Sat, 29 Apr 2017 16:19:39 +0000 (16:19 +0000)]
Merge "bringDownServiceLocked() shouldn't complain when mServicesByName..." into oc-dev
Bill Yi [Sat, 29 Apr 2017 16:18:59 +0000 (09:18 -0700)]
Import translations. DO NOT MERGE
Change-Id: I2b2896dce44bf325f7e292e34e7af173c3f33eac
Auto-generated-cl: translation import
Bill Yi [Sat, 29 Apr 2017 16:14:23 +0000 (09:14 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ide7aa30a8cc7c5ecbeb031353dd66e5458c30c8e
Auto-generated-cl: translation import
Bill Yi [Sat, 29 Apr 2017 16:10:27 +0000 (09:10 -0700)]
Import translations. DO NOT MERGE
Change-Id: I1f4af1be4282aab840f38e157cb2b82762010d71
Auto-generated-cl: translation import
TreeHugger Robot [Sat, 29 Apr 2017 15:54:21 +0000 (15:54 +0000)]
Merge "A11y changes for API council" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 14:15:22 +0000 (14:15 +0000)]
Merge "Autogrouped summaries should be muted" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 07:03:50 +0000 (07:03 +0000)]
Merge "Don't try to create user for task snapshot tests" into oc-dev
Jakub Pawlowski [Sat, 29 Apr 2017 06:11:34 +0000 (06:11 +0000)]
Merge "Bluetooth: bluetooth.le API fixes" into oc-dev
Erik Kline [Sat, 29 Apr 2017 04:20:04 +0000 (13:20 +0900)]
Use ConnectivityService's NETWORK_STACK permission for SoftAp operations
Test: as follows
- built
- flashed
- booted
- "runtest frameworks-net" passes
Bug:
37647880
Bug:
37750597
Change-Id: I4fb603b7491013bc13b0c08a785eae6cd37337b9
(cherry picked from commit
256be78f7d00c619cca9ed5a550b04fabd4cc48e)
Philip P. Moltmann [Sat, 29 Apr 2017 05:16:34 +0000 (05:16 +0000)]
Merge "Make autofilled highlight an attribute" into oc-dev
Makoto Onuki [Sat, 29 Apr 2017 05:15:39 +0000 (05:15 +0000)]
Merge "Make sure to update oom-adjustment when a service starts." into oc-dev
Philip P. Moltmann [Sat, 29 Apr 2017 05:14:36 +0000 (05:14 +0000)]
Merge "Add constant for autofill-service-add URL" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 03:06:02 +0000 (03:06 +0000)]
Merge changes I1b2f0726,Iaed2c7e7 into oc-dev
* changes:
Apply proper theme to SaveUi
Prevent clipping of shadow when button is pressed
TreeHugger Robot [Sat, 29 Apr 2017 03:05:25 +0000 (03:05 +0000)]
Merge "API: make "what's the quota?" an operation on the backup data sinks" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 02:48:24 +0000 (02:48 +0000)]
Merge "Throttle location update rate in proximity alert" into oc-dev
Bill Yi [Sat, 29 Apr 2017 01:58:07 +0000 (18:58 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iad522d6efa2a0c3a0cc5d88ac4e61e8515ef2bce
Auto-generated-cl: translation import
Winson Chung [Fri, 28 Apr 2017 00:36:41 +0000 (17:36 -0700)]
Fixing test due to null PiP default bounds.
- Also moving the default bounds call into the pinned stack window
controller
Bug:
37682538
Test: bit FrameworksServicesTests:com.android.server.am.ActivityStackSupervisorTests\#testReplacingTaskInPinnedStack
Change-Id: Id6608d484617ec1a596e608aab649a082b4b1e95
Martijn Coenen [Sat, 29 Apr 2017 00:05:29 +0000 (17:05 -0700)]
Increase max system_server hwbinder threadpool to 5.
system_server hosts HIDL services, but also many different
callback interfaces. Subtle deadlocks can occur if there's
only one HwBinder thread to handle incoming transactions.
Increasing this to 5 threads seems reasonable - we haven't
really seen any performance issues due to this.
The main danger with this change is that not all callback
interfaces may be written in a thread-safe way, but some
quick testing revealed no issues.
Bug:
37531523
Bug:
37509431
Test: builds, Maps/YouTube/Camera/Music/Netflix
Change-Id: I52bff2f2263625c1a33f60b8b27c307c1d31000c
Selim Cinek [Fri, 28 Apr 2017 23:50:41 +0000 (16:50 -0700)]
Fixed an issue where notifications wouldn't have a channel
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java
Change-Id: I44e66fe7c1b1cac816f3ae51bfefca3e0dafb465
Fixes:
37754736
Makoto Onuki [Fri, 28 Apr 2017 23:27:15 +0000 (16:27 -0700)]
bringDownServiceLocked() shouldn't complain when mServicesByName...
doesn't contain the given record, which is what happens when this method
is called by bringUpServiceLocked().
Bug
37746449
Test: bit CtsAppTestCases:ServiceTest
Change-Id: Ie540f634a0a1d2a1f16df382f1ea09a083ffa483
Svet Ganov [Fri, 28 Apr 2017 23:34:02 +0000 (16:34 -0700)]
Address API council comments
bug:
37769694
bug:
37322491
Change-Id: I931cfb5ea5fef1505a97b169125ed2cdaaa3d6ff
Philip P. Moltmann [Fri, 28 Apr 2017 22:28:00 +0000 (15:28 -0700)]
Make autofilled highlight an attribute
Fixes:
37738299
Test: - CtsAutoFillServiceTestCases
- CtsUiRenderingTestCases:.testclasses.AutofillHighlightTests
Change-Id: I6106f7b2e44d18cd8c80c084f25737e43cbc44de
Eugene Susla [Thu, 27 Apr 2017 21:34:59 +0000 (14:34 -0700)]
API fixes for Companion renaming
Test: Ensure renaming still works
Fixes:
37748634
Change-Id: I6a863200b1f12db857c308e3b935b0f27f20c85b
Chris Craik [Fri, 28 Apr 2017 23:03:57 +0000 (23:03 +0000)]
Merge "Revert "Temporarily enable GL validation"" into oc-dev
TreeHugger Robot [Fri, 28 Apr 2017 22:59:55 +0000 (22:59 +0000)]
Merge "Use List instead of array in network logging API." into oc-dev
Jeff Sharkey [Fri, 28 Apr 2017 22:54:34 +0000 (22:54 +0000)]
Merge "Respond to API council feedback." into oc-dev
TreeHugger Robot [Fri, 28 Apr 2017 22:49:21 +0000 (22:49 +0000)]
Merge "Window can only be fully drawn if app window is not relaunching" into oc-dev
Lifu Tang [Fri, 24 Mar 2017 06:48:00 +0000 (23:48 -0700)]
Throttle location update rate in proximity alert
Bug:
36197768
Test: manual
Change-Id: I2427ed7e77e9153c20e7c65e8f861de4c7ffeac6
TreeHugger Robot [Fri, 28 Apr 2017 22:39:46 +0000 (22:39 +0000)]
Merge "Create Instant App cookie dir if it doesn't exist" into oc-dev
Dianne Hackborn [Fri, 28 Apr 2017 22:34:48 +0000 (22:34 +0000)]
Merge "Fix issue #
37324532: API Review: android.content.pm.InstrumentationInfo" into oc-dev
Adam Lesinski [Fri, 28 Apr 2017 22:34:52 +0000 (15:34 -0700)]
AAPT2: binary parser should be more lenient with files
Some APKs have file references that reference files that don't exist.
For now, just be lenient and ignore the files themselves.
Keep the actual reference until such a time as general resource
stripping is implemented.
Bug:
37749644
Test: manual
Change-Id: I773685acf41212405b71b064d64045fb4556dcfc
TreeHugger Robot [Fri, 28 Apr 2017 22:25:46 +0000 (22:25 +0000)]
Merge "Allow Instant Apps to read Settings defined by apps" into oc-dev
Seigo Nonaka [Fri, 28 Apr 2017 19:53:31 +0000 (12:53 -0700)]
Remove FontVariationAxis.InvalidFormatException.
Use IllegalArgumentException instead.
Bug:
37769084
Bug:
37765945
Test: am instrument -w -e class android.widget.cts.TextViewTest
android.widget.cts/android.support.test.runner.AndroidJUnitRunner
Test: am instrument -w -e class android.graphics.cts.TypefaceTest
android.graphics.cts/android.support.test.runner.AndroidJUnitRunner
Test: am instrument -w -e class android.graphics.cts.PaintTest
android.graphics.cts/android.support.test.runner.AndroidJUnitRunner
Test: am instrument -w -e class android.graphics.cts.FontVariationAxisTest
android.graphics.cts/android.support.test.runner.AndroidJUnitRunner
Test: am instrument -w -e class android.text.VariationParserTest
com.android.frameworks.coretests/\
android.support.test.runner.AndroidJUnitRunner
Change-Id: I50b70e3e7e37585c937dcce2416a83353de62a5d
Wale Ogunwale [Fri, 28 Apr 2017 22:11:16 +0000 (15:11 -0700)]
Don't try to create user for task snapshot tests
Seems user creation can fail in test harness some times.
Also, I am not sure there is a need to create a user in this
case when we can just use the user id of the current process.
Also removed SettingBackupTest from @Presubmit since it is still
failing.
Bug:
37684646
Bug:
37682538
Test: SettingsBackupTest
Test: TaskSnapshotPersisterLoaderTest
Change-Id: I523bb576217f7782027741916f9ea14fc6d7fb50
Makoto Onuki [Fri, 28 Apr 2017 22:03:33 +0000 (15:03 -0700)]
Make sure to update oom-adjustment when a service starts.
Fixes
37725592
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l VERBOSE -m CtsAppTestCases -t 'android.app.cts.ActivityManagerProcessStateTest'
Change-Id: I7ef06474dd2f338426601c1c555f8af8d782b538
Phil Weaver [Fri, 28 Apr 2017 21:58:35 +0000 (14:58 -0700)]
A11y changes for API council
Bug:
37749679
Bug:
37747749
Bug:
37737948
Bug:
37718183
Bug:
37720667
Bug:
37724600
Bug:
37708057
Test: Updating unit and cts tests, which still pass.
Change-Id: If28bdf985c4314e8e84dcd6510f406dd4e80dd38
Jakub Pawlowski [Fri, 28 Apr 2017 11:11:26 +0000 (04:11 -0700)]
Bluetooth: bluetooth.le API fixes
Fix minor spelling problems.
Throw IllegalStateException instead of IllegalArgumentException in
build().
Bug:
37532634
Test: none
Change-Id: I73b6f04aec98f5baffb06a363e2a3f71e8cec3c4
(cherry picked from commit
9d4abb5631c7719de8d919e0c37c9aee54354266)
Philip P. Moltmann [Fri, 28 Apr 2017 17:27:45 +0000 (10:27 -0700)]
Apply proper theme to SaveUi
Bug:
37754078
Test: Started SaveUI on angler and marlin. angler was green, marlin was
blue
Change-Id: I1b2f07269d3df3949344672f23329ea735c22a94
Philip P. Moltmann [Fri, 28 Apr 2017 00:19:33 +0000 (17:19 -0700)]
Prevent clipping of shadow when button is pressed
Move padding around so that the shadow can blead into the padding.
Bug:
37754078
Test: Pressed button, took screenshot and checked for clipping
Change-Id: Iaed2c7e7c432061878af410ee270de97764bcadf
Sudheer Shanka [Fri, 28 Apr 2017 21:08:28 +0000 (21:08 +0000)]
Merge "Consider allow-in-power-save-except-idle whitelist while updating rules." into oc-dev
Chris Craik [Fri, 28 Apr 2017 20:34:11 +0000 (13:34 -0700)]
Move ColorSpace#Renderer tests to APCT
Bug:
37779858
Test: adb install -r ${ANDROID_PRODUCT_OUT}/data/app/FrameworksCoreTests/FrameworksCoreTests.apk && adb shell am instrument -w -e class android.graphics.ColorSpaceRendererTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I2888cdc8f4912721fdfcbbe5861f260781d165aa