OSDN Git Service

android-x86/frameworks-base.git
5 years agoBubbles policy: require remote input for messaging
Mady Mellor [Fri, 26 Apr 2019 20:50:58 +0000 (13:50 -0700)]
Bubbles policy: require remote input for messaging

Test: atest NotificationManagerServiceTest (& see cts CL)
Bug: 130894746
Change-Id: I196cfaa8f89ee328f96c426ff64f76f937495486

5 years agoMerge "Adjust the flyout sizing and appearance to match the design spec." into qt-dev
Josh Tsuji [Mon, 29 Apr 2019 17:40:24 +0000 (17:40 +0000)]
Merge "Adjust the flyout sizing and appearance to match the design spec." into qt-dev

5 years agoMerge "Fixed a bug where the notifications were not updated when switching users...
Selim Cinek [Mon, 29 Apr 2019 17:33:56 +0000 (17:33 +0000)]
Merge "Fixed a bug where the notifications were not updated when switching users" into qt-dev

5 years agoMerge "wifi.proto: Count number of probes triggered by experiments" into qt-dev
David Su [Mon, 29 Apr 2019 17:05:49 +0000 (17:05 +0000)]
Merge "wifi.proto: Count number of probes triggered by experiments" into qt-dev

5 years agoMerge "Address API council feedback" into qt-dev
Svetoslav Ganov [Mon, 29 Apr 2019 16:59:13 +0000 (16:59 +0000)]
Merge "Address API council feedback" into qt-dev

5 years agoMerge "media: MediaCodecInfo: remove PerformancePoint logs" into qt-dev
Lajos Molnar [Mon, 29 Apr 2019 16:44:41 +0000 (16:44 +0000)]
Merge "media: MediaCodecInfo: remove PerformancePoint logs" into qt-dev

5 years agoMerge "Enlarge touch target size on settings spinner" into qt-dev
Fan Zhang [Mon, 29 Apr 2019 16:29:30 +0000 (16:29 +0000)]
Merge "Enlarge touch target size on settings spinner" into qt-dev

5 years agoMerge "Freeze {ipmemorystore,networkstack}-aidl-interfaces as version 2." into qt-dev
TreeHugger Robot [Mon, 29 Apr 2019 16:26:23 +0000 (16:26 +0000)]
Merge "Freeze {ipmemorystore,networkstack}-aidl-interfaces as version 2." into qt-dev

5 years agoMerge changes from topic "natt-aidl+aidl-freeze" into qt-dev
TreeHugger Robot [Mon, 29 Apr 2019 16:26:23 +0000 (16:26 +0000)]
Merge changes from topic "natt-aidl+aidl-freeze" into qt-dev

* changes:
  Add AIDL parcelable for NattKeepalivePacketData
  Move NattKeepalivePacketData out of the framework

5 years agoMerge "Remove bubble API added & deprecated in Q" into qt-dev
Mady Mellor [Mon, 29 Apr 2019 16:17:15 +0000 (16:17 +0000)]
Merge "Remove bubble API added & deprecated in Q" into qt-dev

5 years agoMerge "Allow per display level private flag control for physical secondary displays...
Keun-young Park [Mon, 29 Apr 2019 15:32:23 +0000 (15:32 +0000)]
Merge "Allow per display level private flag control for physical secondary displays" into qt-dev

5 years agoMerge "Add useSystemProvidedLauncherForSecondary config" into qt-dev
Keun-young Park [Mon, 29 Apr 2019 15:29:16 +0000 (15:29 +0000)]
Merge "Add useSystemProvidedLauncherForSecondary config" into qt-dev

5 years agoMerge "Fix unknown resource type error message" into qt-dev
TreeHugger Robot [Mon, 29 Apr 2019 14:48:53 +0000 (14:48 +0000)]
Merge "Fix unknown resource type error message" into qt-dev

5 years agoFreeze {ipmemorystore,networkstack}-aidl-interfaces as version 2.
Lorenzo Colitti [Mon, 29 Apr 2019 14:20:22 +0000 (07:20 -0700)]
Freeze {ipmemorystore,networkstack}-aidl-interfaces as version 2.

Generated with:
m networkstack-aidl-interfaces-freeze-api \
    ipmemorystore-aidl-interfaces-freeze-api

