OSDN Git Service

android-x86/frameworks-base.git
7 years agoRemove 'via Bluetooth' from the choosed dialog
Eugene Susla [Tue, 18 Apr 2017 19:43:15 +0000 (12:43 -0700)]
Remove 'via Bluetooth' from the choosed dialog

We no longer limit the items in a single chooser dialog to a devices from
single medium type.

Test: Ensure the dialog UI reflects the change.
Change-Id: Ia2342861f51f89e870f1c6a7fbebf9c1a37cac6a

7 years agoMerge "AudioService: make PlaybackActivityMonitor less log-chatty" into oc-dev
Jean-Michel Trivi [Mon, 24 Apr 2017 23:39:41 +0000 (23:39 +0000)]
Merge "AudioService: make PlaybackActivityMonitor less log-chatty" into oc-dev

7 years agoMerge changes I7d2b7e50,I784406a6 into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 23:26:01 +0000 (23:26 +0000)]
Merge changes I7d2b7e50,I784406a6 into oc-dev

* changes:
  AAPT2: Allow truncating of package names
  AAPT2: Make BinaryResourceParser more lenient

7 years agoMerge "Minor fixes on Autofill Framework:" into oc-dev
Felipe Leme [Mon, 24 Apr 2017 23:10:48 +0000 (23:10 +0000)]
Merge "Minor fixes on Autofill Framework:" into oc-dev

7 years agoMinor fixes on Autofill Framework:
Felipe Leme [Fri, 21 Apr 2017 15:56:04 +0000 (08:56 -0700)]
Minor fixes on Autofill Framework:

- Removed default implementation of onProvideAutofillVirtualStructure() that
  was using accessibility API (it's useless because without the View calling
  AutofillManager.notifyViewEntered(), it would never be triggered).
- Fixed obsolete TODOs.
- Removed obsolete service class name constant.
- Removed unused debug constant.

Fixes: 37078783
Fixes: 33197203
Bug: 33802548
Bug: 35956626

Test: CtsAutoFillServiceTestCases pass
Merged-In: I834d34b8af8bf0d781dc7e0ffcd6e600bfa2d183
Change-Id: I834d34b8af8bf0d781dc7e0ffcd6e600bfa2d183

7 years agoMerge "[AWARE] Remove match style API" into oc-dev
Etan Cohen [Mon, 24 Apr 2017 22:59:17 +0000 (22:59 +0000)]
Merge "[AWARE] Remove match style API" into oc-dev

7 years agoMerge "Fix re-enabling alert window appop after leaving VR mode." into oc-dev
Ruben Brunk [Mon, 24 Apr 2017 22:49:07 +0000 (22:49 +0000)]
Merge "Fix re-enabling alert window appop after leaving VR mode." into oc-dev

7 years agoMerge "camera: Update for enableZsl values in template" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 22:36:50 +0000 (22:36 +0000)]
Merge "camera: Update for enableZsl values in template" into oc-dev

7 years agoMerge "Bunch of new API lint rules." into oc-dev
Jeff Sharkey [Mon, 24 Apr 2017 22:18:51 +0000 (22:18 +0000)]
Merge "Bunch of new API lint rules." into oc-dev

7 years agoMerge "Fixed transition animation from pipable activities" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 21:46:28 +0000 (21:46 +0000)]
Merge "Fixed transition animation from pipable activities" into oc-dev

7 years agoMerge changes from topic 'virtual-display-api' into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 21:33:55 +0000 (21:33 +0000)]
Merge changes from topic 'virtual-display-api' into oc-dev

* changes:
  Add command line option to set compatibility display properties
  Make VR mode virtual display properties customizable

7 years agoMerge "Even more auto-doc work." into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 21:33:13 +0000 (21:33 +0000)]
Merge "Even more auto-doc work." into oc-dev

7 years agoMerge "Moved LRResolverRankerService to ExtServices, and added a permission to ensure...
Kang Li [Mon, 24 Apr 2017 21:21:34 +0000 (21:21 +0000)]
Merge "Moved LRResolverRankerService to ExtServices, and added a permission to ensure that ResolverRankerServices are from trust sources." into oc-dev

