OSDN Git Service

android-x86/frameworks-base.git
6 years agoDisplay Cutout: invalidate overlay view when cutout changes
Adrian Roos [Wed, 14 Mar 2018 13:43:03 +0000 (14:43 +0100)]
Display Cutout: invalidate overlay view when cutout changes

Fixes an issue where the emulation overlay did not
properly update when changing the cutout to a similarly
sized cutout.

Change-Id: Ie29829c08185b97b40c87b772fec452a01c0ef3a
Fixes: 74404788
Test: Select Narrow display cutout, then select Wide or Double cutout. Verify that the cutout properly changes.

6 years agoMerge "Ensure members are non-null in callback" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 11:00:25 +0000 (11:00 +0000)]
Merge "Ensure members are non-null in callback" into pi-dev

6 years agoMerge "Encode F16 Bitmaps to 8-bit P3" into pi-dev
Leon Scroggins [Tue, 13 Mar 2018 10:40:25 +0000 (10:40 +0000)]
Merge "Encode F16 Bitmaps to 8-bit P3" into pi-dev

6 years agoMerge "Use the correct drawable to badge user icon" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 10:24:15 +0000 (10:24 +0000)]
Merge "Use the correct drawable to badge user icon" into pi-dev

6 years agoMerge "Atoms: Bluetooth" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 10:22:28 +0000 (10:22 +0000)]
Merge "Atoms: Bluetooth" into pi-dev

6 years agoEnsure members are non-null in callback
Christofer Ã…kersten [Tue, 13 Mar 2018 04:30:06 +0000 (13:30 +0900)]
Ensure members are non-null in callback

Bug: 74570008
Test: runtest-cts-MediaComponents -r 100
Change-Id: I59590afae4e67fa8a90f8a7b4a6be58ce54e2806

6 years agoMerge "Removing the countdown timer and countdown progress bar from the Car User...
Jovana Knezevic [Tue, 13 Mar 2018 05:26:21 +0000 (05:26 +0000)]
Merge "Removing the countdown timer and countdown progress bar from the Car User Picker." into pi-dev

6 years agoMerge changes from topics "session2_additem", "session2_playlistmetadata", "session2_...
Jaewan Kim [Tue, 13 Mar 2018 04:30:50 +0000 (04:30 +0000)]
Merge changes from topics "session2_additem", "session2_playlistmetadata", "session2_getplaylist" into pi-dev

* changes:
  MediaSession2: Implement add/remove/replacePlaylistItem()
  MediaSession2: Implement update/getPlaylistMetadata()
  MediaSession2: Implement get/setPlaylist()

6 years agoMerge "WindowState: Update mLastSurfaceInsets at creation time." into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 04:09:33 +0000 (04:09 +0000)]
Merge "WindowState: Update mLastSurfaceInsets at creation time." into pi-dev

6 years agoMerge "Limit the systemconfig tags allowed to vendors" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 04:08:33 +0000 (04:08 +0000)]
Merge "Limit the systemconfig tags allowed to vendors" into pi-dev

6 years agoMerge "Update FingerprintDialog UI for landscape orientation" into pi-dev
Kevin Chyn [Tue, 13 Mar 2018 04:06:27 +0000 (04:06 +0000)]
Merge "Update FingerprintDialog UI for landscape orientation" into pi-dev

6 years agoAtoms: Bluetooth
Tej Singh [Sat, 10 Mar 2018 03:48:11 +0000 (19:48 -0800)]
Atoms: Bluetooth

Adds atom defininitions for some bluetooth atoms.
Logging will go in aosp. ag/3668205 contained most of this change, but
is being split up and moved to pi-dev and aosp.

Bug: 7445717572320489
Test: build success on marlin
Change-Id: Ib14a74eabfab08bbae5d4d549244f1022e8c34f0

6 years agoMerge "Passing the TaskDescription to the IconLoader" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 03:14:59 +0000 (03:14 +0000)]
Merge "Passing the TaskDescription to the IconLoader" into pi-dev

6 years agoMediaSession2: Implement add/remove/replacePlaylistItem()
Jaewan Kim [Mon, 12 Mar 2018 09:04:17 +0000 (18:04 +0900)]
MediaSession2: Implement add/remove/replacePlaylistItem()

Bug: 73149584
Test: Run CTS with MediaComponents/runcts.sh
Change-Id: I29804f52eaca45de21fd66634e4eeee2c72a9a25

