OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Add param javadoc to DevicePolicyManager.setBackupServiceEnabled" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 12:11:10 +0000 (12:11 +0000)]
Merge "Add param javadoc to DevicePolicyManager.setBackupServiceEnabled" into oc-dev

7 years agoMerge "Clarify time unit for StrongAuthTimeout APIs" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 12:02:02 +0000 (12:02 +0000)]
Merge "Clarify time unit for StrongAuthTimeout APIs" into oc-dev

7 years agoMerge "Set icon frame to invisible when iconSpaceReserved is set." into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 09:52:52 +0000 (09:52 +0000)]
Merge "Set icon frame to invisible when iconSpaceReserved is set." into oc-dev

7 years agoMerge "Added APIs that let AutofillService implementations set themselves as such...
TreeHugger Robot [Tue, 25 Apr 2017 08:55:57 +0000 (08:55 +0000)]
Merge "Added APIs that let AutofillService implementations set themselves as such." into oc-dev

7 years agoMerge "Allow Bluetooth CAP_SYS_NICE, set RT priority for Bluetooth HAL" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 07:38:40 +0000 (07:38 +0000)]
Merge "Allow Bluetooth CAP_SYS_NICE, set RT priority for Bluetooth HAL" into oc-dev

7 years agoMerge "Take new autofill structure for each partition" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 07:31:24 +0000 (07:31 +0000)]
Merge "Take new autofill structure for each partition" into oc-dev

7 years agoMerge "Add javadoc about APIs requiring uses-feature" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 06:42:02 +0000 (06:42 +0000)]
Merge "Add javadoc about APIs requiring uses-feature" into oc-dev

7 years agoMerge "Check for uses-feature in Companion APIs" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 06:42:02 +0000 (06:42 +0000)]
Merge "Check for uses-feature in Companion APIs" into oc-dev

7 years agoMerge "Continue to @hide freeform decor caption APIs" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 06:03:07 +0000 (06:03 +0000)]
Merge "Continue to @hide freeform decor caption APIs" into oc-dev

7 years agoMerge "Move RecentsImpl task stack listener to background." into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 05:33:01 +0000 (05:33 +0000)]
Merge "Move RecentsImpl task stack listener to background." into oc-dev

7 years agoMerge "Hide deprecated APIs." into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 05:09:23 +0000 (05:09 +0000)]
Merge "Hide deprecated APIs." into oc-dev

7 years agoMerge "Remove the docstring dependency on telephony-common" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 05:05:35 +0000 (05:05 +0000)]
Merge "Remove the docstring dependency on telephony-common" into oc-dev

7 years agoMerge "Fix SettingsDrawerActivityTest on fugu." into oc-dev
Fan Zhang [Tue, 25 Apr 2017 04:48:19 +0000 (04:48 +0000)]
Merge "Fix SettingsDrawerActivityTest on fugu." into oc-dev

7 years agoMerge "fix check for provider resolution" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 04:44:51 +0000 (04:44 +0000)]
Merge "fix check for provider resolution" into oc-dev

7 years agoMerge "Remove redundant lockscreen shown check" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 04:26:27 +0000 (04:26 +0000)]
Merge "Remove redundant lockscreen shown check" into oc-dev

7 years agoMerge "Don't specify stack bounds for unsizeable home stack in dock mode" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 04:25:30 +0000 (04:25 +0000)]
Merge "Don't specify stack bounds for unsizeable home stack in dock mode" into oc-dev

7 years agoMerge "jni: Adjust for libui gralloc flags change" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 04:12:26 +0000 (04:12 +0000)]
Merge "jni: Adjust for libui gralloc flags change" into oc-dev

7 years agoContinue to @hide freeform decor caption APIs
Wale Ogunwale [Mon, 24 Apr 2017 20:40:34 +0000 (13:40 -0700)]
Continue to @hide freeform decor caption APIs

Hiding the APIs for now since we're not releasing freeform yet and it's
better not to expose them now in case we'll decide to change them later.

May you make the P release!

Test: manual
Bug: 28774476
Change-Id: Ie4b4d1bdabef9b27d2eb1442ffc9f6c46ce7dfcb

