OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "DO NOT MERGE - Removed ContentCapture support from standard SDK toolkit."...
TreeHugger Robot [Mon, 15 Apr 2019 23:42:14 +0000 (23:42 +0000)]
Merge "DO NOT MERGE - Removed ContentCapture support from standard SDK toolkit." into qt-dev

5 years agoMerge "Add DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220" into qt-dev
Harry Slatyer [Mon, 15 Apr 2019 23:38:24 +0000 (23:38 +0000)]
Merge "Add DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220" into qt-dev

5 years agoMerge "Add logging for KeyguardUpdateMonitor visibility and biometric state" into...
Kevin Chyn [Mon, 15 Apr 2019 23:03:50 +0000 (23:03 +0000)]
Merge "Add logging for KeyguardUpdateMonitor visibility and biometric state" into qt-dev

5 years agoMerge "AudioManager: test API for dynamic audio policy" into qt-dev
Jean-Michel Trivi [Mon, 15 Apr 2019 22:46:46 +0000 (22:46 +0000)]
Merge "AudioManager: test API for dynamic audio policy" into qt-dev

5 years agoMerge "Telecom API doc cleanup." into qt-dev
Tyler Gunn [Mon, 15 Apr 2019 22:15:57 +0000 (22:15 +0000)]
Merge "Telecom API doc cleanup." into qt-dev

5 years agoMerge "Move DisplayTransformManagerTest" into qt-dev
Christine Franks [Mon, 15 Apr 2019 21:44:37 +0000 (21:44 +0000)]
Merge "Move DisplayTransformManagerTest" into qt-dev

5 years agoAdd DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220
Harry Slatyer [Mon, 8 Apr 2019 22:58:02 +0000 (08:58 +1000)]
Add DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220

This gives supported densities every 20dpi at the low end of densities,
which is where all current automotive screens sit.

BUG: 127714569
Test: None, just adding constants.

Change-Id: I6dd96493bf4474a55f22ce4ddbe27566d4ab9deb

5 years agoMerge "Fix Emergency Number API doc" into qt-dev
Shuo Qian [Mon, 15 Apr 2019 21:39:02 +0000 (21:39 +0000)]
Merge "Fix Emergency Number API doc" into qt-dev

5 years agoMerge "AudioTrack: offload is not tied to USAGE_MEDIA" into qt-dev
Jean-Michel Trivi [Mon, 15 Apr 2019 21:17:12 +0000 (21:17 +0000)]
Merge "AudioTrack: offload is not tied to USAGE_MEDIA" into qt-dev

5 years agoMerge "Address comments from API review." into qt-dev
Jiuyu Sun [Mon, 15 Apr 2019 21:02:42 +0000 (21:02 +0000)]
Merge "Address comments from API review." into qt-dev

5 years agoMerge "Fix for unexpected scale factors in ScaleGestureDetector" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 21:02:19 +0000 (21:02 +0000)]
Merge "Fix for unexpected scale factors in ScaleGestureDetector" into qt-dev

5 years agoMerge "Fix set_buffers_damage in VulkanSurface" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 21:00:08 +0000 (21:00 +0000)]
Merge "Fix set_buffers_damage in VulkanSurface" into qt-dev

5 years agoMerge "End button fade animation when its visiblity changes" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 20:56:29 +0000 (20:56 +0000)]
Merge "End button fade animation when its visiblity changes" into qt-dev

5 years agoAdd logging for KeyguardUpdateMonitor visibility and biometric state
Kevin Chyn [Mon, 15 Apr 2019 20:47:25 +0000 (13:47 -0700)]
Add logging for KeyguardUpdateMonitor visibility and biometric state

Bug: 130095380

Test: Builds, logs are seen
Change-Id: If311f552e716a3ea164eda13c2fc8638adb26fb0

5 years agoMerge "Revert "Make notification effects for automotive configurable."" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 19:49:28 +0000 (19:49 +0000)]
Merge "Revert "Make notification effects for automotive configurable."" into qt-dev

5 years agoMerge "Add AppPredictionServiceExists check." into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 19:49:19 +0000 (19:49 +0000)]
Merge "Add AppPredictionServiceExists check." into qt-dev

5 years agoMerge "More SurfaceAnimator lifetime fixes." into qt-dev
Rob Carr [Mon, 15 Apr 2019 19:44:08 +0000 (19:44 +0000)]
Merge "More SurfaceAnimator lifetime fixes." into qt-dev