Test: builds, boots
Bug: 128803828
Change-Id: I079018679766738a97b827bc87a6903655f308dd
Merged-In: I079018679766738a97b827bc87a6903655f308dd
(cherry picked from commit 4570f8669e2b0f1d1612edd0dff547c24a83db71)

5 years agoMerge "Block write access to media for non-owners." into qt-dev
Jeff Sharkey [Mon, 29 Apr 2019 13:49:27 +0000 (13:49 +0000)]
Merge "Block write access to media for non-owners." into qt-dev

5 years agoAdd AIDL parcelable for NattKeepalivePacketData
Aaron Huang [Tue, 23 Apr 2019 14:17:16 +0000 (22:17 +0800)]
Add AIDL parcelable for NattKeepalivePacketData

Bug: 33530442
Test: atest FrameworksNetTests

Change-Id: I9b9a51dc5dc06c90229fb36c34c24258991c4146
Merged-In: I9b9a51dc5dc06c90229fb36c34c24258991c4146
(cherry picked from commit 76985bd9a5577fb905e45b20513661ee10c1f44f)

5 years agoMove NattKeepalivePacketData out of the framework
Aaron Huang [Wed, 24 Apr 2019 05:48:59 +0000 (22:48 -0700)]
Move NattKeepalivePacketData out of the framework

For implementing parcelable interface for NattKeepalivePacketData.
Move this class out of framework.jar and move to services.jar

This class is used in telephony-common.jar and it also loads
service.jar.

Bug: 33530442
Test: - build pass
      - atest NetworkStackTests
      - atest ConnectivityServiceTest

Change-Id: Ie1d02bb7bccb76415cf71824147466cabf6b88b6
Merged-In: Ie1d02bb7bccb76415cf71824147466cabf6b88b6
Merged-In: Idf7c25b6b553d8c0cc4ef2ea8193438480420fb4
(cherry picked from commit 58a1f931eba8716c4a630863f658b070cda623de)

5 years agoMerge "Use ParceledListSlice in MediaSessionManager#getSession2Tokens" into qt-dev
TreeHugger Robot [Mon, 29 Apr 2019 10:03:22 +0000 (10:03 +0000)]
Merge "Use ParceledListSlice in MediaSessionManager#getSession2Tokens" into qt-dev

5 years agoMerge "Restore can begin while clearing app data is in progress" into qt-dev
Ruslan Tkhakokhov [Mon, 29 Apr 2019 09:29:09 +0000 (09:29 +0000)]
Merge "Restore can begin while clearing app data is in progress" into qt-dev

5 years agoUse ParceledListSlice in MediaSessionManager#getSession2Tokens
Hyundo Moon [Mon, 29 Apr 2019 07:04:34 +0000 (16:04 +0900)]
Use ParceledListSlice in MediaSessionManager#getSession2Tokens

Bug: 126474946
Test: atest CtsMediaTestCases:android.media.cts.MediaSession2Test;
      atest CtsMediaTestCases:android.media.cts.MediaController2Test;
      atest CtsMediaTestCases:android.media.cts.MediaSession2ServiceTest;
      atest CtsMediaTestCases:android.media.cts.MediaSessionManagerTest;
Change-Id: Ia364853d6cf638ab7128c64693b6a8cc6063036a

5 years agoMerge "Revert "Make the network stack a persistent process."" into qt-dev
Lorenzo Colitti [Mon, 29 Apr 2019 07:08:32 +0000 (07:08 +0000)]
Merge "Revert "Make the network stack a persistent process."" into qt-dev

5 years agoMerge changes I35b8c943,I5e9fee54,I8c5a7dc8 into qt-dev
Lorenzo Colitti [Mon, 29 Apr 2019 06:50:31 +0000 (06:50 +0000)]
Merge changes I35b8c943,I5e9fee54,I8c5a7dc8 into qt-dev

* changes:
  Fix some checkstyle nits in DhcpPacketTest.
  Additional code for server name in DHCP packets.
  Parse the server host name field of the dhcp package

5 years agoAddress API council feedback
Svet Ganov [Sun, 28 Apr 2019 17:21:01 +0000 (10:21 -0700)]
Address API council feedback

Make the get actions API async. Also fix a potenrial
memory leak when exchaning callbacks.

Test: atest CtsVoiceInteractionTestCases

bug:129705716

Change-Id: I91f1beb3dc7a395c6c6307ca4601fe7b7097f6e3