6 years agoMediaSession2: Implement update/getPlaylistMetadata()
Jaewan Kim [Mon, 12 Mar 2018 01:49:28 +0000 (10:49 +0900)]
MediaSession2: Implement update/getPlaylistMetadata()

Bug: 74174649
Test: Run CTS with MediaComponents/runcts.sh
Change-Id: I3ac2dabfc7f532bf7d7262940e3dc309e97fd45a

6 years ago[automerger] Rework thumbnail cleanup am: 0dc23f95a1 skipped: 75767d1e3c am: 6720ea0b...
Marco Nelissen [Tue, 13 Mar 2018 02:51:06 +0000 (02:51 +0000)]
[automerger] Rework thumbnail cleanup am: 0dc23f95a1 skipped: 75767d1e3c am: 6720ea0b94 am: 16ee12ac68 am: d08bb4b174 am: b3f50c9ccb  -s ours am: b50ae71d99  -s ours
am: 21e5aeefce  -s ours

Change-Id: Ib0d77d48f378c8fc345c3c50e2be8d41cd4b28db

6 years agoMediaSession2: Implement get/setPlaylist()
Jaewan Kim [Thu, 8 Mar 2018 13:17:11 +0000 (22:17 +0900)]
MediaSession2: Implement get/setPlaylist()

Bug: 74326040
Test: Run CtsMediaTests for MediaSession2
Change-Id: Ib799c03edd2f79c6f9ffa989aea1137018ec55b3

6 years agoMerge "Do not darken scrims when unlocking with fp" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 02:40:26 +0000 (02:40 +0000)]
Merge "Do not darken scrims when unlocking with fp" into pi-dev

6 years ago[automerger] Rework thumbnail cleanup am: 0dc23f95a1 skipped: 75767d1e3c am: 6720ea0b...
Marco Nelissen [Tue, 13 Mar 2018 02:29:45 +0000 (02:29 +0000)]
[automerger] Rework thumbnail cleanup am: 0dc23f95a1 skipped: 75767d1e3c am: 6720ea0b94 am: 16ee12ac68 am: d08bb4b174 am: b3f50c9ccb  -s ours
am: b50ae71d99  -s ours

Change-Id: Ic18f8e6449d4310924bac6a40acff9df4d743dc6

6 years agoMerge "heif: add option for specifying bitmap pixel format" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 02:29:25 +0000 (02:29 +0000)]
Merge "heif: add option for specifying bitmap pixel format" into pi-dev

6 years ago[automerger] Rework thumbnail cleanup am: 0dc23f95a1 skipped: 75767d1e3c am: 6720ea0b...
Marco Nelissen [Tue, 13 Mar 2018 02:11:30 +0000 (02:11 +0000)]
[automerger] Rework thumbnail cleanup am: 0dc23f95a1 skipped: 75767d1e3c am: 6720ea0b94 am: 16ee12ac68 am: d08bb4b174
am: b3f50c9ccb  -s ours

Change-Id: I1b214134e879310733ee40b138c29cfc0a78b32e

6 years agoMerge "Fingerprint should check current client when task stack changes" into pi-dev
Kevin Chyn [Tue, 13 Mar 2018 02:04:59 +0000 (02:04 +0000)]
Merge "Fingerprint should check current client when task stack changes" into pi-dev

6 years agoMerge "Use isKeyguardLocked to determine whether to resume." into pi-dev
Bryce Lee [Tue, 13 Mar 2018 01:44:52 +0000 (01:44 +0000)]
Merge "Use isKeyguardLocked to determine whether to resume." into pi-dev

6 years agoUse isKeyguardLocked to determine whether to resume.
Bryce Lee [Mon, 12 Mar 2018 16:04:44 +0000 (09:04 -0700)]
Use isKeyguardLocked to determine whether to resume.

Previously, we used isKeyguardActive to determine whether we should
resume an activity. This does not account for the keyguard going
away, which can leads to a timing issue where we do not resume an
activity when coming out of sleep from fingerprint unlock.

This change also prevents us from pausing a stopped activity that is
is considered to be the resumed activity as it will be brought to
the resumed state.

Fixes: 73991496
Test: Open display settings, lock screen, fingerprint unlock, press
      back, verify main settings page is shown immediately.

Change-Id: I3a7a33f5359a41fc958e3d8e799c39f5193ecb56

6 years agoMerge "Allow carrier-privileged apps to access voicemail provider." into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 01:41:35 +0000 (01:41 +0000)]
Merge "Allow carrier-privileged apps to access voicemail provider." into pi-dev