5 years agoMerge "Revert "Fix issue in attached layouting"" into qt-dev
Jorim Jaggi [Mon, 15 Apr 2019 19:14:41 +0000 (19:14 +0000)]
Merge "Revert "Fix issue in attached layouting"" into qt-dev

5 years agoAudioTrack: offload is not tied to USAGE_MEDIA
Jean-Michel Trivi [Mon, 15 Apr 2019 19:06:19 +0000 (12:06 -0700)]
AudioTrack: offload is not tied to USAGE_MEDIA

Offload support check now supports passing AudioAttributes.
Do not require AudioTrack usage to be USAGE_MEDIA, check of use
  case will be done in AudioSystem.isOffloadSupported().

Bug: 129133576
Test: use offload for USAGE_ASSISTANT
Change-Id: I00065fb936600cfcdf29bc019173699db7ec5a2f

5 years agoMerge "Remove key_ prefix from CarrierConfig Strings" into qt-dev
Nathan Harold [Mon, 15 Apr 2019 18:51:37 +0000 (18:51 +0000)]
Merge "Remove key_ prefix from CarrierConfig Strings" into qt-dev

5 years agoAudioService: more stringent on dropping ACTION_AUDIO_BECOMING_NOISY
Jean-Michel Trivi [Sun, 14 Apr 2019 00:11:50 +0000 (17:11 -0700)]
AudioService: more stringent on dropping ACTION_AUDIO_BECOMING_NOISY

Drop ACTION_AUDIO_BECOMING_NOISY only when there is no more audio
  focus users.

Bug: 129983099
Test: see bug
Change-Id: I899301754ba1506598b1be1cb5605bc3b53e3942

5 years agoMerge "Bluetooth: Make ScanRecord.getServiceSolicitationUuids NonNull" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 18:38:14 +0000 (18:38 +0000)]
Merge "Bluetooth: Make ScanRecord.getServiceSolicitationUuids NonNull" into qt-dev

5 years agoMerge "Load /metadata/password_slots/slot_map lazily." into qt-dev
David Anderson [Mon, 15 Apr 2019 18:28:38 +0000 (18:28 +0000)]
Merge "Load /metadata/password_slots/slot_map lazily." into qt-dev

5 years agoMerge "Support render-ahead in vulkan" into qt-dev
John Reck [Mon, 15 Apr 2019 18:20:28 +0000 (18:20 +0000)]
Merge "Support render-ahead in vulkan" into qt-dev

5 years agoRevert "Fix issue in attached layouting"
Jorim Jaggi [Mon, 15 Apr 2019 17:58:52 +0000 (17:58 +0000)]
Revert "Fix issue in attached layouting"

This reverts commit 36dcd2e34be3c1a8b48270a06c5e69162a92a2e2.

Bug: 130553898
Reason for revert: Breaks other CTS (PopupWindowTests)

Change-Id: Ib3a0a189db25d72e85a52dcefa9e1f52a976f3fb

5 years agoRevert "Make notification effects for automotive configurable."
Qiao (Adora) Zhang [Mon, 15 Apr 2019 17:45:43 +0000 (17:45 +0000)]
Revert "Make notification effects for automotive configurable."

This reverts commit 4dae2857df4e9322c7bf2e64d7445fe9ed8bf928.

Reason for revert: b/130513450

Fix: 130513450

Change-Id: Ie2f7c5e66f1436c0a540fb86b1886978d72cb7c7

5 years agoMerge "Resolve CEC related API requests from API Council" into qt-dev
Amy Zhang [Mon, 15 Apr 2019 17:46:49 +0000 (17:46 +0000)]
Merge "Resolve CEC related API requests from API Council" into qt-dev

5 years agoMerge "Catch all exceptions when calling startCheckpoint()." into qt-dev
Martijn Coenen [Mon, 15 Apr 2019 17:38:08 +0000 (17:38 +0000)]
Merge "Catch all exceptions when calling startCheckpoint()." into qt-dev

5 years agoMerge "Add NonNull in Carriers constant" into qt-dev
Calvin Pan [Mon, 15 Apr 2019 17:33:37 +0000 (17:33 +0000)]
Merge "Add NonNull in Carriers constant" into qt-dev

5 years agoAddress comments from API review.
Holly Jiuyu Sun [Wed, 10 Apr 2019 21:34:07 +0000 (14:34 -0700)]
Address comments from API review.