5 years agoMerge "Avoid resolving secondary home activity if no need" into qt-dev
TreeHugger Robot [Mon, 29 Apr 2019 03:45:10 +0000 (03:45 +0000)]
Merge "Avoid resolving secondary home activity if no need" into qt-dev

5 years agoMerge "Adjust event location when two-finger dragging in TouchExplorer" into qt-dev
Minche Li [Mon, 29 Apr 2019 02:09:17 +0000 (02:09 +0000)]
Merge "Adjust event location when two-finger dragging in TouchExplorer" into qt-dev

5 years agoRevert "Make the network stack a persistent process."
Lorenzo Colitti [Mon, 29 Apr 2019 01:50:00 +0000 (18:50 -0700)]
Revert "Make the network stack a persistent process."

This reverts commit 796afddd6c7012dc7f10bc2557eb06767c5d873a.

Reason for revert: breaks updatability because persistent processes are not updatable.

Bug: 131046856
Change-Id: I35ded113b31e742f13ad8523a10af3a83a111374
Merged-In: I35ded113b31e742f13ad8523a10af3a83a111374
(cherry picked from commit b2a5d855224afbffdf8a7545de2d703d9696344c)

5 years agoFix some checkstyle nits in DhcpPacketTest.
Lorenzo Colitti [Sat, 27 Apr 2019 07:36:39 +0000 (16:36 +0900)]
Fix some checkstyle nits in DhcpPacketTest.

Use the Generated code suppression comment filter instead of the
IndentationCheck suppression comment filter because the latter
complains that '+' should be on a new line.

Bug: 120584519
Bug: 127423755
Test: atest NetworkStackTests
Test: atest FrameworksNetTests
Change-Id: I35b8c943b95a4301c25b7f6cfb02f03a8c1bc34e
Merged-In: I60071bc029d25485bf204cfd3a8cebd538ca12b6
(cherry picked from commit 65f6ae271b77541ac5dfc1bdd06c64afa748bcba)

5 years agoAdditional code for server name in DHCP packets.
Lorenzo Colitti [Fri, 26 Apr 2019 10:10:20 +0000 (19:10 +0900)]
Additional code for server name in DHCP packets.

- Add the hostname to DhcpResultsParcelable.
- Don't store the server hostname if option overload is in use,
  as this is not valid.
- Add unit tests.

Bug: 120584519
Bug: 127423755
Test: atest NetworkStackTests
Test: atest FrameworksNetTests
Change-Id: I5e9fee5471740f5d7c001e9e98017f32be452344
Merged-In: I60071bc029d25485bf204cfd3a8cebd538ca12b6
(cherry picked from commit 681f33cc6a74f5c68e426e1fae6baeaccaf7267f)

5 years agoParse the server host name field of the dhcp package
yuanyunli [Wed, 9 Jan 2019 08:59:37 +0000 (16:59 +0800)]
Parse the server host name field of the dhcp package

Some hotspot devices will fill in the server host name field of the DHCP
package, such as iphone. Parsing the server host name of the DHCP
package can help identify ios hotspots.

Bug: 120584519
Test: 127423755
Test: builds, boots, wifi works
Change-Id: I8c5a7dc8ab117f062f9401f58832edada321436b
Merged-In: I60071bc029d25485bf204cfd3a8cebd538ca12b6
(cherry picked from commit 43f1bc9d5399e1d659bb5e7ac08dc31d36345d5f)

5 years agoMerge "Move more network unit tests to common tests" into qt-dev
Paul Hu [Mon, 29 Apr 2019 01:36:42 +0000 (01:36 +0000)]
Merge "Move more network unit tests to common tests" into qt-dev

5 years agoMerge "Deprecate DownloadManager.allowScanningByMediaScanner/setVisibleInDownloadsUi...
Sudheer Shanka [Sun, 28 Apr 2019 22:59:45 +0000 (22:59 +0000)]
Merge "Deprecate DownloadManager.allowScanningByMediaScanner/setVisibleInDownloadsUi" into qt-dev

5 years agoMerge "Remove custom theme added for tooltip in captions toggle first run show. windo...
TreeHugger Robot [Sun, 28 Apr 2019 20:10:49 +0000 (20:10 +0000)]
Merge "Remove custom theme added for tooltip in captions toggle first run show. windowIsFloating is necessary to stop drawing system bar backgrounds on certain devices." into qt-dev

5 years agoBlock write access to media for non-owners.
Jeff Sharkey [Sun, 28 Apr 2019 18:52:37 +0000 (12:52 -0600)]
Block write access to media for non-owners.