6 years agoMerge "Allow carrier privileged apps to access Telephony/Subscription APIs." into...
TreeHugger Robot [Tue, 13 Mar 2018 01:41:35 +0000 (01:41 +0000)]
Merge "Allow carrier privileged apps to access Telephony/Subscription APIs." into pi-dev

6 years ago[automerger] Rework thumbnail cleanup am: 0dc23f95a1 skipped: 75767d1e3c am: 6720ea0b...
Android Build Merger (Role) [Tue, 13 Mar 2018 00:25:54 +0000 (00:25 +0000)]
[automerger] Rework thumbnail cleanup am: 0dc23f95a1 skipped: 75767d1e3c am: 6720ea0b94 am: 16ee12ac68 am: d08bb4b174

Change-Id: I9749a1bacc983ee7fff06649f55d9b91d8df54ac

6 years ago[automerger] Rework thumbnail cleanup am: 0dc23f95a1 skipped: 75767d1e3c am: 6720ea0b...
Android Build Merger (Role) [Tue, 13 Mar 2018 00:25:44 +0000 (00:25 +0000)]
[automerger] Rework thumbnail cleanup am: 0dc23f95a1 skipped: 75767d1e3c am: 6720ea0b94 am: 16ee12ac68

Change-Id: If81e264d57c533a12e270c197e99a31c895fa2dd

6 years ago[automerger] Rework thumbnail cleanup am: 0dc23f95a1 skipped: 75767d1e3c am: 6720ea0b94
Android Build Merger (Role) [Tue, 13 Mar 2018 00:25:33 +0000 (00:25 +0000)]
[automerger] Rework thumbnail cleanup am: 0dc23f95a1 skipped: 75767d1e3c am: 6720ea0b94

Change-Id: Ibd9203bd7f91b9d25aaf497239e52e81bf18c295

6 years ago[automerger] Rework thumbnail cleanup am: 0dc23f95a1 skipped: 75767d1e3c
Android Build Merger (Role) [Tue, 13 Mar 2018 00:25:25 +0000 (00:25 +0000)]
[automerger] Rework thumbnail cleanup am: 0dc23f95a1 skipped: 75767d1e3c

Change-Id: I36851ba644feb11c57aff0fe6bb218f5c6f14be4

6 years ago[automerger] Rework thumbnail cleanup am: 0dc23f95a1
Android Build Merger (Role) [Tue, 13 Mar 2018 00:23:52 +0000 (00:23 +0000)]
[automerger] Rework thumbnail cleanup am: 0dc23f95a1

Change-Id: Ia3a740184191990fa43ca705b5eae8ea572fb6c1

6 years agoRework thumbnail cleanup
Marco Nelissen [Tue, 7 Nov 2017 21:52:02 +0000 (13:52 -0800)]
Rework thumbnail cleanup

Bug: 63766886
Test: ran CTS tests
Change-Id: I1f92bb014e275eafe3f42aef1f8c817f187c6608
Merged-In: I1f92bb014e275eafe3f42aef1f8c817f187c6608

6 years agoMerge "Don't throw exception for duplicate resume" into pi-dev
Andrii Kulian [Tue, 13 Mar 2018 00:21:26 +0000 (00:21 +0000)]
Merge "Don't throw exception for duplicate resume" into pi-dev

6 years agoMerge "Make MP2 operations asynchronous and send matching notifications" into pi-dev
TreeHugger Robot [Tue, 13 Mar 2018 00:09:02 +0000 (00:09 +0000)]
Merge "Make MP2 operations asynchronous and send matching notifications" into pi-dev

6 years agoMerge "Rework thumbnail cleanup" into oc-dr1-dev am: 30755424d1 -s ours
Marco Nelissen [Mon, 12 Mar 2018 23:44:52 +0000 (23:44 +0000)]
Merge "Rework thumbnail cleanup" into oc-dr1-dev am: 30755424d1  -s ours
am: ca4a879f9d  -s ours

Change-Id: I33c98cf6058de6d52928a73a3fce7d5d7fcab5bd

6 years agoUpdate FingerprintDialog UI for landscape orientation
Kevin Chyn [Mon, 12 Mar 2018 21:42:17 +0000 (14:42 -0700)]
Update FingerprintDialog UI for landscape orientation

Fixes: 73818869

Test: tested with modified FingerprintDialog apk
Change-Id: I59664669920c1dfaf3446b68c42de6d9dda83acc