1) The newly added onDownloadSubscription should not be abstract.
2) The old onDownloadSubscription should not throw exception.

Bug: 124325362
Test: on phone
Change-Id: Ic905b5d317e10aefe5dca013948cd7d340149368

5 years agoMerge "Ensure strings are consistent with HIDL documentation" into qt-dev
Kevin Chyn [Mon, 15 Apr 2019 16:59:03 +0000 (16:59 +0000)]
Merge "Ensure strings are consistent with HIDL documentation" into qt-dev

5 years agoMerge "AudioService: better vol adjustment logs" into qt-dev
Jean-Michel Trivi [Mon, 15 Apr 2019 16:42:06 +0000 (16:42 +0000)]
Merge "AudioService: better vol adjustment logs" into qt-dev

5 years agoMerge "AudioPolicy: fix test API for focus policy" into qt-dev
Jean-Michel Trivi [Mon, 15 Apr 2019 16:38:09 +0000 (16:38 +0000)]
Merge "AudioPolicy: fix test API for focus policy" into qt-dev

5 years agoDO NOT MERGE - Removed ContentCapture support from standard SDK toolkit.
Felipe Leme [Fri, 12 Apr 2019 18:53:16 +0000 (11:53 -0700)]
DO NOT MERGE - Removed ContentCapture support from standard SDK toolkit.

Test: atest CtsContentCaptureServiceTestCases
Test: m update-api
Test: make ds-docs

Fixes: 129982633

Change-Id: I5a0fa4231d0222638830c1abd8015d9f2635996a

5 years agoMerge "Fix tinting of battery percentage" into qt-dev
Fabian Kozynski [Mon, 15 Apr 2019 16:35:10 +0000 (16:35 +0000)]
Merge "Fix tinting of battery percentage" into qt-dev

5 years agoMerge "Add getters to AudioPlaybackCaptureConfiguration" into qt-dev
Kevin Rocard [Mon, 15 Apr 2019 16:02:07 +0000 (16:02 +0000)]
Merge "Add getters to AudioPlaybackCaptureConfiguration" into qt-dev

5 years agoMerge "Mark flaky pre-submit tests" into qt-dev
Yunfan Chen [Mon, 15 Apr 2019 15:52:44 +0000 (15:52 +0000)]
Merge "Mark flaky pre-submit tests" into qt-dev

5 years agoMerge "Add AudioManager.getAllowedCapturePolicy" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 15:44:32 +0000 (15:44 +0000)]
Merge "Add AudioManager.getAllowedCapturePolicy" into qt-dev

5 years agoAdd getters to AudioPlaybackCaptureConfiguration
Kevin Rocard [Tue, 9 Apr 2019 23:25:26 +0000 (16:25 -0700)]
Add getters to AudioPlaybackCaptureConfiguration

Unfortunately AudioMixingRule being in a different package,
some of its members had to be made public @hide to be used
by AudioPlaybackCaptureConfiguration.

Bug: 129948989
Test: atest AudioAttributesTest
Change-Id: Ie8cdf67aee9ff7cf9144a66d47c301712516cf87
Signed-off-by: Kevin Rocard <krocard@google.com>
5 years agoFix '-u <user id>' handling in 'adb ime enable' and 'adb ime set'
Yohei Yukawa [Mon, 15 Apr 2019 15:16:58 +0000 (08:16 -0700)]
Fix '-u <user id>' handling in 'adb ime enable' and 'adb ime set'

This is a follow up CL to my previous CLs [1][2], which added
'-u <user id>' option to
   adb shell ime enable <ime id>
and
   adb shell ime set <ime id>
respectively.

Those CL had a bug that was introduced during the last round of the
code review when I was addressing a review comment.  As a result,
those two commands simply fail if '-u' or '--user' option is
specified.  With this CL, those we can finally start specifying the
user ID for those two commands.

This CL also fixes a bug that output for
  adb shell ime set -u all <ime id>
are not correctly formatted.

Note that this CL only fixes a bug in debug shell commands. There
should be no user-visible behavior change in end-user use cases.

 [1]: Ia0f873e4589a9fc3f549469e3d1d966640dc2df5
      e177170f6432631d54788a37f4fb468a02468ed0
 [2]: I397cf0fb418a395dcafc0ab0d8d4e553b0f2eaab
      099f80ce9762e8b20998759fd6082bdcd6291103