7 years agoMerge "Don't allow devs to create blocked channels" into oc-dev
Julia Reynolds [Mon, 24 Apr 2017 21:17:12 +0000 (21:17 +0000)]
Merge "Don't allow devs to create blocked channels" into oc-dev

7 years agoMerge "Don't consider uri empty a valid sound" into oc-dev
Julia Reynolds [Mon, 24 Apr 2017 21:16:57 +0000 (21:16 +0000)]
Merge "Don't consider uri empty a valid sound" into oc-dev

7 years agoAudioService: make PlaybackActivityMonitor less log-chatty
Jean-Michel Trivi [Mon, 24 Apr 2017 18:59:29 +0000 (11:59 -0700)]
AudioService: make PlaybackActivityMonitor less log-chatty

Do not log error messages on release errors.
Do not try to terminate VolumeShaper when releasing a player.
Use coding convention for "private" and "static" keywords.

Test: make
Change-Id: Ic1ff376c1ce4750708c368756f7b4a8a2c05c50c

7 years agoMerge "Clean up ImageReader when VrMode is disabled." into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 21:01:00 +0000 (21:01 +0000)]
Merge "Clean up ImageReader when VrMode is disabled." into oc-dev

7 years agoMerge "Replaced getUrl() by getWebDomain()." into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 20:45:54 +0000 (20:45 +0000)]
Merge "Replaced getUrl() by getWebDomain()." into oc-dev

7 years agoMerge "Change companion languare from 'pair' to 'link'/'ok'" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 20:31:03 +0000 (20:31 +0000)]
Merge "Change companion languare from 'pair' to 'link'/'ok'" into oc-dev

7 years agoMerge "Add link to class with constants" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 20:28:55 +0000 (20:28 +0000)]
Merge "Add link to class with constants" into oc-dev

7 years agoMerge "Prevent leak of AppWindowTokens." into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 20:24:16 +0000 (20:24 +0000)]
Merge "Prevent leak of AppWindowTokens." into oc-dev

7 years agoEven more auto-doc work.
Jeff Sharkey [Mon, 24 Apr 2017 17:18:03 +0000 (11:18 -0600)]
Even more auto-doc work.

Update docs based on what new lint detector found.  Add new @IntDef
to parameters or methods returning constants or flags, and add
@RequiresPermission to methods mentioning permissions.

Test: make -j32 offline-sdk-docs
Bug: 37526420
Change-Id: I7f640f7883fcb66b911a52ae93b83f77306571ec

7 years agoFix re-enabling alert window appop after leaving VR mode.
Ruben Brunk [Mon, 24 Apr 2017 19:07:17 +0000 (12:07 -0700)]
Fix re-enabling alert window appop after leaving VR mode.

Bug: 37526753
Test: Check that system alert windows appear after leaving VR mode.

Change-Id: I2942b2e2bd30308752367963b7ae896462811d2f

7 years agoFixed transition animation from pipable activities
Wale Ogunwale [Mon, 24 Apr 2017 01:39:45 +0000 (18:39 -0700)]
Fixed transition animation from pipable activities

- Defer telling the client it is hidden if it can enter Pip and isn't
current stopped or stopping. This gives it a chance to enter Pip in
onPause().
- Once pause is complete set the visiblity to false to stop deferring
hiding client.
- Don't allow FLAG_RESUME_WHILE_PAUSING activity to resume until the
currently resumed activity is puased if the currently resumed activity
can enter Pip.
- Detach child surfaces added by the client process in
WindowState.sendAppVisibilityToClients() right before we notify the
client.

Test: manual
Change-Id: I3848f2b93f4f1d3ceec5a1ccd2e127c614f70fe4
Fixes: 37370508
Fixes: 37622341

7 years agoMerge "Check bluetooth app id instead of uid" into oc-dev
Amith Yamasani [Mon, 24 Apr 2017 19:04:49 +0000 (19:04 +0000)]
Merge "Check bluetooth app id instead of uid" into oc-dev