6 years agoMerge "Rework thumbnail cleanup" into oc-dr1-dev
Marco Nelissen [Mon, 12 Mar 2018 23:30:48 +0000 (23:30 +0000)]
Merge "Rework thumbnail cleanup" into oc-dr1-dev
am: 30755424d1  -s ours

Change-Id: I0246cd0dcb70293c1c183086334fcdea77d0a604

6 years agoMerge "Migrate multidex to androidx" into pi-dev
Alan Viverette [Mon, 12 Mar 2018 23:15:51 +0000 (23:15 +0000)]
Merge "Migrate multidex to androidx" into pi-dev

6 years agoDo not darken scrims when unlocking with fp
Lucas Dupin [Mon, 12 Mar 2018 18:08:31 +0000 (11:08 -0700)]
Do not darken scrims when unlocking with fp

Scrims would darken because notification panel would collapse.
Introduced a method to ignore the panel expansion.

Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Test: unlock with fp from bouncer and AOD
Test: pull down QS after unlocking, look at scrims
Fixes: 74426737
Change-Id: I94f4a3f3b5ea1eed709c853d945e646cd3f41f78

6 years agoMerge "Rework thumbnail cleanup" into oc-dr1-dev
Marco Nelissen [Mon, 12 Mar 2018 23:12:10 +0000 (23:12 +0000)]
Merge "Rework thumbnail cleanup" into oc-dr1-dev

6 years agoMerge "Carrier id api rename" into pi-dev
Chen Xu [Mon, 12 Mar 2018 22:49:21 +0000 (22:49 +0000)]
Merge "Carrier id api rename" into pi-dev

6 years agoWindowState: Update mLastSurfaceInsets at creation time.
Robert Carr [Mon, 12 Mar 2018 22:49:08 +0000 (15:49 -0700)]
WindowState: Update mLastSurfaceInsets at creation time.

Otherwise the first call to updateSurfacePosition may think the surface
insets are changing and defer a transaction, but the client may
not necessarily render another frame as the insets were not actually
changing.

Bug: 74084094
Test: Manual. go/wm-smoke.
Change-Id: I917dff05c4ac0b578d3ccc48c95a10cad8d6d0f9

6 years agoMerge "DisplayCutout: Support more than one cutout" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 22:45:34 +0000 (22:45 +0000)]
Merge "DisplayCutout: Support more than one cutout" into pi-dev

6 years agoRemoving the countdown timer and countdown progress bar from the Car User Picker.
jovanak [Fri, 9 Mar 2018 23:31:44 +0000 (15:31 -0800)]
Removing the countdown timer and countdown progress bar from the Car User Picker.

For now, this means we stay on this page until the user makes a selection.

Change-Id: I84c098f9aacd587e2a75e1be8851a830e685dba6
Fixes: 74445361
Bug: 73499223
Test: Tested on mojave. No automated tests for the switcher yet.