Bug: 120784635
Test: Manually tested as follows:
  1. Build aosp_blueline-userdebug and flash it
  2. make -j SoftKeyboard
  3. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
  4. adb shell pm create-user test
  5. adb shell am switch-user 10
  6. adb shell ime disable -u 0 com.example.android.softkeyboard/.SoftKeyboard
     -> Input method com.example.android.softkeyboard/.SoftKeyboard: now disabled for user #0
  7. adb shell ime enable -u 0 com.example.android.softkeyboard/.SoftKeyboard
     -> Input method com.example.android.softkeyboard/.SoftKeyboard: now enabled for user #0
  8. adb shell ime set -u 0 com.example.android.softkeyboard/.SoftKeyboard
     -> Input method com.example.android.softkeyboard/.SoftKeyboard selected for user #0
Test: Manually tested as follows.
  1. Build aosp_blueline-userdebug and flash it
  2. adb shell pm create-user test
  3. adb shell pm create-user restricted_test
  4. adb root
  5. adb shell pm set-user-restriction --user 11 no_debugging_features 1
  6. adb shell am switch-user 10
  7. adb shell am switch-user 11
  8. adb shell am switch-user 0
  9. adb shell ime set -u all com.android.inputmethod.latin/.LatinIME
     -> Input method com.android.inputmethod.latin/.LatinIME selected for user #0
        Input method com.android.inputmethod.latin/.LatinIME selected for user #10
        User #11 is restricted with DISALLOW_DEBUGGING_FEATURES.
 10. adb shell ime disable -u all com.android.inputmethod.latin/.LatinIME
     -> Input method com.android.inputmethod.latin/.LatinIME: now disabled for user #0
        Input method com.android.inputmethod.latin/.LatinIME: now disabled for user #10
        User #11 is restricted with DISALLOW_DEBUGGING_FEATURES.
Change-Id: I4e396519400c0ccd17322fe085b45456621714e7

5 years agoMerge "DO NOT MERGE Turn off LAYER_TYPE_SOFTWARE on BatteryMeterView" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 14:36:46 +0000 (14:36 +0000)]
Merge "DO NOT MERGE Turn off LAYER_TYPE_SOFTWARE on BatteryMeterView" into qt-dev

5 years agoDO NOT MERGE Turn off LAYER_TYPE_SOFTWARE on BatteryMeterView
Evan Laird [Tue, 2 Apr 2019 16:56:00 +0000 (12:56 -0400)]
DO NOT MERGE Turn off LAYER_TYPE_SOFTWARE on BatteryMeterView

We still need to save a layer for the BlendMode.CLEAR paint to do the
right thing. But with this we can save just the layer needed to draw the
battery instead of the whole battery meter view.

Test: visual
Bug: 130536257
Change-Id: I9d5844440250ccd9174e6c001e051c9adf62a2d0
(cherry picked from commit b4c703b8e30e50fa451171be563c556704db5ef4)

5 years agoMerge "Don't hold mPackages when clearing package state" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 14:15:53 +0000 (14:15 +0000)]
Merge "Don't hold mPackages when clearing package state" into qt-dev

5 years agoMerge "Fix wrong MSIME check in onImeWindowSetOnDisplay." into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 12:42:30 +0000 (12:42 +0000)]
Merge "Fix wrong MSIME check in onImeWindowSetOnDisplay." into qt-dev

5 years agoMerge "Fix issue in attached layouting" into qt-dev
Jorim Jaggi [Mon, 15 Apr 2019 12:33:57 +0000 (12:33 +0000)]
Merge "Fix issue in attached layouting" into qt-dev

5 years agoMerge "Add new metrics for ManagedProvisioning." into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 12:25:32 +0000 (12:25 +0000)]
Merge "Add new metrics for ManagedProvisioning." into qt-dev

5 years agoMerge "Reduce transactions for acquiring and releasing provider" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 12:18:30 +0000 (12:18 +0000)]
Merge "Reduce transactions for acquiring and releasing provider" into qt-dev

5 years agoMerge "Catch exceptions thrown from UpdateEngine#applyPayload." into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 11:01:49 +0000 (11:01 +0000)]
Merge "Catch exceptions thrown from UpdateEngine#applyPayload." into qt-dev

5 years agoMerge "Tighten rules for blocking activity starts." into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 10:05:21 +0000 (10:05 +0000)]
Merge "Tighten rules for blocking activity starts." into qt-dev