7 years agoCheck bluetooth app id instead of uid
Amith Yamasani [Mon, 24 Apr 2017 18:30:19 +0000 (11:30 -0700)]
Check bluetooth app id instead of uid

Fixes the crash on user switches.

Change-Id: If0c003011bd014b437ef5c8bee24a27b68be88d9
Fixes: 37617840
Test: manual - add a user

7 years agoAdd link to class with constants
Amith Yamasani [Mon, 24 Apr 2017 18:00:05 +0000 (11:00 -0700)]
Add link to class with constants

Addresses api-council feedback

Change-Id: I2dcd526a266a2320b34c714fd91fb4a83d382d9c
Fixes: 37536012
Test: make update-api

7 years agoMerge "Wifi Metrics STA event list" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 17:57:26 +0000 (17:57 +0000)]
Merge "Wifi Metrics STA event list" into oc-dev

7 years agoMerge "Update USSD API docs per API review comments." into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 17:34:35 +0000 (17:34 +0000)]
Merge "Update USSD API docs per API review comments." into oc-dev

7 years agoMerge "Validates Intrinsic Blur only takes 2D Allocations" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 17:29:30 +0000 (17:29 +0000)]
Merge "Validates Intrinsic Blur only takes 2D Allocations" into oc-dev

7 years agoMerge "Whitelist PHONE_STATE to wakeup apps" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 16:52:47 +0000 (16:52 +0000)]
Merge "Whitelist PHONE_STATE to wakeup apps" into oc-dev

7 years agoReplaced getUrl() by getWebDomain().
Felipe Leme [Fri, 21 Apr 2017 23:47:18 +0000 (16:47 -0700)]
Replaced getUrl() by getWebDomain().

Bug: 37566507
Test: CtsAssistTestCases pass

Change-Id: I1b4dfa7259040b3b8bf1014ebb806eb7a3b36c58

7 years agoMerge "Hide secondary text for Default channel if not blocked" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 16:18:32 +0000 (16:18 +0000)]
Merge "Hide secondary text for Default channel if not blocked" into oc-dev

7 years agoMerge "Fix ChangeClipBounds to set final clip to null." into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 16:14:11 +0000 (16:14 +0000)]
Merge "Fix ChangeClipBounds to set final clip to null." into oc-dev

7 years agoMerge "Insert missing breaks" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 16:02:29 +0000 (16:02 +0000)]
Merge "Insert missing breaks" into oc-dev

7 years agoFix check when finding tasks to reuse.
Winson Chung [Fri, 21 Apr 2017 21:44:38 +0000 (14:44 -0700)]
Fix check when finding tasks to reuse.

- Since we added a new assistant activity type, we need to update the check
  for which stack to match the activity to.

Bug: 37526597
Test: android.server.cts.ActivityManagerAssistantStackTests
Test: #testLaunchIntoSameTask
Change-Id: I2d77ba8b026ee1ae692b026d20703fa56c061704

7 years agoMerge "fix service binding" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 15:37:45 +0000 (15:37 +0000)]
Merge "fix service binding" into oc-dev

7 years agoMerge "Remove @TestApi annotation" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 15:35:44 +0000 (15:35 +0000)]
Merge "Remove @TestApi annotation" into oc-dev

7 years agoMerge "Add a11y voice for the VPN icon in status bar" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 15:14:03 +0000 (15:14 +0000)]
Merge "Add a11y voice for the VPN icon in status bar" into oc-dev

7 years agoMerge "Fixed pinned stack lockscreen interaction" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 14:58:25 +0000 (14:58 +0000)]
Merge "Fixed pinned stack lockscreen interaction" into oc-dev

7 years agoUndeprecate WebView.findAddress
Abodunrinwa Toki [Fri, 21 Apr 2017 16:54:38 +0000 (17:54 +0100)]
Undeprecate WebView.findAddress

Reverts I772961bd20bff4817a060f14a843abeceb55ac92
Until we bring back TextClassifier.getLinks
See I275a9d055ef0ab68f3ca339c37ee939257c4bd54