The new security model in Q requires that apps can't directly write
to media they don't own.  They can still gain write access using
RecoverableSecurityException.

Bug: 130367350
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I1fea108aeee63caa2579187be73ba2f27f2bb932

5 years agoMerge "Make it clear that legacy storage is deprecated." into qt-dev
Jeff Sharkey [Sun, 28 Apr 2019 18:02:55 +0000 (18:02 +0000)]
Merge "Make it clear that legacy storage is deprecated." into qt-dev

5 years agoDeprecate DownloadManager.allowScanningByMediaScanner/setVisibleInDownloadsUi
Sudheer Shanka [Sun, 28 Apr 2019 16:00:53 +0000 (16:00 +0000)]
Deprecate DownloadManager.allowScanningByMediaScanner/setVisibleInDownloadsUi

Bug: 131483165
Test: n/a
Change-Id: I8e7f9c29d9bb323a7c0849e9ae4a87d0e74b16ab

5 years agoMerge "Avoid triggering StrictMode for storage notifs." into qt-dev
Jeff Sharkey [Sun, 28 Apr 2019 17:04:03 +0000 (17:04 +0000)]
Merge "Avoid triggering StrictMode for storage notifs." into qt-dev

5 years agoAvoid triggering StrictMode for storage notifs.
Jeff Sharkey [Sat, 27 Apr 2019 23:13:57 +0000 (17:13 -0600)]
Avoid triggering StrictMode for storage notifs.

Bug: 130129028
Test: none
Exempt-From-Owner-Approval: trivial bugfix
Change-Id: Ia9d9da589ee1f4d95a27bf327235f950f65c69a0

5 years agoMerge "Deprecate DownloadManager.addCompletedDownload." into qt-dev
Jeff Sharkey [Sun, 28 Apr 2019 17:03:27 +0000 (17:03 +0000)]
Merge "Deprecate DownloadManager.addCompletedDownload." into qt-dev

5 years agoMerge "Add FLAG_PERMISSION_GRANTED_BY_ROLE." into qt-dev
Hai Zhang [Sun, 28 Apr 2019 14:41:09 +0000 (14:41 +0000)]
Merge "Add FLAG_PERMISSION_GRANTED_BY_ROLE." into qt-dev

5 years agoMake it clear that legacy storage is deprecated.
Jeff Sharkey [Sat, 27 Apr 2019 23:03:54 +0000 (17:03 -0600)]
Make it clear that legacy storage is deprecated.

Bug: 131469880
Test: none
Change-Id: I52e009c1ebfc59958d04e5b33a6f4228cdecfcf4