6 years ago[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0...
Marco Nelissen [Mon, 12 Mar 2018 22:23:20 +0000 (22:23 +0000)]
[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0e6 am: ddfcb07714  -s ours am: 7e7681f7c3  -s ours
am: 36f77be954  -s ours

Change-Id: I3aed2cd01667f1befe5bb401cef41922f3133da7

6 years agoUse the correct drawable to badge user icon
Tony Mak [Tue, 6 Mar 2018 11:24:51 +0000 (11:24 +0000)]
Use the correct drawable to badge user icon

Also, ic_corp_user_badge is now tinted by default color, insteaad
on white by default.

Test: Create managed user, observe the icon is now blue on white.
Test: Wifi data usage, observe the icon of "All work apps" are now
grey instead of white.

FIXES: 71568987
Merged-In:Ic6c8ed15644c6e7894f2a84320077a3962603b5b

Change-Id: Ic6c8ed15644c6e7894f2a84320077a3962603b5b

6 years ago[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0...
Marco Nelissen [Mon, 12 Mar 2018 22:09:28 +0000 (22:09 +0000)]
[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0e6 am: ddfcb07714  -s ours
am: 7e7681f7c3  -s ours

Change-Id: Ic1dc057f8e32e2ef4ab09892f1d46a9f2bf89186

6 years ago[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0e6
Marco Nelissen [Mon, 12 Mar 2018 21:58:49 +0000 (21:58 +0000)]
[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0e6
am: ddfcb07714  -s ours

Change-Id: I9f21bbc8a7e4feac60a233fb7c79c587b0bc1a82

6 years agoMerge "Using zen duration preference" into pi-dev
Beverly Tai [Mon, 12 Mar 2018 21:39:18 +0000 (21:39 +0000)]
Merge "Using zen duration preference" into pi-dev

6 years agoMerge "TextClassifierService.onSelectionEvent" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 21:35:25 +0000 (21:35 +0000)]
Merge "TextClassifierService.onSelectionEvent" into pi-dev

6 years agoMerge "Add more APIs on hidden API light greylist" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 21:30:55 +0000 (21:30 +0000)]
Merge "Add more APIs on hidden API light greylist" into pi-dev

6 years agoMerge changes from topic "thumbnails-nyc-mr1-dev" into nyc-mr2-dev
Marco Nelissen [Mon, 12 Mar 2018 21:29:58 +0000 (21:29 +0000)]
Merge changes from topic "thumbnails-nyc-mr1-dev" into nyc-mr2-dev

* changes:
  [automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a
  [automerger] Rework thumbnail cleanup am: 82a2a87474
  Rework thumbnail cleanup

6 years agoMerge changes from topic "thumbnails-nyc-mr1-dev" into cw-f-dev
Marco Nelissen [Mon, 12 Mar 2018 21:29:58 +0000 (21:29 +0000)]
Merge changes from topic "thumbnails-nyc-mr1-dev" into cw-f-dev

* changes:
  [automerger] Rework thumbnail cleanup am: 82a2a87474
  Rework thumbnail cleanup

6 years agoMerge "Rework thumbnail cleanup" into nyc-mr1-dev
Marco Nelissen [Mon, 12 Mar 2018 21:29:58 +0000 (21:29 +0000)]
Merge "Rework thumbnail cleanup" into nyc-mr1-dev

6 years agoheif: add option for specifying bitmap pixel format
Chong Zhang [Thu, 8 Mar 2018 00:22:18 +0000 (16:22 -0800)]
heif: add option for specifying bitmap pixel format

Add an option similar to BitmapFactory.Options to the bitmap
extraction APIs added in P to allow the app to specify bitmap's
pixel format. MediaMetadataRetriever's old getFrameAtTime()
only allows extraction in RGB565, for image use case the bitdepth
could be too low.

Also change return type of getFramesAtIndex to List as
Lint is complaining about returning raw arrays.

bug: 63633199
bug: 73886998

Change-Id: I40f0a421c767483e32c7744180dc5a187681e066

6 years agoMerge "Log interruptive notifications" into pi-dev
Julia Reynolds [Mon, 12 Mar 2018 21:10:59 +0000 (21:10 +0000)]
Merge "Log interruptive notifications" into pi-dev

6 years agoMerge "Add default URL bar resource id for autofill compat mode." into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 21:05:59 +0000 (21:05 +0000)]
Merge "Add default URL bar resource id for autofill compat mode." into pi-dev

6 years agoRework thumbnail cleanup -- DO NOT MERGE am: 338438b389 am: dfd8732488 -s ours
Marco Nelissen [Mon, 12 Mar 2018 20:39:16 +0000 (20:39 +0000)]
Rework thumbnail cleanup -- DO NOT MERGE am: 338438b389 am: dfd8732488  -s ours
am: afa1ac1c45  -s ours

Change-Id: I25e440aa943e7eae1315f2d14f9aa5a69ec84d6d

6 years agoMerge "Implemented WebView.isVisibleToUserForAutofill()" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 20:35:53 +0000 (20:35 +0000)]
Merge "Implemented WebView.isVisibleToUserForAutofill()" into pi-dev

6 years agoMerge "Expose whether a snapshot is a real snapshot" into pi-dev
Winson Chung [Mon, 12 Mar 2018 20:34:07 +0000 (20:34 +0000)]
Merge "Expose whether a snapshot is a real snapshot" into pi-dev

6 years agoDon't throw exception for duplicate resume
Andrii Kulian [Thu, 8 Mar 2018 23:42:24 +0000 (15:42 -0800)]
Don't throw exception for duplicate resume

A double resume request is possible when an activity receives two
consequent transactions with relaunch requests and the second is one
is omitted. We still get two resume requests for the final state.

Fixes: 74074327
Test: FrameworksCoreTests:ActivityThreadTest
Change-Id: I8bb8594948a17b7fbf595a49026ff33b54b66049

6 years agoRework thumbnail cleanup -- DO NOT MERGE am: 338438b389
Marco Nelissen [Mon, 12 Mar 2018 20:30:31 +0000 (20:30 +0000)]
Rework thumbnail cleanup -- DO NOT MERGE am: 338438b389
am: dfd8732488  -s ours

Change-Id: I55fc68fb627fa472cb7609c0d66e5679c03203fd

6 years agoRework thumbnail cleanup
Marco Nelissen [Tue, 7 Nov 2017 21:52:02 +0000 (13:52 -0800)]
Rework thumbnail cleanup

Bug: 63766886
Test: ran CTS tests
Change-Id: I1f92bb014e275eafe3f42aef1f8c817f187c6608
Merged-In: I1f92bb014e275eafe3f42aef1f8c817f187c6608
(cherry picked from commit 6d2096f3889d38da60099b1b5678347de4f042bf)

6 years agoRework thumbnail cleanup -- DO NOT MERGE
Marco Nelissen [Mon, 12 Mar 2018 20:18:40 +0000 (20:18 +0000)]
Rework thumbnail cleanup -- DO NOT MERGE
am: 338438b389

Change-Id: Ie70f916db23cfed4138812cc10a0c708ef1d45a4

6 years agoMerge "Revert "Disable LTO temporarily for hwui"" into pi-dev
Pirama Arumuga Nainar [Mon, 12 Mar 2018 20:16:01 +0000 (20:16 +0000)]
Merge "Revert "Disable LTO temporarily for hwui"" into pi-dev

6 years agoMerge "Unhide ImsCallProfileConstructor." into pi-dev
Mohamed Abdalkader [Mon, 12 Mar 2018 19:54:40 +0000 (19:54 +0000)]
Merge "Unhide ImsCallProfileConstructor." into pi-dev

6 years ago[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0e6
Android Build Merger (Role) [Mon, 12 Mar 2018 19:54:22 +0000 (19:54 +0000)]
[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0e6

Change-Id: Id9b936c4829603ea09fcc631a56755805ffc2b83

6 years agoMerge "AudioService: Hearing Aid output management" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 19:46:33 +0000 (19:46 +0000)]
Merge "AudioService: Hearing Aid output management" into pi-dev

6 years agoMerge "Add Application.getProcessName()" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 19:43:22 +0000 (19:43 +0000)]
Merge "Add Application.getProcessName()" into pi-dev

6 years agoMerge "heif: add definition for HEVC Main Still Picture profile" into pi-dev
Chong Zhang [Mon, 12 Mar 2018 19:40:00 +0000 (19:40 +0000)]
Merge "heif: add definition for HEVC Main Still Picture profile" into pi-dev

6 years agoAdd more APIs on hidden API light greylist
David Brazdil [Mon, 12 Mar 2018 15:16:14 +0000 (15:16 +0000)]
Add more APIs on hidden API light greylist

Seen in use by apps.

Bug: 71501570
Test: make
Change-Id: Ia639444acb36d2124d6c9c5fed32827d6c9edcae

6 years agoTextClassifierService.onSelectionEvent
Abodunrinwa Toki [Tue, 6 Feb 2018 23:32:41 +0000 (23:32 +0000)]
TextClassifierService.onSelectionEvent

Bug: 74466564
Bug: 67609167
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit FrameworksCoreTests:android.view.textclassifier.logging.SelectionEventTest
Merged-In: Ib5af1ec80a38432d1201fbc913acdc3597d6ba82
Change-Id: Ib5af1ec80a38432d1201fbc913acdc3597d6ba82

6 years agoMerge "Update documentation for Activity#onCreate." into pi-dev
Bryce Lee [Mon, 12 Mar 2018 19:18:36 +0000 (19:18 +0000)]
Merge "Update documentation for Activity#onCreate." into pi-dev

6 years agoMerge "Moved urlBarResourceId from autofill service manifest to whitelist settings...
TreeHugger Robot [Mon, 12 Mar 2018 18:53:10 +0000 (18:53 +0000)]
Merge "Moved urlBarResourceId from autofill service manifest to whitelist settings." into pi-dev

6 years agoMerge "Move escrow APIs into LockSettingsInternal" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 18:51:28 +0000 (18:51 +0000)]
Merge "Move escrow APIs into LockSettingsInternal" into pi-dev

6 years agoPassing the TaskDescription to the IconLoader
Sunny Goyal [Mon, 12 Mar 2018 18:35:57 +0000 (11:35 -0700)]
Passing the TaskDescription to the IconLoader

Bug: 74445840
Test: Verified corresponding launcher change
Change-Id: I82a7d595aa0c128b50a699d7ac2ba688dc3cec9f

6 years agoMerge "Polish FingerprintDialog" into pi-dev
Kevin Chyn [Mon, 12 Mar 2018 18:35:05 +0000 (18:35 +0000)]
Merge "Polish FingerprintDialog" into pi-dev

6 years agoMake MP2 operations asynchronous and send matching notifications
Dongwon Kang [Tue, 6 Mar 2018 02:37:55 +0000 (18:37 -0800)]
Make MP2 operations asynchronous and send matching notifications

Test: testPlayVideo & testEventCallback & testPlaylist
Bug: 74204782
Change-Id: I7a0f7d1ba5334c68380ef928294dc52cae76c185

6 years agoMerge "Statsd BroadcastSubscribers can receive 'cookies'" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 18:27:02 +0000 (18:27 +0000)]
Merge "Statsd BroadcastSubscribers can receive 'cookies'" into pi-dev

6 years agoMerge "Remove kPullerCooldownMap from code" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 18:25:00 +0000 (18:25 +0000)]
Merge "Remove kPullerCooldownMap from code" into pi-dev