Test: none
Bug: 22362008
Bug: 37565246
Change-Id: I2948f22cf4c3462491f47376af48624697703969

7 years agoMerge changes from topic 'langdet' into oc-dev
Abodunrinwa Toki [Mon, 24 Apr 2017 14:39:44 +0000 (14:39 +0000)]
Merge changes from topic 'langdet' into oc-dev

* changes:
  Hide TextClassifier.getLinks API.
  Hide TextClassificationManager.detectLanguages API

7 years agoInsert missing breaks
Jorim Jaggi [Fri, 14 Apr 2017 23:50:42 +0000 (16:50 -0700)]
Insert missing breaks

Found you!

Test: Go multi-window, go fullscreen, hammer home button
Change-Id: I019d89b95588ab2a0e33d9ef2bdc7240111162d0
Fixes: 36339388

7 years agoMerge "Follow-up for I8cbf1bfbebc917b03f528f040bb019d193228bbb" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 13:41:41 +0000 (13:41 +0000)]
Merge "Follow-up for I8cbf1bfbebc917b03f528f040bb019d193228bbb" into oc-dev

7 years agoMerge "Call removeMessages() only for certain operations in BackupManagerService...
TreeHugger Robot [Mon, 24 Apr 2017 13:37:37 +0000 (13:37 +0000)]
Merge "Call removeMessages() only for certain operations in BackupManagerService#handleCancel()" into oc-dev

7 years agoMerge "Send directed broadcast to the installer" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 13:36:28 +0000 (13:36 +0000)]
Merge "Send directed broadcast to the installer" into oc-dev

7 years agoMerge "Fix cast dialog dismiss on home/recents" into oc-dev
Jason Monk [Mon, 24 Apr 2017 13:22:13 +0000 (13:22 +0000)]
Merge "Fix cast dialog dismiss on home/recents" into oc-dev

7 years agoMerge "Fix QS size on 320dp with big fonts" into oc-dev
Jason Monk [Mon, 24 Apr 2017 13:20:36 +0000 (13:20 +0000)]
Merge "Fix QS size on 320dp with big fonts" into oc-dev

7 years agoMerge "Don't reinflate signal cluster after inflate" into oc-dev
Jason Monk [Mon, 24 Apr 2017 13:19:38 +0000 (13:19 +0000)]
Merge "Don't reinflate signal cluster after inflate" into oc-dev

7 years agoMerge "Fix QS detail panels RTL" into oc-dev
Jason Monk [Mon, 24 Apr 2017 13:19:29 +0000 (13:19 +0000)]
Merge "Fix QS detail panels RTL" into oc-dev

7 years agoMerge "Fix QS shadow disappearing on expand." into oc-dev
Jason Monk [Mon, 24 Apr 2017 12:53:34 +0000 (12:53 +0000)]
Merge "Fix QS shadow disappearing on expand." into oc-dev

7 years agoCall removeMessages() only for certain operations in BackupManagerService#handleCancel()
Anton Philippov [Mon, 24 Apr 2017 10:07:54 +0000 (11:07 +0100)]
Call removeMessages() only for certain operations in BackupManagerService#handleCancel()

Only remove messages of types OP_TYPE_BACKUP_WAIT and OP_TYPE_RESTORE_WAIT, since OP_TYPE_BACKUP cannot time out and doesn't require cancellation.

This will prevent some unncecessary (false) warnings in logcat.

Bug: 36570881
Test: manual
Change-Id: I72ecf98438fff18616354b04638b7db5c943aa61

7 years agoDrop REASON_FORCED_DEXOPT.
Nicolas Geoffray [Fri, 21 Apr 2017 14:41:13 +0000 (15:41 +0100)]
Drop REASON_FORCED_DEXOPT.

This can already be configured with the default compiler filter.

Also remove unused performDexOptIfNeeded.

bug:35794392
Test: device boots, forced dexopt works.
Change-Id: I14fc86c4783b2d7ac9cf8972b6619ba303e79659
(cherry picked from commit e103256c1fee6b53ead10efe13ca35ad270626fa)