5 years agoMerge "Add AudioAttributes.getAllowedCapturePolicy" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 09:45:00 +0000 (09:45 +0000)]
Merge "Add AudioAttributes.getAllowedCapturePolicy" into qt-dev

5 years agoMerge "Ensure to update top process state when launching activity" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 08:00:31 +0000 (08:00 +0000)]
Merge "Ensure to update top process state when launching activity" into qt-dev

5 years agoMerge "Add documentation for the APC feature" into qt-dev
Kevin Rocard [Mon, 15 Apr 2019 08:00:05 +0000 (08:00 +0000)]
Merge "Add documentation for the APC feature" into qt-dev

5 years agoMerge "Reduce system calls of ThreadPriorityBooster" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 07:59:34 +0000 (07:59 +0000)]
Merge "Reduce system calls of ThreadPriorityBooster" into qt-dev

5 years agoMerge changes Iac75e4f7,I6569bb45 into qt-dev
Martijn Coenen [Mon, 15 Apr 2019 07:11:36 +0000 (07:11 +0000)]
Merge changes Iac75e4f7,I6569bb45 into qt-dev

* changes:
  Fix Application Zygote use for external services.
  Refactor hostingType/hostingName/hostingNameStr.

5 years agoMerge "Tweak the selection of media button session" into qt-dev
Sungsoo Lim [Mon, 15 Apr 2019 05:55:27 +0000 (05:55 +0000)]
Merge "Tweak the selection of media button session" into qt-dev

5 years agoMerge "DO NOT MERGE: Revert "Media: Add MediaRouterManager to control media route...
TreeHugger Robot [Mon, 15 Apr 2019 05:47:22 +0000 (05:47 +0000)]
Merge "DO NOT MERGE: Revert "Media: Add MediaRouterManager to control media route of other apps"" into qt-dev

5 years agoMerge "Add SD card support for AOT" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 03:53:09 +0000 (03:53 +0000)]
Merge "Add SD card support for AOT" into qt-dev

5 years agoMerge "Renaming or moving files should initiate scan." into qt-dev
Jeff Sharkey [Mon, 15 Apr 2019 03:27:32 +0000 (03:27 +0000)]
Merge "Renaming or moving files should initiate scan." into qt-dev

5 years agoDO NOT MERGE: Revert "Media: Add MediaRouterManager to control media route of other...
Kyunglyul Hyun [Tue, 9 Apr 2019 08:00:51 +0000 (17:00 +0900)]
DO NOT MERGE: Revert "Media: Add MediaRouterManager to control media route of other apps"

This reverts commit 1c8188f2b40cad3dcefdcc3b7e308451bd705180.

Bug: 130511870
Test: atest android.media.cts.MediaRouterTest
Change-Id: I1de6fbeb81b1d5ef0ec4b73173b6525d4c6edc07

5 years agoTweak the selection of media button session
Sungsoo Lim [Fri, 12 Apr 2019 10:10:56 +0000 (19:10 +0900)]
Tweak the selection of media button session

Key events were sent to the session which the lastly activated player app has.
After this CL, key events will be sent to a session 1) which the app
making sounds has, or 2) which the lastly activated player app has.

Bug: 113240750
Test: manually
Change-Id: I6ac128458fd0d30c9e0ed3382939ca9e4e581e22

5 years agoMerge "MediaSession2: Introduce connection hints" into qt-dev
TreeHugger Robot [Sun, 14 Apr 2019 22:19:05 +0000 (22:19 +0000)]
Merge "MediaSession2: Introduce connection hints" into qt-dev

5 years agoMerge "Add "identifier" concept to Intent." into qt-dev
Dianne Hackborn [Sun, 14 Apr 2019 21:17:58 +0000 (21:17 +0000)]
Merge "Add "identifier" concept to Intent." into qt-dev

5 years agoMerge "Remove temporary upgrade logic." into qt-dev
Jeff Sharkey [Sun, 14 Apr 2019 21:17:11 +0000 (21:17 +0000)]
Merge "Remove temporary upgrade logic." into qt-dev

5 years agoRenaming or moving files should initiate scan.
Jeff Sharkey [Sun, 14 Apr 2019 18:23:35 +0000 (12:23 -0600)]
Renaming or moving files should initiate scan.

These FileSystemProvider operations should initiate a MediaStore scan
to ensure that it presents an updated view of the filesystem.

Bug: 129901992130356514
Test: manual
Change-Id: I612481282cf739b88a1637b147fb4d4555fb5b8f