7 years agoMerge "Move child package feature behind sys prop" into oc-dev
Svetoslav Ganov [Tue, 25 Apr 2017 03:58:56 +0000 (03:58 +0000)]
Merge "Move child package feature behind sys prop" into oc-dev

7 years agoMerge "[AWARE] Add AutoCloseable interface/implementation" into oc-dev
Etan Cohen [Tue, 25 Apr 2017 03:26:01 +0000 (03:26 +0000)]
Merge "[AWARE] Add AutoCloseable interface/implementation" into oc-dev

7 years agoMerge "Move sendVisualVoicemailSms and setSmsFilterSettings to Telephony" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 02:55:14 +0000 (02:55 +0000)]
Merge "Move sendVisualVoicemailSms and setSmsFilterSettings to Telephony" into oc-dev

7 years agojni: Adjust for libui gralloc flags change
Chris Forbes [Thu, 20 Apr 2017 18:58:45 +0000 (11:58 -0700)]
jni: Adjust for libui gralloc flags change

Change-Id: I94b95fba5e6234a07d2beba1d6f487842399367f
Bug: b/33350696
Test: Bullhead: booted to launcher, take photo, watch youtube

7 years agoAdded APIs that let AutofillService implementations set themselves as such.
Felipe Leme [Sat, 22 Apr 2017 00:33:38 +0000 (17:33 -0700)]
Added APIs that let AutofillService implementations set themselves as such.

Bug: 37576671
Test: manual verification
Test: CtsAutoFillServiceTestCases (with new tests) pass

Change-Id: I6fd61f8a2826dbf6b6fce831f3deadf6df025386

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 agoMove child package feature behind sys prop
Svet Ganov [Thu, 20 Apr 2017 06:51:33 +0000 (23:51 -0700)]
Move child package feature behind sys prop

Now one can do adb shell setprop/getptop to change
"persist.sys.child_packages_enabled" to true/false to
control whether child packages are supported.

Test: manual

bug:36107077

Change-Id: Ie60e255fd3c248905906cdd5b10adae074c0b717

7 years agoTake new autofill structure for each partition
Philip P. Moltmann [Fri, 21 Apr 2017 23:33:52 +0000 (16:33 -0700)]
Take new autofill structure for each partition

Bug: 36481649
Test: CtsAutofillServiceTestCases (now with a test that has an autofill
      session over two full screen fragments)
Change-Id: I55f2f6203f3bd5a7082b4ce90500d2c16a260c7d

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 agoMove RecentsImpl task stack listener to background.
Winson Chung [Mon, 24 Apr 2017 19:23:47 +0000 (12:23 -0700)]
Move RecentsImpl task stack listener to background.

- In RecentsTaskLoader, synchronize on anything that might use the
  thumbnail cache
- In RecentsLoadPlan, remove synchronization when preloading/executing
  since that is done in the loader now
- In RecentsImpl, synchronize on anything that might use the dummy stack
  view

Bug: 37550083
Test: Launch Overview and some other tasks, ensure everything still works

Change-Id: I36d04566ebb04296f67a3233730c1dc5bc1569f4

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 agoHide deprecated APIs.
Felipe Leme [Fri, 21 Apr 2017 23:25:47 +0000 (16:25 -0700)]
Hide deprecated APIs.

Test: CtsAutoFillServiceTestCases pass
Bug: 37563972

Change-Id: Ia5f33c5624b7a6be3c152e126c99800914d23cbd

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 agoMove sendVisualVoicemailSms and setSmsFilterSettings to Telephony
Ta-wei Yen [Thu, 20 Apr 2017 19:41:17 +0000 (12:41 -0700)]
Move sendVisualVoicemailSms and setSmsFilterSettings to Telephony

Bug: 35766990
Change-Id: Ife9df5baa9b511cd8e9c043cb92236b7697582c1
Fixes: 35766990
Test: CtsTelephonyTestCases VisualVoicemailServiceTest

7 years agoAdd javadoc about APIs requiring uses-feature
Eugene Susla [Mon, 24 Apr 2017 20:26:12 +0000 (13:26 -0700)]
Add javadoc about APIs requiring uses-feature