7 years agoMerge "Add log before doRestoreFinished is called on BackupAgent." into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 09:45:33 +0000 (09:45 +0000)]
Merge "Add log before doRestoreFinished is called on BackupAgent." into oc-dev

7 years agoDon't allow devs to create blocked channels
Julia Reynolds [Sun, 23 Apr 2017 17:11:40 +0000 (13:11 -0400)]
Don't allow devs to create blocked channels

Test: runtest systemui-notification
Change-Id: I11942e4268acc70ffcbcda08eed4e13e64f4b12f
Fixes: 37559814

7 years agoDon't consider uri empty a valid sound
Julia Reynolds [Sun, 23 Apr 2017 16:39:32 +0000 (12:39 -0400)]
Don't consider uri empty a valid sound

Test: runtest systemui-notification
Change-Id: Ia838237e04eb11bd79e3ad5990bbb52c7ab853ee
Fixes: 36848349

7 years agoMerge "Move settingslib overlays to framework-res." into oc-dev
TreeHugger Robot [Sun, 23 Apr 2017 02:42:43 +0000 (02:42 +0000)]
Merge "Move settingslib overlays to framework-res." into oc-dev

7 years agoMerge "More auto-doc work." into oc-dev
Jeff Sharkey [Sat, 22 Apr 2017 19:11:30 +0000 (19:11 +0000)]
Merge "More auto-doc work." into oc-dev

7 years agoMerge "Clarify IControlsTethering LOCAL_ONLY state name" into oc-dev
TreeHugger Robot [Sat, 22 Apr 2017 09:42:45 +0000 (09:42 +0000)]
Merge "Clarify IControlsTethering LOCAL_ONLY state name" into oc-dev

7 years agoMerge "Watchdog: add graphics composer to HALs of interest" into oc-dev
TreeHugger Robot [Sat, 22 Apr 2017 09:00:07 +0000 (09:00 +0000)]
Merge "Watchdog: add graphics composer to HALs of interest" into oc-dev

7 years agoMerge "Clarify the meaning of ViewNodes methods used for Autofill purposes." into...
TreeHugger Robot [Sat, 22 Apr 2017 04:20:37 +0000 (04:20 +0000)]
Merge "Clarify the meaning of ViewNodes methods used for Autofill purposes." into oc-dev

7 years agoMerge "Show new colored icon for PDF printer" into oc-dev
TreeHugger Robot [Sat, 22 Apr 2017 03:50:00 +0000 (03:50 +0000)]
Merge "Show new colored icon for PDF printer" into oc-dev

7 years agoMerge "Added accessibility type on Autofill save dialog." into oc-dev
TreeHugger Robot [Sat, 22 Apr 2017 02:53:06 +0000 (02:53 +0000)]
Merge "Added accessibility type on Autofill save dialog." into oc-dev

7 years agoMerge "Workaround apps that override surfaceCreated" into oc-dev
TreeHugger Robot [Sat, 22 Apr 2017 02:41:50 +0000 (02:41 +0000)]
Merge "Workaround apps that override surfaceCreated" into oc-dev

7 years agoMerge "Fix a spelling." into oc-dev
TreeHugger Robot [Sat, 22 Apr 2017 02:32:34 +0000 (02:32 +0000)]
Merge "Fix a spelling." into oc-dev

7 years agoMerge "Don't clear restart counter when bringing up the service." into oc-dev
Sudheer Shanka [Sat, 22 Apr 2017 01:31:18 +0000 (01:31 +0000)]
Merge "Don't clear restart counter when bringing up the service." into oc-dev

7 years agoMerge "Upgrade logging for UsbDeviceManager to narrow down bugs." into oc-dev
TreeHugger Robot [Sat, 22 Apr 2017 01:26:08 +0000 (01:26 +0000)]
Merge "Upgrade logging for UsbDeviceManager to narrow down bugs." into oc-dev