5 years agoMerge "Add missing icon packs for Launcher Bug: 126738409 Test: builds, flashed,...
TreeHugger Robot [Sun, 14 Apr 2019 06:24:37 +0000 (06:24 +0000)]
Merge "Add missing icon packs for Launcher Bug: 126738409 Test: builds, flashed, visually verified" into qt-dev

5 years agoAudioService: better vol adjustment logs
Jean-Michel Trivi [Sat, 13 Apr 2019 23:52:27 +0000 (16:52 -0700)]
AudioService: better vol adjustment logs

Log volume adjustements coming from MediaSession.
Do not log SAME adjustements internal APIs.

Bug: 129721367
Test: press vol button then check "adb shell dumpsys audio"
Change-Id: Iea5b6195a09f0b1faed1448865cd7ee654f90163

5 years agoAudioManager: test API for dynamic audio policy
Jean-Michel Trivi [Fri, 12 Apr 2019 22:43:56 +0000 (15:43 -0700)]
AudioManager: test API for dynamic audio policy

Add test api to check if a dynamic audio policy is already registered

Bug: 129708340
Test: atest AudioPolicyTest
Change-Id: Id9709e16d775f9552eccb52f60584588c320d9f0

5 years agoAudioPolicy: fix test API for focus policy
Jean-Michel Trivi [Fri, 12 Apr 2019 18:20:35 +0000 (11:20 -0700)]
AudioPolicy: fix test API for focus policy

Remove AudioPolicy.Builder.setIsTestFocusPolicy from system API
  definitions.
Add the required AudioPolicy-related methods to test API, along
  with the test-only AudioPolicy.Builder.setIsTestFocusPolicy
  method

Bug: 130225439
Test: gts-tradefed run gts -m GtsGmscoreHostTestCases -t 'com.google.android.gts.audiopolicy.AudioPolicyHostTest#testFocusPolicy'

Change-Id: I14f52bdc33b7a342f21e664104718b40f4b8a932

5 years agoMerge "Deprecate MediaStore.DownloadColumns.DESCRIPTION." into qt-dev
Sudheer Shanka [Sat, 13 Apr 2019 20:01:10 +0000 (20:01 +0000)]
Merge "Deprecate MediaStore.DownloadColumns.DESCRIPTION." into qt-dev

5 years agoMerge "ActivityMetricsLogger: Fix cold launches treated incorrectly as invalid transi...
TreeHugger Robot [Sat, 13 Apr 2019 18:21:34 +0000 (18:21 +0000)]
Merge "ActivityMetricsLogger: Fix cold launches treated incorrectly as invalid transitions" into qt-dev

5 years agoMerge "Fix re-installation via package uri-s" into qt-dev
TreeHugger Robot [Sat, 13 Apr 2019 14:12:03 +0000 (14:12 +0000)]
Merge "Fix re-installation via package uri-s" into qt-dev

5 years agoMerge "Pass core platform API policy property to ART" into qt-dev
David Brazdil [Sat, 13 Apr 2019 09:59:01 +0000 (09:59 +0000)]
Merge "Pass core platform API policy property to ART" into qt-dev

5 years agoAdd missing icon packs for Launcher
Hyunyoung Song [Sat, 13 Apr 2019 06:47:14 +0000 (23:47 -0700)]
Add missing icon packs for Launcher
Bug: 126738409
Test: builds, flashed, visually verified

Change-Id: I30ff50f697e47adf6cec320f8633c8c6160b1ecf

5 years agoMerge "Adding Face Setting Stats." into qt-dev
Kevin Chyn [Sat, 13 Apr 2019 06:24:04 +0000 (06:24 +0000)]
Merge "Adding Face Setting Stats." into qt-dev

5 years agoMerge "Remove appops debug logic" into qt-dev
TreeHugger Robot [Sat, 13 Apr 2019 06:06:40 +0000 (06:06 +0000)]
Merge "Remove appops debug logic" into qt-dev

5 years agoMerge "Reset the texture coordinates and also take aspect ratio into account." into...
Wu Ahan [Sat, 13 Apr 2019 05:39:24 +0000 (05:39 +0000)]
Merge "Reset the texture coordinates and also take aspect ratio into account." into qt-dev

5 years agoMerge "Make notification effects for automotive configurable." into qt-dev
TreeHugger Robot [Sat, 13 Apr 2019 05:16:05 +0000 (05:16 +0000)]
Merge "Make notification effects for automotive configurable." into qt-dev