6 years agoMerge "Adding generation of ACTION_TOGGLE_RECENTS to shared lib" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 18:13:16 +0000 (18:13 +0000)]
Merge "Adding generation of ACTION_TOGGLE_RECENTS to shared lib" into pi-dev

6 years agoAllow TextClassifierServices to get a hold of a local TextClassifer.
Abodunrinwa Toki [Tue, 6 Mar 2018 18:18:30 +0000 (18:18 +0000)]
Allow TextClassifierServices to get a hold of a local TextClassifer.

Test: builds
Bug: 74466564
Bug: 72747726
Merged-In: Idb108f2b3d95393a051f9f19b0c04fc4e3ed2b33
Change-Id: Idb108f2b3d95393a051f9f19b0c04fc4e3ed2b33

6 years agoEncode F16 Bitmaps to 8-bit P3
Leon Scroggins III [Fri, 9 Mar 2018 16:59:17 +0000 (11:59 -0500)]
Encode F16 Bitmaps to 8-bit P3

Bug: 73743812
Bug: 71430152
Test: If2c3ee0f32eff77b11ce5a7fe82c02811ed1beb3

This matches how we handle decoding images with a wide gamut. For WebP
and JPEG, we cannot encode with more precision anyway. For PNG, we could
in theory encode to 16 bit linear PNGs. This would be more precise, but
would still throw away information due to normalization. Using 8-bit P3
matches the behavior for the other formats, so it is nice to be
consistent.