7 years agoMerge "Don't put non-resizeable activities on secondary displays" into oc-dev
Andrii Kulian [Sat, 22 Apr 2017 00:59:31 +0000 (00:59 +0000)]
Merge "Don't put non-resizeable activities on secondary displays" into oc-dev

7 years agoMerge "Fix flaky tests in ConnOnActivityStartTest." into oc-dev
Sudheer Shanka [Sat, 22 Apr 2017 00:34:36 +0000 (00:34 +0000)]
Merge "Fix flaky tests in ConnOnActivityStartTest." into oc-dev

7 years agoMerge "Address various JobScheduler API feedback." into oc-dev
Dianne Hackborn [Sat, 22 Apr 2017 00:33:43 +0000 (00:33 +0000)]
Merge "Address various JobScheduler API feedback." into oc-dev

7 years agoMerge "Allow the Bluetooth MAC address to be updated asynchronously (2/3)" into oc-dev
TreeHugger Robot [Sat, 22 Apr 2017 00:17:24 +0000 (00:17 +0000)]
Merge "Allow the Bluetooth MAC address to be updated asynchronously (2/3)" into oc-dev

7 years agoWorkaround apps that override surfaceCreated
John Reck [Sat, 22 Apr 2017 00:14:45 +0000 (17:14 -0700)]
Workaround apps that override surfaceCreated

Fixes: 34512969
Test: manual, tested repro in bug and verified
basic GLSurfaceView usage in ApiDemos works
without warnings

Change-Id: I0ce9128874af681e9cfbd3b0b2ef5e2df7080154

7 years agoWhitelist PHONE_STATE to wakeup apps
Brad Ebinger [Sat, 22 Apr 2017 00:05:18 +0000 (17:05 -0700)]
Whitelist PHONE_STATE to wakeup apps

Whitelists PHONE_STATE to wake up apps that are not
running when this intent is broadcast.

The bug to track removing this intent from the whitelist is b/37579761

Test: Compile and run
Change-Id: I89987195c9e6d5160b40666fbfc3893602ab1c15

7 years agoAAPT2: Allow truncating of package names
Adam Lesinski [Fri, 21 Apr 2017 23:57:59 +0000 (16:57 -0700)]
AAPT2: Allow truncating of package names

ResTable_package header only allows 127 UTF-16 characters, so AAPT
would truncate the real package name to fit. AAPT2 would error-out
on any package name longer than 127 UTF-16 characters. This strictness
is not required except when building shared libraries, which use the
full package name as a way of identifying the runtime assigned
package ID to package name mapping.

Bug: 36940145
Test: make aapt2_tests
Change-Id: I7d2b7e50c7ab30c6a6c4f15d310e711f68e35091

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 23:50:03 +0000 (23:50 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Bluetooth: improve getLeMaximumAdvertisingDataLength comment" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 23:40:24 +0000 (23:40 +0000)]
Merge "Bluetooth: improve getLeMaximumAdvertisingDataLength comment" into oc-dev

7 years agoMerge "Fix @throws javadoc on SurfaceTexture ctors" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 23:25:48 +0000 (23:25 +0000)]
Merge "Fix @throws javadoc on SurfaceTexture ctors" into oc-dev

7 years agoUpgrade logging for UsbDeviceManager to narrow down bugs.
Jerry Zhang [Fri, 21 Apr 2017 19:31:17 +0000 (12:31 -0700)]
Upgrade logging for UsbDeviceManager to narrow down bugs.

Will be reverted once bugs are caught.

Bug: 34873000
Test: None
Change-Id: Ia43e0ccb1c22c767c6ef3edbf04cef024662cd15

7 years agoMerge "Behavior compat for child being manipulated outside Animatorset" into oc-dev
Doris Liu [Fri, 21 Apr 2017 23:14:28 +0000 (23:14 +0000)]
Merge "Behavior compat for child being manipulated outside Animatorset" into oc-dev

7 years agoAAPT2: Make BinaryResourceParser more lenient
Adam Lesinski [Fri, 21 Apr 2017 23:08:02 +0000 (16:08 -0700)]
AAPT2: Make BinaryResourceParser more lenient