5 years agoMerge "Expose APIs for the experiment ids back from statsd." into qt-dev
Joe Onorato [Sat, 13 Apr 2019 05:07:32 +0000 (05:07 +0000)]
Merge "Expose APIs for the experiment ids back from statsd." into qt-dev

5 years agoMerge "Add logging for bubble flyout action." into qt-dev
TreeHugger Robot [Sat, 13 Apr 2019 04:49:44 +0000 (04:49 +0000)]
Merge "Add logging for bubble flyout action." into qt-dev

5 years agoExpose APIs for the experiment ids back from statsd.
Joe Onorato [Sat, 13 Apr 2019 01:36:22 +0000 (18:36 -0700)]
Expose APIs for the experiment ids back from statsd.

Bug: 129099771
Test: treehugger
Change-Id: I8689a06ae5667a146064bc870be8b5a4e92fb9b7

5 years agoMerge "Remove config entries for music and gallery role." into qt-dev
TreeHugger Robot [Sat, 13 Apr 2019 01:55:34 +0000 (01:55 +0000)]
Merge "Remove config entries for music and gallery role." into qt-dev

5 years agoMerge "Cleans up PackageInstaller.Session docs" into qt-dev
TreeHugger Robot [Sat, 13 Apr 2019 01:54:23 +0000 (01:54 +0000)]
Merge "Cleans up PackageInstaller.Session docs" into qt-dev

5 years agoAdd logging for bubble flyout action.
Steven Wu [Thu, 11 Apr 2019 18:10:42 +0000 (14:10 -0400)]
Add logging for bubble flyout action.

Bug: 123543171
Test: manual
Change-Id: I7b0a21c0a0c23c211e4c72ec5b2dfc7ea60537d6

5 years agoMerge "Assume nav bar window is visible by default if the fragment doesn't exist...
TreeHugger Robot [Sat, 13 Apr 2019 01:09:53 +0000 (01:09 +0000)]
Merge "Assume nav bar window is visible by default if the fragment doesn't exist" into qt-dev

5 years agoMerge "Sharesheet - force DS icons to be round" into qt-dev
TreeHugger Robot [Sat, 13 Apr 2019 01:01:22 +0000 (01:01 +0000)]
Merge "Sharesheet - force DS icons to be round" into qt-dev

5 years agoEnd button fade animation when its visiblity changes
Matthew Ng [Sat, 13 Apr 2019 00:12:11 +0000 (17:12 -0700)]
End button fade animation when its visiblity changes

Back button reappeared after dismissing ime because fade animation
ended making the back button visible even though disabled flags
tried to make button invisible.

Fixes: 130442512
Test: manual
Change-Id: I478723d79d9612e2e1177784c75e7f755070aa9f

5 years agoAdd AppPredictionServiceExists check.
George Hodulik [Wed, 27 Mar 2019 18:18:43 +0000 (11:18 -0700)]
Add AppPredictionServiceExists check.

When the flag is set, Chooser will check if APS exists and use it for
direct share ranking. Otherwise, Chooser defaults to just querying ShortcutManager
itself. ResolverActivity will register an appPredictor with ui surface
"resolver" and ChooserActivity will use ui surface "share".

Later, we will add a similar behavior to use the AppPredictor to
sort actvities by default (if it exists), otherwise use the old
API ResolverRankerService.

Test: atest frameworks/base/core/tests/coretests/src/com/android/internal/app
Test: Added parameterized tests for case when there is no AppPredictionService.
Bug:129014961
Change-Id: I6109aa8f2436cf0b3c3b4fbc36e571b2b00fe45c

5 years agoMove DisplayTransformManagerTest
Christine Franks [Fri, 12 Apr 2019 23:38:02 +0000 (16:38 -0700)]
Move DisplayTransformManagerTest

Move it to FrameworksMockingServicesTests, so that we can mock
SystemProperties and make the tests work even without disabling
security policies.

Bug: 130442008
Test: atest FrameworksMockingServicesTests:DisplayTransformManagerTest
Change-Id: Ia4afbb843ec1f95d8de9b275ce8b74d99135f775

5 years agoFix Emergency Number API doc
sqian [Fri, 12 Apr 2019 23:35:13 +0000 (16:35 -0700)]
Fix Emergency Number API doc

1) remove documentation about null return
2) Map including the key*s* as the active subscription ID*s*

Bug: 130426238
Test: Treehugger
Change-Id: I4c9b682ef25378b9de91cd6255ed6fc514ea220d