5 years agoMerge "Increased the edge sensitivity for back to 24dp" into qt-dev
TreeHugger Robot [Sun, 28 Apr 2019 06:51:22 +0000 (06:51 +0000)]
Merge "Increased the edge sensitivity for back to 24dp" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 28 Apr 2019 05:23:18 +0000 (05:23 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 28 Apr 2019 05:12:16 +0000 (05:12 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoDeprecate DownloadManager.addCompletedDownload.
Sudheer Shanka [Sun, 28 Apr 2019 02:13:33 +0000 (19:13 -0700)]
Deprecate DownloadManager.addCompletedDownload.

Bug: 131483165
Test: n/a
Change-Id: Ie7df900e4cd79dcb4578f1f86fc44ca69356fd7b

5 years agoMerge "Update indication whenever locked state changes" into qt-dev
Lucas Dupin [Sun, 28 Apr 2019 02:37:43 +0000 (02:37 +0000)]
Merge "Update indication whenever locked state changes" into qt-dev

5 years agoMerge "Don't assume all downloaded files are under top-level Download dir." into...
TreeHugger Robot [Sun, 28 Apr 2019 00:38:34 +0000 (00:38 +0000)]
Merge "Don't assume all downloaded files are under top-level Download dir." into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 27 Apr 2019 22:19:39 +0000 (15:19 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I39fc1b48e95a84e1b226cf38e6c00f75d4ebc071

5 years agoMerge "Extend MediaCodecInfo to support AV1 decoder" into qt-dev
Ray Essick [Sat, 27 Apr 2019 19:15:27 +0000 (19:15 +0000)]
Merge "Extend MediaCodecInfo to support AV1 decoder" into qt-dev

5 years agoDon't assume all downloaded files are under top-level Download dir.
Sudheer Shanka [Fri, 26 Apr 2019 00:52:10 +0000 (17:52 -0700)]
Don't assume all downloaded files are under top-level Download dir.

Apps could have downloaded files into their own package-owned paths
and those targeting P or lower, anywhere.

Fixes: 128320098
Test: manual
Test: atest DownloadProviderTests
Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
Change-Id: I28d9f9b8017b66095fb1abeb9a389a18770989a4

5 years agoMerge "Fix clearing password with DPM.resetPasswordWithToken()" into qt-dev
Rubin Xu [Sat, 27 Apr 2019 16:58:33 +0000 (16:58 +0000)]
Merge "Fix clearing password with DPM.resetPasswordWithToken()" into qt-dev

5 years agoMerge "Read newImplicit perms before modifying perm state" into qt-dev
Philip P. Moltmann [Sat, 27 Apr 2019 15:59:31 +0000 (15:59 +0000)]
Merge "Read newImplicit perms before modifying perm state" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 27 Apr 2019 13:29:04 +0000 (06:29 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5b667773dd67656637053ed1124fcbe5065c46ff

5 years agoMerge "Disable OomAdjProfiler for Q." into qt-dev
TreeHugger Robot [Sat, 27 Apr 2019 11:22:24 +0000 (11:22 +0000)]
Merge "Disable OomAdjProfiler for Q." into qt-dev

5 years agoMerge "Add RoleRequestResultReported atom." into qt-dev
Hai Zhang [Sat, 27 Apr 2019 08:26:05 +0000 (08:26 +0000)]
Merge "Add RoleRequestResultReported atom." into qt-dev

5 years agoMerge "Let IC#requestCursorUpdates() fail for cross-display connections" into qt-dev
TreeHugger Robot [Sat, 27 Apr 2019 06:46:55 +0000 (06:46 +0000)]
Merge "Let IC#requestCursorUpdates() fail for cross-display connections" into qt-dev

5 years agoMerge "Provide "Disconnected" in summary for detail page" into qt-dev
Clown SHEN [Sat, 27 Apr 2019 06:42:45 +0000 (06:42 +0000)]
Merge "Provide "Disconnected" in summary for detail page" into qt-dev

5 years agoMerge "Fix ValueMetric unit test." into qt-dev
TreeHugger Robot [Sat, 27 Apr 2019 06:41:24 +0000 (06:41 +0000)]
Merge "Fix ValueMetric unit test." into qt-dev

5 years agoAdd RoleRequestResultReported atom.
Hai Zhang [Sat, 13 Apr 2019 13:25:06 +0000 (21:25 +0800)]
Add RoleRequestResultReported atom.

Bug: 130456955
Test: ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissoncontroller 188
Change-Id: I427ff9b9ea0066b714191b3f6e3a1ac10ba32016

5 years agoMerge "Show opportunistic provider name conditionally" into qt-dev
Sooraj Sasindran [Sat, 27 Apr 2019 06:08:59 +0000 (06:08 +0000)]
Merge "Show opportunistic provider name conditionally" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 27 Apr 2019 06:06:25 +0000 (06:06 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoEnlarge touch target size on settings spinner
tmfang [Wed, 24 Apr 2019 08:08:21 +0000 (16:08 +0800)]
Enlarge touch target size on settings spinner

Add top/bottom padding around the actual shape.

Test: Visual
Fixes: 131060416
Change-Id: I0d5880776ca956b0dc8b178cfc7e9e6f1329d7c3

5 years agoMerge "Skip data pulling when metric is not active" into qt-dev
TreeHugger Robot [Sat, 27 Apr 2019 03:18:08 +0000 (03:18 +0000)]
Merge "Skip data pulling when metric is not active" into qt-dev

5 years agoMerge "Update standby bucket for uninteracted foreground services." into qt-dev
Varun Shah [Sat, 27 Apr 2019 02:52:45 +0000 (02:52 +0000)]
Merge "Update standby bucket for uninteracted foreground services." into qt-dev

5 years agoMerge "Make DNS cache lifecycle management explicit" into qt-dev
TreeHugger Robot [Sat, 27 Apr 2019 02:19:58 +0000 (02:19 +0000)]
Merge "Make DNS cache lifecycle management explicit" into qt-dev

5 years agoMerge changes from topic "aapt2-attr" into qt-dev
Ryan Mitchell [Sat, 27 Apr 2019 01:54:11 +0000 (01:54 +0000)]
Merge changes from topic "aapt2-attr" into qt-dev

* changes:
  Add formats for declare-styleable attributes
  No new attributes in declare-styleables when format is not provided

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 27 Apr 2019 01:52:59 +0000 (18:52 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ia30447a9057e608b24737182dc46d8fa6be3123f

5 years agoMerge "Single tap on the glass pane in notification shade should close the shade...
TreeHugger Robot [Sat, 27 Apr 2019 01:41:48 +0000 (01:41 +0000)]
Merge "Single tap on the glass pane in notification shade should close the shade." into qt-dev

5 years agoMerge "Scheduling start alarm when job starts off out of quota." into qt-dev
Kweku Adams [Sat, 27 Apr 2019 01:39:34 +0000 (01:39 +0000)]
Merge "Scheduling start alarm when job starts off out of quota." into qt-dev

5 years agoDisable OomAdjProfiler for Q.
Kweku Adams [Sat, 27 Apr 2019 00:19:19 +0000 (17:19 -0700)]
Disable OomAdjProfiler for Q.

DO NOT MERGE

Bug: 130635979
Test: Confirm 'adb shell dumpsys activity' doesn't include OomAdjProfiler output
Change-Id: I1a88f8fc9f2a566db88ff76d659c52f13a8457f7

5 years agoMerge "Gating OutOfBoundsException on targetSdkVersion." into qt-dev
Kweku Adams [Sat, 27 Apr 2019 01:17:00 +0000 (01:17 +0000)]
Merge "Gating OutOfBoundsException on targetSdkVersion." into qt-dev

5 years agoMerge "Log time ticks" into qt-dev
Lucas Dupin [Sat, 27 Apr 2019 00:56:16 +0000 (00:56 +0000)]
Merge "Log time ticks" into qt-dev

5 years agoMerge "BiometricPrompt negative button should show "cancel" after onAuthenticated...
Kevin Chyn [Sat, 27 Apr 2019 00:41:45 +0000 (00:41 +0000)]
Merge "BiometricPrompt negative button should show "cancel" after onAuthenticated" into qt-dev

5 years agoMerge "Init confirm button in disabled state instead of gone state" into qt-dev
Kevin Chyn [Sat, 27 Apr 2019 00:41:18 +0000 (00:41 +0000)]
Merge "Init confirm button in disabled state instead of gone state" into qt-dev

5 years agoMerge "Fix createConfirmDeviceCredentialIntent documentation" into qt-dev
Kevin Chyn [Sat, 27 Apr 2019 00:40:32 +0000 (00:40 +0000)]
Merge "Fix createConfirmDeviceCredentialIntent documentation" into qt-dev

5 years agoSingle tap on the glass pane in notification shade should close the shade.
Priyank Singh [Fri, 26 Apr 2019 01:17:02 +0000 (18:17 -0700)]
Single tap on the glass pane in notification shade should close the shade.

Bug: 130168660
Test: Manual
Change-Id: I7724ba08557db0f19dcbd0056bf248acab80368b
(cherry picked from commit 9dd6c788b02bf3f9dd79682aad6d783af1c2b298)

5 years agoMerge "Add privapp permissions to network modules." into qt-dev
Lorenzo Colitti [Sat, 27 Apr 2019 00:13:31 +0000 (00:13 +0000)]
Merge "Add privapp permissions to network modules." into qt-dev

5 years agoMerge "Always instantiate DisplayAddress.Physical" into qt-dev
TreeHugger Robot [Sat, 27 Apr 2019 00:01:01 +0000 (00:01 +0000)]
Merge "Always instantiate DisplayAddress.Physical" into qt-dev

5 years agoFixed a bug where the notifications were not updated when switching users
Selim Cinek [Fri, 26 Apr 2019 23:59:03 +0000 (16:59 -0700)]
Fixed a bug where the notifications were not updated when switching users

The notifications were filtered and sorted but the update to the presenter
happend before it. Therefore the updates to the notifications was quite
delayed.

Test: atest SystemUITests
Fixes: 130780410
Change-Id: I804cda744db135adb677566177095111d5845d4e

5 years agoMerge "MediaCodec: Fix documentation on float raw audio buffers" into qt-dev
Andy Hung [Fri, 26 Apr 2019 23:50:32 +0000 (23:50 +0000)]
Merge "MediaCodec: Fix documentation on float raw audio buffers" into qt-dev

5 years agoUpdate indication whenever locked state changes
Lucas Dupin [Thu, 25 Apr 2019 23:40:54 +0000 (16:40 -0700)]
Update indication whenever locked state changes

Otherwise the state of TrustAgents would be out of sync.

Test: manual with trusted bt headphones
Test: atest KeyguardIndicationControllerTest
Fixes: 131048776
Change-Id: I796ecd3bff3eaca52b46354c30a839eef8097338

5 years agoMerge "Bubbles shouldn't be available on low ram device" into qt-dev
Mady Mellor [Fri, 26 Apr 2019 22:57:19 +0000 (22:57 +0000)]
Merge "Bubbles shouldn't be available on low ram device" into qt-dev

5 years agoMediaCodec: Fix documentation on float raw audio buffers
Andy Hung [Thu, 10 Jan 2019 02:42:41 +0000 (18:42 -0800)]
MediaCodec: Fix documentation on float raw audio buffers

Test: make docs, check html
Bug: 131423214
Change-Id: If2d6f78cc5f77a5c7b5b8b936ae9f3216387561e

5 years agoMerge "Top apps may start fg services even when under bg restriction" into qt-dev
Chris Tate [Fri, 26 Apr 2019 22:27:24 +0000 (22:27 +0000)]
Merge "Top apps may start fg services even when under bg restriction" into qt-dev

5 years agoIncreased the edge sensitivity for back to 24dp
Selim Cinek [Fri, 26 Apr 2019 22:25:49 +0000 (15:25 -0700)]
Increased the edge sensitivity for back to 24dp

Test: swipe from side, observe slightly increased back
Bug: 130682266
Change-Id: Ib479f272a309cf4dc008453343e1bb21352a5806

5 years agoMerge changes from topic "back_redesign" into qt-dev
Selim Cinek [Fri, 26 Apr 2019 22:03:00 +0000 (22:03 +0000)]
Merge changes from topic "back_redesign" into qt-dev

* changes:
  Rewrote the back arrow animation
  Made back button sample the color and background protect it that way
  Minor adjustments to the edge back gesture

5 years agoPropagate to apps capture opt-in
Kevin Rocard [Tue, 9 Apr 2019 23:26:06 +0000 (16:26 -0700)]
Propagate to apps capture opt-in

Allows public apps to detect if playback have opted-out of being
capture.

Bug: 129948989
Test: atest AudioPlaybackConfigurationTest
Change-Id: Id2c2ad195e5fdeba89926dcdbbe9fa22c2d25891
Signed-off-by: Kevin Rocard <krocard@google.com>
5 years agoMerge "Fixed SIM pin pad overlap" into qt-dev
Lucas Dupin [Fri, 26 Apr 2019 21:51:43 +0000 (21:51 +0000)]
Merge "Fixed SIM pin pad overlap" into qt-dev

5 years agoAllow per display level private flag control for physical secondary displays
Keun young Park [Wed, 24 Apr 2019 02:18:34 +0000 (19:18 -0700)]
Allow per display level private flag control for physical secondary displays

- Deperecate config_localDisplaysPrivate which enables private flag for all
  secondary displays.
- Private display should be listed in config_localPrivateDisplayPorts array
  with port address to be marked as private display. Secondary displays not
  listed will remain as public displays.
- Use case: In env like car, display like instrument cluster should be only
  allowed to trusted system apps (=private display) while other non-main
  display like non-passenger side display can be accessed by 3rd party apps
  (=public display). This CL allows selectively enabling private display flag.

Bug: 131113705
Test: Run added tests
Change-Id: I60c4b6e3b2c9c841da7986c084593c530eb817bd

5 years agoShow opportunistic provider name conditionally
Sooraj Sasindran [Thu, 25 Apr 2019 22:12:21 +0000 (15:12 -0700)]
Show opportunistic provider name conditionally

For testing purpose, we want system UI to show grouped CBRS carrier name
as in the upper left corner in system UI. But we want to make this a
conditoinal behavior.

Bug: 129865342
Test: manual
Change-Id: I38a49447ca07615b5e14a92412b68a2a44b2726c

5 years agoMerge "Make package installer tests post submit" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 21:19:08 +0000 (21:19 +0000)]
Merge "Make package installer tests post submit" into qt-dev

5 years agoMerge "Restrict bindIsolatedService instanceName to just letters, digits, '_', and...
TreeHugger Robot [Fri, 26 Apr 2019 21:14:19 +0000 (21:14 +0000)]
Merge "Restrict bindIsolatedService instanceName to just letters, digits, '_', and '.'" into qt-dev

5 years agoMerge "Use ActivityThread.currentApplication() for application context." into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 21:06:21 +0000 (21:06 +0000)]
Merge "Use ActivityThread.currentApplication() for application context." into qt-dev

5 years agoRemove bubble API added & deprecated in Q
Mady Mellor [Fri, 26 Apr 2019 20:53:40 +0000 (13:53 -0700)]
Remove bubble API added & deprecated in Q

Test: treehugger
Bug: 131428392
Change-Id: I272c830ab1f63e8de8ef6b03d74d7d60fad2388c

5 years agoExtend MediaCodecInfo to support AV1 decoder
Rakesh Kumar [Tue, 26 Mar 2019 18:43:48 +0000 (00:13 +0530)]
Extend MediaCodecInfo to support AV1 decoder

Test: cts-tradefed run commandAndExit cts-dev -m CtsMediaTestCases \
 -t android.media.cts.DecoderTest#testAV1HdrStaticMetadata
Bug: 123756486

Change-Id: I1f4e1d30aab764dabc5d33339a7e862e8017e5ed

5 years agoTop apps may start fg services even when under bg restriction
Christopher Tate [Tue, 23 Apr 2019 18:13:35 +0000 (11:13 -0700)]
Top apps may start fg services even when under bg restriction

We now apply bg restriction policy (appop) on being able to enter a
foreground service lifecycle only when the app is not in a "top" i.e.
directly user-facing state.  This avoids breaking existing supported
lifecycle guarantees involving the order of calls to startService(),
startForeground(), and startForegroundService().  Briefly:  there is a
designed behavior in the following sequence:

  1. startService(intent);
  2. startForeground() on that service; then
  3. startForegroundService(intent)

The intentional behavior is that after step 3, the app is not required
to call startForeground() *again,* redundantly; because that service is
already in a fg lifecycle.

However, new-in-Q code broke this pattern in the case where the user had
imposed bg service restrictions on the app.  For this and for
semantic/model reasons, we now do not apply fg service start
restrictions to the user-facing app, even if the at app is under bg
execution restrictions.  The app is not background at that time, so
should not be expected to face a different execution environment.

Bug: 130048629
Test: Foreground use of GPM under bg restrictions
Change-Id: I0e8c308ac26211082a90c165a64d66b31ab804df

5 years agoMerge "[wm] Adjust freeform header not to be overlapped with stable insets" into...
Vishnu Nair [Fri, 26 Apr 2019 20:39:20 +0000 (20:39 +0000)]
Merge "[wm] Adjust freeform header not to be overlapped with stable insets" into qt-dev

5 years agoMerge "Support OnPropertiesChangedListener in TestableDeviceConfig." into qt-dev
Matt Pape [Fri, 26 Apr 2019 20:35:43 +0000 (20:35 +0000)]
Merge "Support OnPropertiesChangedListener in TestableDeviceConfig." into qt-dev

5 years agoFix createConfirmDeviceCredentialIntent documentation
Kevin Chyn [Fri, 26 Apr 2019 18:28:21 +0000 (11:28 -0700)]
Fix createConfirmDeviceCredentialIntent documentation

Test: make -j56 docs
Test: checked out/target/common/docs/offline-sdk/reference/android/app/KeyguardManager.html

Fixes: 131419117
Change-Id: I8c9254a591677ccf2453bff7d517a641da2b0f32

5 years agoMerge "Don't use Context#getApplicationContext" into qt-dev
Philip P. Moltmann [Fri, 26 Apr 2019 20:30:18 +0000 (20:30 +0000)]
Merge "Don't use Context#getApplicationContext" into qt-dev

5 years agoBiometricPrompt negative button should show "cancel" after onAuthenticated
Kevin Chyn [Fri, 26 Apr 2019 18:14:20 +0000 (11:14 -0700)]
BiometricPrompt negative button should show "cancel" after onAuthenticated

When the biometric is authenticated, the negative button should show
"cancel" instead. It should also invoke onUserCanceled instead of
onNegativePressed.

Fixes: 131274300
Test: manual

Change-Id: I104857e5e448bcd11c59311776c28e280566c2e0