Change-Id: I69a44a3eff70e26448a75ecc63ed7604b9c74a95

6 years agoMerge "Defer deleting a http cache" into pi-dev
Chris Tate [Mon, 12 Mar 2018 18:00:05 +0000 (18:00 +0000)]
Merge "Defer deleting a http cache" into pi-dev

6 years agoDefer deleting a http cache
Hidehiko Tsuchiya [Thu, 18 Jan 2018 04:50:55 +0000 (13:50 +0900)]
Defer deleting a http cache

Symptom:
StatementService was crashed due to the exception;
"java.lang.IllegalStateException: cache is closed"

Root cause:
The http cache is deleted at DirectStatementService#onDestroy
in main thread. If a worker thread is still alive and it tries to
access the cache, it fails with IllegalStateException.

Solution:
The request of deleting a cache was moved from the main thread to
worker. Now, the cache can be deleted safely.

Cherrypick from AOSP master.

Bug: 73911877
Test: manual
Change-Id: I61f4e62b00e35f4a272ef983758e61ef3bf2d180
Merged-In: I61f4e62b00e35f4a272ef983758e61ef3bf2d180

6 years agoMerge "Avoid changing display power state on draw wake lock" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 17:58:55 +0000 (17:58 +0000)]
Merge "Avoid changing display power state on draw wake lock" into pi-dev

6 years agoMerge "Implement CodecProfileLevel.{equals|hashCode}" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 17:45:57 +0000 (17:45 +0000)]
Merge "Implement CodecProfileLevel.{equals|hashCode}" into pi-dev

6 years agoMerge "Logging in StatsCompanionService" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 17:37:11 +0000 (17:37 +0000)]
Merge "Logging in StatsCompanionService" into pi-dev