5 years agoMerge "Log constellation types in GnssMetrics" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 23:29:34 +0000 (23:29 +0000)]
Merge "Log constellation types in GnssMetrics" into qt-dev

5 years agoSharesheet - force DS icons to be round
Mike Digman [Fri, 12 Apr 2019 17:02:49 +0000 (10:02 -0700)]
Sharesheet - force DS icons to be round

DS icons cannot be provided as AdaptiveIcons. Most today are
provided as a circular bitmap but there is no shape guarantee.
To provide visual consistency, scale and mask all DS icons to a
circle. Currently, all DS icons are shaped making them hard to
see.

Fixes: 129980123
Test: manual images large and small, rectangular, circular, etc
Change-Id: I011b35c1334affb1224f62beafd3f72026198054

5 years agoMerge "Fix FD leak in the Zygote." into qt-dev
Christian Wailes [Fri, 12 Apr 2019 23:22:43 +0000 (23:22 +0000)]
Merge "Fix FD leak in the Zygote." into qt-dev

5 years agoAssume nav bar window is visible by default if the fragment doesn't exist
Winson Chung [Fri, 12 Apr 2019 23:00:24 +0000 (16:00 -0700)]
Assume nav bar window is visible by default if the fragment doesn't exist

Bug: 129785904
Test: Kill sysui, ensure you can swipe up
Change-Id: Ib92ab26f5bba8fba1081337331ba2aa2b02e18dc

5 years agoMerge "Hide MediaPlayer2 and related classes" into qt-dev
TreeHugger Robot [Fri, 12 Apr 2019 22:54:28 +0000 (22:54 +0000)]
Merge "Hide MediaPlayer2 and related classes" into qt-dev

5 years agoActivityMetricsLogger: Fix cold launches treated incorrectly as invalid transitions
Vishnu Nair [Fri, 12 Apr 2019 20:51:40 +0000 (13:51 -0700)]
ActivityMetricsLogger: Fix cold launches treated incorrectly as invalid transitions

In some cases where the process is killed and the activity is launched, its start result will be
START_TASK_TO_FRONT if its TaskRecord already exists. In this case the launch should be treated
as a COLD launch since the process will be created.

Bug: 130401938
Test: atest ActivityMetricsLoggerTests
Change-Id: I2841fe198d189be692c38f94829604bd1e4aa3b5

5 years agoDeprecate MediaStore.DownloadColumns.DESCRIPTION.
Sudheer Shanka [Fri, 12 Apr 2019 22:05:33 +0000 (15:05 -0700)]
Deprecate MediaStore.DownloadColumns.DESCRIPTION.

Bug: 130226648
Test: manual
Change-Id: I020d681e988eaa37871994860bea5ae2ab81d10e

5 years agoMerge "Add tests for AppOpsService foreground location" into qt-dev
Amith Yamasani [Fri, 12 Apr 2019 22:13:46 +0000 (22:13 +0000)]
Merge "Add tests for AppOpsService foreground location" into qt-dev

5 years agoRemove key_ prefix from CarrierConfig Strings
Nathan Harold [Thu, 11 Apr 2019 23:33:26 +0000 (16:33 -0700)]
Remove key_ prefix from CarrierConfig Strings

Remove the key_ prefix from the resolved string
of:
KEY_SUBSCRIPTION_GROUP_UUID_STRING; and
KEY_IS_OPPORTUNISTIC_SUBSCRIPTION_BOOL

Bug: 130374824
Test: compilation (trivial string change)
Merged-In: I1ae1df9d33229d3f3aba237d865ceb2373761af4
Change-Id: I1ae1df9d33229d3f3aba237d865ceb2373761af4
(cherry picked from commit bbb8968e54707beb893ba23c38667173c072d1a5)

5 years agoMake notification effects for automotive configurable.
Adora Zhang [Tue, 9 Apr 2019 00:10:15 +0000 (17:10 -0700)]
Make notification effects for automotive configurable.

Bug: 129677989
Test: runtest -x frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/BuzzBeepBlinkTest.java
Change-Id: Ib6d208942d35aa38d3820473e9218cc84ccd5d4c

5 years agoMerge "Add class docs for InputMonitor." into qt-dev
Michael Wright [Fri, 12 Apr 2019 21:39:51 +0000 (21:39 +0000)]
Merge "Add class docs for InputMonitor." into qt-dev