OSDN Git Service
TreeHugger Robot [Thu, 27 Apr 2017 03:51:29 +0000 (03:51 +0000)]
Merge "Add device ID attestation method to keymaster" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 03:50:47 +0000 (03:50 +0000)]
Merge "Call getAllowedUid on a separate thread" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 03:45:50 +0000 (03:45 +0000)]
Merge "Clarify some IpManager/ApfFilter debugging output." into oc-dev
Svetoslav Ganov [Thu, 27 Apr 2017 03:01:55 +0000 (03:01 +0000)]
Merge "Drop uses-feature requirement for system process" into oc-dev
Daniel Sandler [Thu, 27 Apr 2017 01:23:52 +0000 (01:23 +0000)]
Merge "Avoid ClassCastException in ArrayMap." into oc-dev
Andrii Kulian [Thu, 27 Apr 2017 00:46:05 +0000 (00:46 +0000)]
Merge "Check only task's override config for adjusting bounds" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 00:33:16 +0000 (00:33 +0000)]
Merge "Temporary tracking of JobStatus unprepare" into oc-dev
Winson Chung [Wed, 26 Apr 2017 21:02:13 +0000 (14:02 -0700)]
Fixing issue with lingering dismiss PiP overlay.
- Always try and remove the dismiss overlay when animating touch ends, or
if the input consumer is unregistered to handle cases where the
interaction is interrupted by the pip animation.
Bug:
37309693
Test: Intermittent, enter pip and try to tap and then tap-drag the PIP
Change-Id: I05f360f1d9d264590725e13eb2cc9254a3f21eef
Winson Chung [Wed, 26 Apr 2017 15:46:24 +0000 (08:46 -0700)]
Fix issue with dismiss scrim not spanning full screen
Bug:
37309741
Test: Launch PIP activity, go to landscape, drag and ensure dismiss
overlay spans fullscreen
Change-Id: I449c9f2bdaf01357ebdb652665e884c1ada5ea46
Winson Chung [Tue, 25 Apr 2017 21:43:10 +0000 (14:43 -0700)]
Prevent IME adjustment for stacks not affected by docked stack resizing
Bug:
37358175
Test: Resize docked stack while PIP is up
Change-Id: I4f057f6671e8c164624359bf3532f9a22fdf768e
Winson Chung [Tue, 25 Apr 2017 18:00:48 +0000 (11:00 -0700)]
Updating PiP API and documentation.
- Renaming PictureInPictureArgs to PictureInPictureParams, making it
immutable and built with a builder class. In addition, making the
aspect ratio rational.
- Moving the check to get max number of actions to the activity to have
more flexibility going forward
- Also ensures that enterPictureInPictureMode() returns true if the
activity is already in PiP mode.
- Will follow up with CL to remove PictureInPictureArgs and related methods
once this CL drops
Bug:
35765211
Bug:
37638323
Bug:
37637423
Bug:
37636674
Bug:
36342780
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: android.app.cts.PictureInPictureParamsBuilderTest
Change-Id: I54a487d55a59c9ce8ac7bd6c80c61209c8b26224
Signed-off-by: Winson Chung <winsonc@google.com>
Felipe Leme [Wed, 26 Apr 2017 23:46:16 +0000 (23:46 +0000)]
Merge "Provide support for optimized ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev
Makoto Onuki [Wed, 26 Apr 2017 23:33:56 +0000 (23:33 +0000)]
Merge "Enhance DeviceAdminService javadoc and remove TODO." into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 23:26:43 +0000 (23:26 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 23:25:49 +0000 (23:25 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 23:24:27 +0000 (23:24 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Seigo Nonaka [Wed, 26 Apr 2017 23:19:51 +0000 (23:19 +0000)]
Merge "Font API clean up" into oc-dev
Makoto Onuki [Wed, 26 Apr 2017 23:18:43 +0000 (23:18 +0000)]
Merge "Only show progress log every 10%" into oc-dev
Christopher Tate [Wed, 26 Apr 2017 22:41:37 +0000 (15:41 -0700)]
Temporary tracking of JobStatus unprepare
For help diagnosing bug
37209909
Test: manual
Change-Id: If93ee0d25f462d5c8e954d3d7cbdc280b5d18c7e
Conrad Chen [Wed, 26 Apr 2017 21:47:55 +0000 (21:47 +0000)]
Merge "TIF: fix javadoc of recorded programs" into oc-dev
Rob Carr [Wed, 26 Apr 2017 21:43:51 +0000 (21:43 +0000)]
Merge "More targeted version of "Correct animation glitch for pinned stack."" into oc-dev
Rob Carr [Wed, 26 Apr 2017 21:43:25 +0000 (21:43 +0000)]
Merge "Fix logspam NPE." into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 21:28:23 +0000 (21:28 +0000)]
Merge "Fix BackupSettingsTest (update blacklists)" into oc-dev
Android Build Merger (Role) [Wed, 26 Apr 2017 21:07:59 +0000 (21:07 +0000)]
Merge "DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This is to avoid API Level 25 CTS issues. am:
31add96517 am:
a701205315 -s ours" into oc-dev
Alison Cichowlas [Wed, 26 Apr 2017 21:07:49 +0000 (21:07 +0000)]
Merge "Use uptimeMillis instead of currentTimeMillis for interval calculation." into oc-dev
Julius D'souza [Wed, 26 Apr 2017 21:06:55 +0000 (21:06 +0000)]
DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This is to avoid API Level 25 CTS issues. am:
31add96517
am:
a701205315 -s ours
Change-Id: I001aea36b99da8cf3c209fb3c5c316200b0d08a2
Julius D'souza [Wed, 26 Apr 2017 20:54:04 +0000 (20:54 +0000)]
DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This is to avoid API Level 25 CTS issues. am:
31add96517
am:
a701205315 -s ours
Change-Id: I2c67e135cfa5d423acd322d1a797222c7018bb2f
TreeHugger Robot [Wed, 26 Apr 2017 20:51:57 +0000 (20:51 +0000)]
Merge "Add ability to fling to dismiss PIP from anywhere" into oc-dev
Julius D'souza [Wed, 26 Apr 2017 20:47:26 +0000 (20:47 +0000)]
DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This is to avoid API Level 25 CTS issues.
am:
31add96517
Change-Id: Id12dd73ed18fee0b874af364bad954d39384287f
Hyungtae Kim [Wed, 26 Apr 2017 20:05:14 +0000 (20:05 +0000)]
Merge "MediaFrameworkTest: compare media type only for supported media check" into oc-dev
Hall Liu [Wed, 26 Apr 2017 20:04:26 +0000 (20:04 +0000)]
Merge "Remove default public ctor from RttModifyStatus" into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 19:44:16 +0000 (19:44 +0000)]
Merge "Gather shared libs for split apks based on dependencies." into oc-dev
Robert Carr [Tue, 25 Apr 2017 21:46:50 +0000 (14:46 -0700)]
More targeted version of "Correct animation glitch for pinned stack."
See the referenced CL "Correct animation glitch" for an explanation of
why an exception in this area is required. That CL based the exception
off the dummy animation state, however it seems we also enter this
state in various docked transitions but in that case the dummy animation
will have the incorrect transforms referenced by the original comment.
Now we target the fix on the bounds animating state instead.
Bug:
37448295
Bug:
36777039
Bug:
37511473
Test: Dock app from recents, no stretching. Auto-pip app, doesn't get stuck in top-left. Yay!
Change-Id: I5c9a7384622de9cedcc4be4dec7caacf58c683eb
Michal Karpinski [Wed, 26 Apr 2017 18:25:25 +0000 (19:25 +0100)]
Fix BackupSettingsTest (update blacklists)
Adjust blacklists to add new Settings that are not backed up.
I don't personally think any of them are candidates for being backed up.
Remove AUTOFILL_SERVICE from blacklist since it's now being backed up.
Bug:
37684646
Test: mmma -j40 frameworks/base/core/tests/coretests, then
adb install -r ${ANDROID_PRODUCT_OUT}/data/app/FrameworksCoreTests/FrameworksCoreTests.apk, then
adb shell am instrument -w -e class android.provider.SettingsBackupTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: Iab8879b28289094f210c7612cc6ad1be3ca9a81c
Felipe Leme [Tue, 25 Apr 2017 22:54:06 +0000 (15:54 -0700)]
Provide support for optimized ACTION_REQUEST_SET_AUTOFILL_SERVICE.
Also removed obsolete 'cmd autofill save'
Bug:
2153814
Test: manual verification
Change-Id: I082e6bb098e9be5d9e26d0941efcf6f28ab01e1d
Makoto Onuki [Wed, 26 Apr 2017 18:42:14 +0000 (11:42 -0700)]
Enhance DeviceAdminService javadoc and remove TODO.
Test: Javadoc only
Bug:
37706621
Change-Id: Iac09675ca923adf40aef8f1871ddd0de797d4a08
Andrii Kulian [Wed, 26 Apr 2017 18:07:52 +0000 (11:07 -0700)]
Check only task's override config for adjusting bounds
We're only using task override when setting bounds, so no need
to update if merged override config is non-empty but task override
is empty.
Bug:
37648662
Test: Existing tests still pass
Change-Id: I73fd91983bf562dc888081b2a3d590b629aad255
Felipe Leme [Wed, 26 Apr 2017 18:38:12 +0000 (18:38 +0000)]
Merge "Provide a way to set AutofillId on ViewStructure." into oc-dev
Sundeep Ghuman [Wed, 26 Apr 2017 18:32:42 +0000 (18:32 +0000)]
Merge changes from topic 'wifitracker' into oc-dev
* changes:
Use synchronization rather than locking in WifiTracker.
Remove all pending callbacks in stopTracking.
Dan Sandler [Fri, 14 Apr 2017 00:21:12 +0000 (20:21 -0400)]
Avoid ClassCastException in ArrayMap.
Only happens if you're put()ing and clear()ing the map from
different threads, and Dianne told you not to do that.
In addition to avoiding the cache poisoning that results
from concurrent access, ArrayMap now attempts to throw
ConcurrentModificationException if clear() or
ensureCapacity() or put() notices you've modified the map
elsewhere.
Bug:
32994281
Test: runtest -x frameworks/base/core/tests/coretests/src/android/util/ArrayMapTest.java
runtest -x cts/tests/tests/util/src/android/util/cts/ArrayMapTest.java
Change-Id: Ia75970aa9e2b2b65692179f51243584b9773797f
Julius D'souza [Wed, 26 Apr 2017 18:14:00 +0000 (11:14 -0700)]
DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.*
This is to avoid API Level 25 CTS issues.
Bug:
37646165
Change-Id: I1fec4dc0b7497eb3dafb9c2f704bb02b8ecde1a9
Nathan Harold [Wed, 26 Apr 2017 18:02:49 +0000 (18:02 +0000)]
Merge "Hide IpSecManager, IpSecTransform, and IpSecAlgorithm" into oc-dev
Seigo Nonaka [Wed, 26 Apr 2017 16:53:38 +0000 (09:53 -0700)]
Font API clean up
- Move FontRequest from android.graphics.fonts to android.provider since
this is only used by android.provider.FontsContract and never draw
anything.
- FontRequest is no longer being Parcelable.
- Remove FontSpec.aidl which is not necessary.
Bug:
37326126
Test: am instrument -w -e class android.provider.FontsContractTest
com.android.frameworks.coretests/\
android.support.test.runner.AndroidJUnitRunner
Test: am instrument -w -e class android.provider.cts.FontProviderTest
android.provider.cts/android.support.test.runner.AndroidJUnitRunner
Test: am instrument -w -e class android.provider.cts.FontRequestTest
android.provider.cts/android.support.test.runner.AndroidJUnitRunner
Change-Id: I0eb501844247c2f07eaa1fc7a71f72e404888b5b
Seigo Nonaka [Wed, 26 Apr 2017 17:49:53 +0000 (17:49 +0000)]
Merge "Load font file from remote provider synchronously." into oc-dev
Seigo Nonaka [Wed, 26 Apr 2017 17:48:35 +0000 (17:48 +0000)]
Merge "Update FontsContract.requestFonts" into oc-dev
Julia Reynolds [Wed, 26 Apr 2017 17:43:26 +0000 (17:43 +0000)]
Merge "Update app level fields when misc channel is updated" into oc-dev
Wonsik Kim [Fri, 21 Apr 2017 23:07:34 +0000 (16:07 -0700)]
MediaFrameworkTest: compare media type only for supported media check
This is a CL to fix media test that is needed to
ensure the local media playback works.
This doesn't affect any OC feature.
Bug:
36699113
Test: adb shell am instrument -w -r -e class com.android.mediaframeworktest.stress.MediaPlayerStressTest com.android.mediaframeworktest/.MediaPlayerStressTestRunner
Change-Id: If1200e7f9a8c734b07f3f2a0420b3942920c948b
(cherry picked from commit
09fc83c8f820e231056141ecaeb54cffb334663e)
Alison Cichowlas [Tue, 25 Apr 2017 22:04:40 +0000 (18:04 -0400)]
Use uptimeMillis instead of currentTimeMillis for interval calculation.
uptime is guaranteed monotonic; currentTime may go backwards in the event
of NTP updates or other wackiness.
Test: manual sanity check of logs; android.support.test.metricshelper.MetricsAssertsTest passes
Bug:
37538546,
18584861
Change-Id: I222b20be9d561e1184b11155fe44c574d90872a5
Svetoslav Ganov [Tue, 25 Apr 2017 01:11:27 +0000 (18:11 -0700)]
Get rid of custom negaitve save button label
Removed the ability for an autofill provider to set
a custom string for the negative button. Also make
the old hidden APIs non-abstract to avoid runime
crashes for unimplemented methods.
Test: CtsAutoFillServiceTestCases pass
bug:
37649790
Change-Id: If776d26de48382eeb064bdead5d4d5fdb0ff2e7e
Adrian Roos [Wed, 26 Apr 2017 16:43:50 +0000 (16:43 +0000)]
Merge "AOD: Fix layout" into oc-dev
Adrian Roos [Wed, 26 Apr 2017 16:43:30 +0000 (16:43 +0000)]
Merge "AOD: Remove wake up fully config flag" into oc-dev
Adrian Roos [Wed, 26 Apr 2017 16:43:19 +0000 (16:43 +0000)]
Merge "AOD: Limit visible icons on shelf" into oc-dev
Dongwon Kang [Wed, 26 Apr 2017 16:22:08 +0000 (16:22 +0000)]
Merge "TIF: fix documentation in TvContract" into oc-dev
Bartosz Fabianowski [Mon, 24 Apr 2017 11:57:46 +0000 (13:57 +0200)]
Add device ID attestation method to keymaster
Device ID attestation consists of three steps:
* Generate a temporary key
* Attest the key and desired device IDs
* Delete the temporary key
Rather than being spread over three keymaster APIs, these operations
should happen automatically in a single keymaster method.
Bug:
34734938
Test: GTS com.google.android.gts.security.DeviceIdAttestationHostTest
Change-Id: Ifabb5163b9e4d12cb309a6b0ca8e5f2f92d212f4
Jean-Michel Trivi [Wed, 26 Apr 2017 15:26:59 +0000 (15:26 +0000)]
Merge "Audio focus enforcement: duck automatically apps for SDK O+" into oc-dev
Philip P. Moltmann [Wed, 26 Apr 2017 14:16:46 +0000 (14:16 +0000)]
Merge changes from topics 'AutofillContext2', 'AutofillContext' into oc-dev
* changes:
Return all previous FillContexts onFill
Report multiple FillContext-s onSave
Wale Ogunwale [Wed, 26 Apr 2017 12:35:08 +0000 (12:35 +0000)]
Merge "Reduce use of static variables in window manager unit tests" into oc-dev
Michal Karpinski [Wed, 26 Apr 2017 09:44:49 +0000 (09:44 +0000)]
Merge "Offload the mRunningFullBackupTask.handleCancel() call from the main thread to another thread" into oc-dev
Bill Yi [Wed, 26 Apr 2017 08:55:05 +0000 (01:55 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iccb67d7bfc8c34b3e6d4e0c4736ec38c0166c1ae
Auto-generated-cl: translation import
Erik Kline [Fri, 21 Apr 2017 08:56:55 +0000 (17:56 +0900)]
Clarify some IpManager/ApfFilter debugging output.
Test: as follows
- built
- flashed
- booted
- "runtest frameworks-net" passes
- "adb shell dumpsys wifi ipmanager" shows updated output
Bug:
34793131
Change-Id: I6dec135b97343943efb421ef7b2e84c4751dd5ea
(cherry picked from commit
af579eb5b516296a8ec0b02d824f2ba646e60ca2)
Jakub Pawlowski [Wed, 26 Apr 2017 08:16:48 +0000 (08:16 +0000)]
Merge changes I8f5a756a,I2bac468f,I043dfefa,I2c55f96e into oc-dev
* changes:
Bluetooth: expand comments on new PHY constants
Bluetooth: document status value in PHY read/update
Bluetooth: Add handler parameter to connectGatt
Get rid of the IAdvertiserCallabck
Bill Yi [Wed, 26 Apr 2017 07:16:24 +0000 (00:16 -0700)]
Import translations. DO NOT MERGE
Change-Id: I33675c43783b79bf3492b795e2de8b64f07faf5b
Auto-generated-cl: translation import
Joe Fernandez [Wed, 26 Apr 2017 04:56:06 +0000 (04:56 +0000)]
Merge "docs: Update ListView JavaDoc comments" into oc-dev
Joe Fernandez [Wed, 26 Apr 2017 04:55:33 +0000 (04:55 +0000)]
Merge "docs: Update ArrayAdapter JavaDoc comments" into oc-dev
Seigo Nonaka [Wed, 26 Apr 2017 04:06:37 +0000 (21:06 -0700)]
Load font file from remote provider synchronously.
Since CancellationSignal is not guaranteed to be handled by remote
process, introduce threaded font loading mechanism.
At the same time, this fixes possible NPE issue in openFont.
Bug:
37552479
Test: am instrument -w -e class android.provider.FontsContractE2ETest
com.android.frameworks.coretests/\
android.support.test.runner.AndroidJUnitRunner
Change-Id: Ie235c5a57bd172b0882da5aa27a990d7c6686ff2
Wale Ogunwale [Wed, 26 Apr 2017 03:29:13 +0000 (20:29 -0700)]
Reduce use of static variables in window manager unit tests
This was causing test cross-contamination since different test might
expect different states from the variables.
Bug:
37682538
Test: tons of it!
Change-Id: Ie8a1ea400695b6346d7dfa3369b5c44bb467a33d
Seigo Nonaka [Wed, 26 Apr 2017 02:39:23 +0000 (19:39 -0700)]
Update FontsContract.requestFonts
- Change FontsContract.requestFont plural form to meet other method
naming convension.
- Change FontsContract.requestFonts to accept CancellationSignal to
be able to notify to remote.
Bug:
37326126
Test: am instrument -w -e class android.provider.FontsContractE2ETest
com.android.frameworks.coretests/\
android.support.test.runner.AndroidJUnitRunner
Change-Id: I154f943eb4e7c91bff8afd86be479f72e66e5cb7
Felipe Leme [Wed, 26 Apr 2017 02:56:04 +0000 (02:56 +0000)]
Merge "Added missing importantForAutofill values on attributes." into oc-dev
Svetoslav Ganov [Tue, 25 Apr 2017 22:26:03 +0000 (15:26 -0700)]
Make sure autofill service is backed up
Test: manual
bug:
36638606
Change-Id: I3367b9eb40a542267fb5d49f9a8bb7aa97ca57fa
TreeHugger Robot [Wed, 26 Apr 2017 00:27:53 +0000 (00:27 +0000)]
Merge "TIF: remove c-tor for WatchNextProgram" into oc-dev
Nathan Harold [Tue, 25 Apr 2017 21:21:52 +0000 (14:21 -0700)]
Hide IpSecManager, IpSecTransform, and IpSecAlgorithm
These classes, originally planned to be part of the
public API, are not ready for public consumption.
They are planned to be un-hidden in a future release.
Bug:
37681043
Test: make update-api and make
Merged-In: I8caccd3f8455341cb56a2256354eacbadedff047
Change-Id: I8caccd3f8455341cb56a2256354eacbadedff047
(cherry picked from commit
e38565fc74ee19e27175782be3cf2f0dffefd3a6)
TreeHugger Robot [Tue, 25 Apr 2017 23:50:17 +0000 (23:50 +0000)]
Merge "Add concept of implicitly exposed components" into oc-dev
Philip P. Moltmann [Tue, 25 Apr 2017 20:33:41 +0000 (13:33 -0700)]
Return all previous FillContexts onFill
Test: CtsAutoFillServiceTestCases
Fixes:
37673341
Change-Id: I80feb5bd8d6027fb4ec2dd32f5c486dae7c6bc4c
Wale Ogunwale [Tue, 25 Apr 2017 23:47:53 +0000 (23:47 +0000)]
Merge "Remove @Presubmit annotation from SettingBackupTest" into oc-dev
Adrian Roos [Tue, 25 Apr 2017 23:46:49 +0000 (16:46 -0700)]
AOD: Limit visible icons on shelf
Only show up to 5 icons on AOD1.
Change-Id: I7d962ef2a4eb5e47ab35a8bdc8f133fddfb1fd84
Test: Have more than 5 notifications, trigger ambient display, observe that at most 5 icons are visible and the rest is collapsed to dots
Fixes:
37641322
Wale Ogunwale [Tue, 25 Apr 2017 23:43:53 +0000 (16:43 -0700)]
Remove @Presubmit annotation from SettingBackupTest
Can be added back once the tests are fixed.
Bug:
37684646
Bug:
37682538
Test: This is it!
Change-Id: I3690bf91bf371a7ab6a477312a138c205cceee1c
TreeHugger Robot [Tue, 25 Apr 2017 23:32:07 +0000 (23:32 +0000)]
Merge "Fix include" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 23:18:19 +0000 (23:18 +0000)]
Merge "Return correct value at initDataInjection and avoid crash" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 23:15:47 +0000 (23:15 +0000)]
Merge "Fix ViewOverlay#onDescendantInvalidated" into oc-dev
Adrian Roos [Tue, 25 Apr 2017 23:09:27 +0000 (16:09 -0700)]
AOD: Fix layout
Top had too much padding, while bottom had too
little. Now looking as spec'd.
Bug:
30876804
Test: Trigger Ambient Display, observe that layout matches mocks.
Change-Id: I3ef5e7fba5ca3fbb1b6e800ed11cbe9885c1830e
TreeHugger Robot [Tue, 25 Apr 2017 22:42:02 +0000 (22:42 +0000)]
Merge "DeviceAdminService must be protected with BIND_DEVICE_ADMIN." into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 22:38:49 +0000 (22:38 +0000)]
Merge "Ensuring that isPictureInPictureMode() mirrors dispatched mode." into oc-dev
Felipe Leme [Tue, 25 Apr 2017 22:26:46 +0000 (15:26 -0700)]
Added missing importantForAutofill values on attributes.
Fixes:
37677115
Test: manual verification compiling an app using it
Change-Id: Iaa2650c7354e8c1c476cb3803d40104ae6fc864a
Jean-Michel Trivi [Tue, 25 Apr 2017 22:23:17 +0000 (15:23 -0700)]
Audio focus enforcement: duck automatically apps for SDK O+
Enforce automatic ducking only for apps written for an SDK target
level above 25 (N-MR1)
Test: play notification while Podcast Addict is playing, verify it pauses instead of being ducked
Bug:
37506138
Change-Id: Id7e01a92a51308bd7a3f24abc417d2434b532c12
Philip P. Moltmann [Tue, 25 Apr 2017 18:57:37 +0000 (11:57 -0700)]
Report multiple FillContext-s onSave
To make life easier the reponseId is not part of the FillResponse.
Test: CtsAutofillServiceTestCases (added test for multiple Contexts)
Change-Id: If09e00b7267d293e4234a7a9837ad88d73af1b24
Fixes:
36481649
Bill Yi [Tue, 25 Apr 2017 22:16:05 +0000 (15:16 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia4d39566310b4a0fc3f383290d39eddd0a52b267
Auto-generated-cl: translation import
TreeHugger Robot [Tue, 25 Apr 2017 22:11:43 +0000 (22:11 +0000)]
Merge "Camera: Update docs for new auto-generation features" into oc-dev
Jeff Sharkey [Tue, 25 Apr 2017 22:10:56 +0000 (22:10 +0000)]
Merge "Fix some issues found by new doclava linter." into oc-dev
Seigo Nonaka [Tue, 25 Apr 2017 21:40:35 +0000 (21:40 +0000)]
Merge "Font provider cleaning ups." into oc-dev
Adrian Roos [Tue, 25 Apr 2017 21:28:38 +0000 (14:28 -0700)]
AOD: Remove wake up fully config flag
Fixes:
37270258
Test: Double tap, make sure device does not wake up to lockscreen, only to ambient display
Change-Id: Iaf0c3bfb5dcf566adae7f37b51c866d92bce7a1d
TreeHugger Robot [Tue, 25 Apr 2017 21:26:09 +0000 (21:26 +0000)]
Merge "Remove underscore from Companion service name" into oc-dev
Fyodor Kupolov [Tue, 25 Apr 2017 21:19:31 +0000 (14:19 -0700)]
Call getAllowedUid on a separate thread
Test: manual
Bug:
37673384
Change-Id: If7480a8cd3fd1ccb5b7179b613a124db010efa8e
Felipe Leme [Tue, 25 Apr 2017 17:21:45 +0000 (10:21 -0700)]
Provide a way to set AutofillId on ViewStructure.
So far that was done indirectly by public methods that could
be overridden in away that does not set the proper id in the structure,
which would crash apps.
Bug:
36171235
Test: modified VirtualContainerActivityTest#testAutofillOverrideDispatchprovideAutofillStructure
Change-Id: I3f1c64020125cbb8349971a0bc52ccd1e0c81e62
TreeHugger Robot [Tue, 25 Apr 2017 21:07:48 +0000 (21:07 +0000)]
Merge "Add tests for iconSpaceReserved attribute in Preference" into oc-dev
Adrian Roos [Tue, 25 Apr 2017 21:07:16 +0000 (21:07 +0000)]
Merge "ImmersiveCling: Allow interacting with underlying view" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 20:58:33 +0000 (20:58 +0000)]
Merge "Switch ActivityRecord last reported config. to MergeConfiguration" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 20:49:38 +0000 (20:49 +0000)]
Merge "Reorder USB_STATE updates so config_changed is not replaced." into oc-dev
Rob Carr [Tue, 25 Apr 2017 20:44:17 +0000 (20:44 +0000)]
Merge "WindowManager: Take care with Surface lifetime during relayout to invisible." into oc-dev
Chris Craik [Tue, 25 Apr 2017 20:41:32 +0000 (13:41 -0700)]
Fix include
Bug:
35387665
Test: builds with HWUI_ENABLE_OPENGL_VALIDATION := false
Dependency on gl3.h was added while that header was auto-included for
error checking purposes. Add the include to enable us to disable gl
error checking.
Change-Id: Ic969da716e2323f8e42d20da8fd0a6fa653f9775
TreeHugger Robot [Tue, 25 Apr 2017 20:36:53 +0000 (20:36 +0000)]
Merge "Fixed issue with turn-screen-on activities" into oc-dev