Trailing data after the main RES_TABLE_TYPE should be logged but not
cause an error.

Bug: 36945869
Test: (aapt2 dump apk/attached/in/bug.apk)
Change-Id: I784406a680b79630798fdb4b7ca81f9d1f2b96d1

7 years agoMerge "Propagate density through AdaptiveIconDrawable and BitmapDrawable" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 22:35:49 +0000 (22:35 +0000)]
Merge "Propagate density through AdaptiveIconDrawable and BitmapDrawable" into oc-dev

7 years agoMore auto-doc work.
Jeff Sharkey [Fri, 21 Apr 2017 22:29:27 +0000 (16:29 -0600)]
More auto-doc work.

Add support for AnyThread, CallSuper, and UiThread.

Another related CL started documenting @RequiresPermission, so remove
duplicated information in existing APIs.

Suppress auto-doc on a handful of classes that are already
well-documented.

Test: make -j32 offline-sdk-docs
Bug: 37526420
Change-Id: I791437dccec0f11d5349a23b982ba098cb551af8

7 years agoMerge "Let unlocked profile verifyCredential under unified lock" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 22:27:43 +0000 (22:27 +0000)]
Merge "Let unlocked profile verifyCredential under unified lock" into oc-dev

7 years agoAllow the Bluetooth MAC address to be updated asynchronously (2/3)
Stanley Tng [Tue, 18 Apr 2017 05:35:45 +0000 (22:35 -0700)]
Allow the Bluetooth MAC address to be updated asynchronously (2/3)

There are intermittent issues where either the returned Bluetooth
MAC address to Java framework is uninitialized or this address update
arrives too late. This fix will do 2 things:
(1) Returns error when MAC address is unavailable in the native code.
(2) Updates the MAC address later by adding a new broadcast event.

Test: Check address for these cases: factory reset, system reboot, and
Bluetooth re-enable.
Bug: 36709382

Change-Id: I09720193e38fdf9139e1bb146f8e1847e2b65b1a
(cherry picked from commit ad4d1d8e28618546953e75d4983335631feb6f2a)

7 years agoShow new colored icon for PDF printer
Philip P. Moltmann [Thu, 20 Apr 2017 22:46:19 +0000 (15:46 -0700)]
Show new colored icon for PDF printer

The color matches the color of the printers reported by the Default
Print Service.

Change-Id: I12c19ab498fc5df3af88932eaeb6b3f7015e71d9
Fixes: 35766257
Test: Looked at Print UI

7 years agoAddress various JobScheduler API feedback.
Dianne Hackborn [Fri, 21 Apr 2017 21:17:23 +0000 (14:17 -0700)]
Address various JobScheduler API feedback.

- New sample code.
- Fix/improve some docs.
- Hide JobWorkItem Parcl constructor.

Also:

- Add new JobWorkItem API to get the number of times it has been
delivered.
- Do a bit more optimization of checking if a job is ready.

Bug: 37534393  API Review: JobInfo.Builder
Bug: 37544057  API Review: JobServiceEngine
Bug: 37544153  API Review: JobWorkItem

Test: bit CtsJobSchedulerTestCases:*
Change-Id: I66891a038fba752f45dcaed43e615fa9209b71fc

7 years agofix service binding
Todd Kennedy [Fri, 21 Apr 2017 19:20:03 +0000 (12:20 -0700)]
fix service binding

there were cases where we wouldn't bind when we should. also, add
some additional debug to better track potential connection issues.

Change-Id: I381da24f490e3102817a14428ef1a63982f33d19
Fixes: 37122153
Test: kill/upgrade GMS to ensure we re-bind in a timely manner

7 years agoMerge "Introduce TextView attribute for control justification." into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 21:31:13 +0000 (21:31 +0000)]
Merge "Introduce TextView attribute for control justification." into oc-dev

7 years agoMerge "Fix for MediaPlayerStreamingStressTest/HLS" into oc-dev
Hassan Shojania [Fri, 21 Apr 2017 21:28:34 +0000 (21:28 +0000)]
Merge "Fix for MediaPlayerStreamingStressTest/HLS" into oc-dev