6 years agoAdd default URL bar resource id for autofill compat mode.
Felipe Leme [Mon, 12 Mar 2018 17:28:42 +0000 (10:28 -0700)]
Add default URL bar resource id for autofill compat mode.

These ids used to be defined at the manifest but now are defined on settings,
so we need to provide default values until the settings are fixed.

Test: atest FrameworksServicesTests:AutofillManagerServiceTest

Bug: 74445943

Change-Id: I050a96d73cb9e008179865381c6abc3041e82844

6 years agoDisplayCutout: Support more than one cutout
Adrian Roos [Mon, 5 Mar 2018 18:50:16 +0000 (19:50 +0100)]
DisplayCutout: Support more than one cutout

Also makes API more restrictive. Also moves window manager specific
logic out of the framework. Also fixes SystemUI such that it can properly
deal with more than one cutout.

Bug: 74195186
Test: atest DisplayCutoutTest WmDisplayCutoutTest DisplayContentTests WindowFrameTests
Change-Id: Ib7b89e119ce2d3961687579bb81eadce1159a600

6 years agoMoved urlBarResourceId from autofill service manifest to whitelist settings.
Felipe Leme [Fri, 9 Mar 2018 22:13:18 +0000 (14:13 -0800)]
Moved urlBarResourceId from autofill service manifest to whitelist settings.

The manifest attribute is still public as it might have been used by autofill
services deployed against P DP1; it will be removed after the next developer
previs is branched out. We also need to assumie a default value for the buttons
if not specified by settings, but that will be done in a separate change so it
can be easily reverted.

Also implemented support for multiple buttons, and added unit tests.

Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest \
CtsAutoFillServiceTestCases:VirtualContainerActivityTest \
FrameworksServicesTests:AutofillManagerServiceTest

Bug: 74445943
Bug: 72811561
Fixes: 73786629

Change-Id: I066ecf40fde2c5318dd8633a659fca8b7af8aecd

6 years agoUpdate documentation for Activity#onCreate.
Bryce Lee [Mon, 12 Mar 2018 17:06:23 +0000 (10:06 -0700)]
Update documentation for Activity#onCreate.

The current description incorrectly states #onDestroy will be called
immediately when invoking #finish during #onCreate.

Change-Id: I816a54457d7aca0b40feac9a5656d94f7e712c76
Fixes: 69144863
Test: comment update.

6 years agoMerge "Nit cleanup: Update TileLayout.onLayout" into pi-dev
Rohan Shah [Mon, 12 Mar 2018 16:53:56 +0000 (16:53 +0000)]
Merge "Nit cleanup: Update TileLayout.onLayout" into pi-dev

6 years agoMerge "[QS] Fix alarm text in QS header" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 16:53:13 +0000 (16:53 +0000)]
Merge "[QS] Fix alarm text in QS header" into pi-dev

6 years agoMerge "[QS] Update hotspot tile secondary text (data saver)" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 16:46:18 +0000 (16:46 +0000)]
Merge "[QS] Update hotspot tile secondary text (data saver)" into pi-dev

6 years agoMerge "Don't let non-touchable windows retain a11y focus" into pi-dev
Phil Weaver [Mon, 12 Mar 2018 16:42:10 +0000 (16:42 +0000)]
Merge "Don't let non-touchable windows retain a11y focus" into pi-dev

6 years agoAudioService: Hearing Aid output management
Jakub Pawlowski [Thu, 22 Feb 2018 01:15:12 +0000 (17:15 -0800)]
AudioService: Hearing Aid output management

This patch makes Hearing Aid output active/inactive when the connection
state, reported from Bluetooth stack is changed.

Bug: 64038649
Test: mm
Change-Id: Iaeee39febab3c340a77e02afe3e0a573fb9736f9

6 years agoMerge "Whitelist UsbManager and UsbPortStatus apis" into pi-dev
Artem Iglikov [Mon, 12 Mar 2018 16:28:46 +0000 (16:28 +0000)]
Merge "Whitelist UsbManager and UsbPortStatus apis" into pi-dev

6 years agoMerge "Fix resource directory references" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 16:23:29 +0000 (16:23 +0000)]
Merge "Fix resource directory references" into pi-dev

6 years agoMerge "Merge textclassifier/logging/ into textclassifier/" into pi-dev
Abodunrinwa Toki [Mon, 12 Mar 2018 15:16:53 +0000 (15:16 +0000)]
Merge "Merge textclassifier/logging/ into textclassifier/" into pi-dev