Bug: 37629514
Test: Ensure no compilation error; proofread
Change-Id: Ia250c95da1edb20017bc13a4504ead092eb24fff

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 agoRemove redundant lockscreen shown check
lei.xa.liu [Tue, 20 Sep 2016 12:37:25 +0000 (21:37 +0900)]
Remove redundant lockscreen shown check

Symptom:
USB dialog is displayed incompletely and cannot be scrolled under
lockscreen in multi-window mode.

Root cause:
When lockscreen is shown, the bounds returned by getLaunchBounds()
is null, updateOverrideConfiguration() will finally consider the task
as fullscreen, USB dialog is under lockscreen, not over lockscreen,
as a result, the height measured in ViewRootImpl's performTraversals()
will be incorrect.

Solution:
Remove the lockscreen shown check from getLaunchBounds() which is
originally added to fix app over lockscreen being cropped by docked
stack, and the following commit also fix the behavior of app over
lockscreen.

 https://android.googlesource.com/platform/frameworks/base/+/99732940809058fae558618399323c36b8a0e856

So that above check should be redundant code.

Bug: 31256862
Fixes: 36163229
Test: manual
Change-Id: Iac483f625d2f4b35388290eb78a97a4bd3bd0fe8

7 years agoClarify time unit for StrongAuthTimeout APIs
Rubin Xu [Mon, 24 Apr 2017 19:26:30 +0000 (20:26 +0100)]
Clarify time unit for StrongAuthTimeout APIs

Bug: 37624569
Test: make -j32 docs
Change-Id: I9bdf191697e698fcc38b279c471a8ce6566927c8

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 agoAdd param javadoc to DevicePolicyManager.setBackupServiceEnabled
Rubin Xu [Mon, 24 Apr 2017 19:17:16 +0000 (20:17 +0100)]
Add param javadoc to DevicePolicyManager.setBackupServiceEnabled

Bug: 37624668
Test: make -j32 docs
Change-Id: Ie3457f4f5eba63365ed7920431037759475fa30b

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 agoAllow Bluetooth CAP_SYS_NICE, set RT priority for Bluetooth HAL
Philip Cuadra [Fri, 24 Mar 2017 21:09:19 +0000 (14:09 -0700)]
Allow Bluetooth CAP_SYS_NICE, set RT priority for Bluetooth HAL

Bluetooth needs CAP_SYS_NICE in order to make important threads use RT
scheduling policy.

SchedulingPolicyService should set RT priority for the Bluetooth HAL.

Bug 37518404

Test: Play Bluetooth audio, confirm RT priority in systrace
Change-Id: I0ee55a2f2cfd80cbb066d9c034bb85d8d85ba470

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 agoCheck for uses-feature in Companion APIs
Eugene Susla [Fri, 21 Apr 2017 21:12:00 +0000 (14:12 -0700)]
Check for uses-feature in Companion APIs

Fixes: 37629514
Test: Invoke API from app without uses-feature
Ensure an exception with an appropriate message is thrown
Invoke API from app with uses-feature
Ensure no exception

Change-Id: I53665732264ea2de2b4c8c251b1f00bf3a256dad

7 years agofix check for provider resolution
Todd Kennedy [Mon, 24 Apr 2017 18:07:17 +0000 (11:07 -0700)]
fix check for provider resolution

Change-Id: I504e16463fbd58fb97a65ca74ffa38697e715652
Fixes: 37547666
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest#testEphemeralQuery

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 agoDon't specify stack bounds for unsizeable home stack in dock mode
Wale Ogunwale [Mon, 24 Apr 2017 17:15:31 +0000 (10:15 -0700)]
Don't specify stack bounds for unsizeable home stack in dock mode

Doing so will put the stack in multi-window mode which means it
can't affect the device orientation which can cause the app to
to put in a configuration it doesn't support when in split-screen
multi-window mode.

Test: manual
Change-Id: I9f08187d8880c8f2b486f477123342a9a2f7effc
Fixes: 37334914

7 years agoSet icon frame to invisible when iconSpaceReserved is set.
Fan Zhang [Mon, 24 Apr 2017 17:05:12 +0000 (10:05 -0700)]
Set icon frame to invisible when iconSpaceReserved is set.

Bug: 37572025
Test: manual
Change-Id: I843bbf329a04964ddeccd17ed71e02f2264a5068

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