7 years agoMerge "telephony service support notification channel" into oc-dev
Chen Xu [Fri, 21 Apr 2017 21:26:26 +0000 (21:26 +0000)]
Merge "telephony service support notification channel" into oc-dev

7 years agoMerge "Renaming intent action for unknown sources" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 21:22:05 +0000 (21:22 +0000)]
Merge "Renaming intent action for unknown sources" into oc-dev

7 years agoMerge "Add more log to track down the "idle until changed" issue." into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 21:20:24 +0000 (21:20 +0000)]
Merge "Add more log to track down the "idle until changed" issue." into oc-dev

7 years agoIntroduce TextView attribute for control justification.
Seigo Nonaka [Fri, 21 Apr 2017 17:16:26 +0000 (10:16 -0700)]
Introduce TextView attribute for control justification.

Bug: 37447278
Test: am instrument -w -e class android.widget.cts.TextViewTest
      android.widget.cts/android.support.test.runner.AndroidJUnitRunner
Change-Id: I7946f460ad8a6c2423b464c27225411d155d4d8d

7 years agoBehavior compat for child being manipulated outside Animatorset
Doris Liu [Fri, 21 Apr 2017 19:24:54 +0000 (12:24 -0700)]
Behavior compat for child being manipulated outside Animatorset

When a child animator is being manipulated outside of the AnimatorSet,
such as when the child animator is running before the AnimatorSet gets
started, we need to make sure we maintain the behavoir on N:
The child animator will be re-started at its scheduled start time in
the AnimatorSet.

BUG: 37507882
Test: Repro steps in comment #1 & ag/2144081/
Change-Id: Ib97e85706f01d18a2e72fb4d1d678e22cf959894

7 years agoMerge "MediaPlayer: fix new API seekTo to address API review." into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 21:10:47 +0000 (21:10 +0000)]
Merge "MediaPlayer: fix new API seekTo to address API review." into oc-dev

7 years agoFix @throws javadoc on SurfaceTexture ctors
John Reck [Fri, 21 Apr 2017 17:50:59 +0000 (10:50 -0700)]
Fix @throws javadoc on SurfaceTexture ctors

Change-Id: I63bd76ec4e44251b7e06ad6fc8aa5a3372104656
Fixes: 37323694
Test: Looked at generated docs, verified correct

7 years agoMerge "audio service: simplify becoming noisy intent logic" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 20:43:45 +0000 (20:43 +0000)]
Merge "audio service: simplify becoming noisy intent logic" into oc-dev

7 years agoBluetooth: improve getLeMaximumAdvertisingDataLength comment
Jakub Pawlowski [Fri, 21 Apr 2017 11:59:55 +0000 (04:59 -0700)]
Bluetooth: improve getLeMaximumAdvertisingDataLength comment

Bug: 37534792
Test: none
Change-Id: Ieff71356aceb0e2a4c6e81d9053f854448e0c927
(cherry picked from commit 4634b5cd27b274105e550f58f9d5fc51c79eb3fb)

7 years agoMerge "Increases the minimized width in landscape by statusbar height" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 20:30:46 +0000 (20:30 +0000)]
Merge "Increases the minimized width in landscape by statusbar height" into oc-dev

7 years agoPrevent leak of AppWindowTokens.
Robert Carr [Fri, 21 Apr 2017 20:26:55 +0000 (13:26 -0700)]
Prevent leak of AppWindowTokens.

We need to check to remove ourselves from our previous parents exiting
app list not the list of our new parents. If we check AOSP master AppWindowToken
L333 we can see it used to work this way. This is causing the abandoned starting
window buffer queue bugs in 36703921 by also triggering a leak of the startingdata
and the assosciated viewrootimpl, though the surface ends up destroyed.

Bug: 36703921
Test: Open app, hit back, verify dumpsys window displays "Exiting App Tokens" doesn't grow by one each time.
Change-Id: I07a4df82b2694e9d0eaa1b9299d233c3aa496c3e