OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Smaller notification icons on AOD" into qt-dev
Lucas Dupin [Tue, 14 May 2019 03:41:07 +0000 (03:41 +0000)]
Merge "Smaller notification icons on AOD" into qt-dev

5 years agoMerge "Prevent extra work on the same timestamp" into qt-dev
Alex Salo [Tue, 14 May 2019 01:54:01 +0000 (01:54 +0000)]
Merge "Prevent extra work on the same timestamp" into qt-dev

5 years agoMerge "Reset notification list upon opening the drawer." into qt-dev
TreeHugger Robot [Tue, 14 May 2019 01:32:28 +0000 (01:32 +0000)]
Merge "Reset notification list upon opening the drawer." into qt-dev

5 years agoMerge "Adding tracepoints for tracking lock icon state" into qt-dev
TreeHugger Robot [Tue, 14 May 2019 01:29:27 +0000 (01:29 +0000)]
Merge "Adding tracepoints for tracking lock icon state" into qt-dev

5 years agoMerge "checkCarrierPrivilegesForPackage by subId rather than default" into qt-dev
Chen Xu [Tue, 14 May 2019 01:06:05 +0000 (01:06 +0000)]
Merge "checkCarrierPrivilegesForPackage by subId rather than default" into qt-dev

5 years agoMerge "Disable rotation suggestion when global actions panel is visible" into qt-dev
Steve Elliott [Tue, 14 May 2019 01:02:44 +0000 (01:02 +0000)]
Merge "Disable rotation suggestion when global actions panel is visible" into qt-dev

5 years agoMerge "Add a parameter to filter out system apps" into qt-dev
TreeHugger Robot [Tue, 14 May 2019 00:07:28 +0000 (00:07 +0000)]
Merge "Add a parameter to filter out system apps" into qt-dev

5 years agoMerge "Media: Align cast device names properly in RTL languages." into qt-dev
Kyunglyul Hyun [Mon, 13 May 2019 23:51:33 +0000 (23:51 +0000)]
Merge "Media: Align cast device names properly in RTL languages." into qt-dev

5 years agoMerge "iconloader dependency in SystemUI-core" into qt-dev
Hyunyoung Song [Mon, 13 May 2019 23:40:05 +0000 (23:40 +0000)]
Merge "iconloader dependency in SystemUI-core" into qt-dev

5 years agoiconloader dependency in SystemUI-core
Hyunyoung Song [Fri, 1 Mar 2019 21:32:28 +0000 (13:32 -0800)]
iconloader dependency in SystemUI-core

Bug: 129158983
Change-Id: I678fbf734d158eadff365262225e6e8802d7ef4e
Test: m -j10 SystemUI-core -> Success locally

5 years agocheckCarrierPrivilegesForPackage by subId rather than default
chen xu [Fri, 10 May 2019 02:15:32 +0000 (19:15 -0700)]
checkCarrierPrivilegesForPackage by subId rather than default

1. checkCarrierPrivilegesForPackages by subId
2. getPackagesWithCarrierPrivileges by subId
3. new hidden API getPackagesWithCarrierPrivilegesForAllPhones which
returns packages for all subs.

Bug: 132078279
Test: Manual
Change-Id: Ic666218f0c290d1b428530982b689af110f74c69

5 years agoMerge "CTS: StatsLog.writeRaw()" into qt-dev
TreeHugger Robot [Mon, 13 May 2019 23:30:24 +0000 (23:30 +0000)]
Merge "CTS: StatsLog.writeRaw()" into qt-dev

5 years agoReset notification list upon opening the drawer.
Adora Zhang [Fri, 12 Apr 2019 00:47:40 +0000 (17:47 -0700)]
Reset notification list upon opening the drawer.

Bug: 123433756
Test: manual
Change-Id: I9a3bc6384854930904f13cef6962b97d9209b2c8
(cherry picked from commit 4025195c1d6e553b75bc0385d488cf8a3cf2c0be)

5 years agoMerge "Revert "Notify OverviewProxyService of scrim colors"" into qt-dev
Hyunyoung Song [Mon, 13 May 2019 22:53:06 +0000 (22:53 +0000)]
Merge "Revert "Notify OverviewProxyService of scrim colors"" into qt-dev

5 years agoMerge "Ignore motion event of invalid pointer" into qt-dev
Lucas Dupin [Mon, 13 May 2019 22:50:50 +0000 (22:50 +0000)]
Merge "Ignore motion event of invalid pointer" into qt-dev

5 years agoPrevent extra work on the same timestamp
Alex Salo [Wed, 1 May 2019 21:18:46 +0000 (14:18 -0700)]
Prevent extra work on the same timestamp

AttentionDetector gets called a lot, and there is no reason to do
any work, unless it is called with a new timestamp.

Bug: 111939367
Test: verified by doing FSOP + atest AttentionDetectorTest
Change-Id: If427bd3358e0ea35279fb5d235c2fd137df036ac

5 years agoMerge "Revert "MemoryIntArray: track the owned file descriptor in a PFD."" into qt-dev
Eugene Susla [Mon, 13 May 2019 22:21:48 +0000 (22:21 +0000)]
Merge "Revert "MemoryIntArray: track the owned file descriptor in a PFD."" into qt-dev

5 years agoMerge "Revert "MemoryIntArray: don't double close."" into qt-dev
Eugene Susla [Mon, 13 May 2019 22:21:48 +0000 (22:21 +0000)]
Merge "Revert "MemoryIntArray: don't double close."" into qt-dev

5 years agoSmaller notification icons on AOD
Lucas Dupin [Mon, 13 May 2019 21:22:30 +0000 (14:22 -0700)]
Smaller notification icons on AOD

Test: visual
Test: breakpoint
Fixes: 132273091
Change-Id: Idb4114dc8baeeaf03c55520d681522c7fa084867

5 years agoMerge "Hide lock icon while WAKE_AND_UNLOCK is happening." into qt-dev
Lucas Dupin [Mon, 13 May 2019 21:15:04 +0000 (21:15 +0000)]
Merge "Hide lock icon while WAKE_AND_UNLOCK is happening." into qt-dev

5 years agoDisable rotation suggestion when global actions panel is visible
Steve Elliott [Mon, 13 May 2019 21:14:15 +0000 (17:14 -0400)]
Disable rotation suggestion when global actions panel is visible

Building upon the existing logic which locks the rotation to portrait,
this change suppreses the rotation suggestion button which appears in
the nav-bar.

Fixes: 132076875
Test: manual
Change-Id: I7841bb5fe59ad09998117c93269e019e95494989

5 years agoIgnore motion event of invalid pointer
Lucas Dupin [Mon, 13 May 2019 20:49:17 +0000 (13:49 -0700)]
Ignore motion event of invalid pointer

Test: swipe up with multiple fingers
Fixes: 132635371
Change-Id: I27fbb193affb1f073c3feb294ba51ad6e74ac4f1

5 years agoMerge "Fix NPE in SyncManager when updating accounts." into qt-dev
TreeHugger Robot [Mon, 13 May 2019 20:39:15 +0000 (20:39 +0000)]
Merge "Fix NPE in SyncManager when updating accounts." into qt-dev

5 years agoMerge "Clarify ContentResolver docs." into qt-dev
TreeHugger Robot [Mon, 13 May 2019 20:38:54 +0000 (20:38 +0000)]
Merge "Clarify ContentResolver docs." into qt-dev

5 years agoMerge "Call ScopedLocalFrame in JNI methods" into qt-dev
Chavi Weingarten [Mon, 13 May 2019 19:43:59 +0000 (19:43 +0000)]
Merge "Call ScopedLocalFrame in JNI methods" into qt-dev

5 years agoMerge "Fix typo." into qt-dev
TreeHugger Robot [Mon, 13 May 2019 19:31:34 +0000 (19:31 +0000)]
Merge "Fix typo." into qt-dev

5 years agoCTS: StatsLog.writeRaw()
Tej Singh [Fri, 3 May 2019 20:42:23 +0000 (13:42 -0700)]
CTS: StatsLog.writeRaw()

CTS test for StatsLog.writeRaw(). Tests writeRaw using the app
breadcrumb atom to get some cts coverage.

Test: cts-tradefed run cts-dev --module CtsStatsdHostTestCases
Bug: 130238616
Change-Id: I44d4a0e618617002c9ff55cfe86fd1cbf29116c5

5 years agoMerge "Update SignalDrawable to show X for empty state" into qt-dev
TreeHugger Robot [Mon, 13 May 2019 19:05:34 +0000 (19:05 +0000)]
Merge "Update SignalDrawable to show X for empty state" into qt-dev

5 years agoHide lock icon while WAKE_AND_UNLOCK is happening.
Lucas Dupin [Fri, 10 May 2019 23:23:04 +0000 (16:23 -0700)]
Hide lock icon while WAKE_AND_UNLOCK is happening.

The lock icon is on top of the front scrim, otherwise it wouldn't be visible on a
scrimmed bouncer (activities occluding the keyguard.)
Because of this, the black layer the covers most of the lock screen won't cover the
icon animation. We need to ensure that the icon is invisible while the biometric
unlock animation is running, and only unblock it after the keyguard has finished
fading away.

Test: manually unlock with fingerprint from AOD and LS
Test: press power while unlocking
Fixes: 132198859
Change-Id: Ied501586abe05dc333e4d76e4c045f32070595a7

5 years agoMerge "Clear all notification, message mute states, and unread states when the car...
TreeHugger Robot [Mon, 13 May 2019 18:31:42 +0000 (18:31 +0000)]
Merge "Clear all notification, message mute states, and unread states when the car recovers from the suspension state." into qt-dev

5 years agoMerge "Change bubbles to be off by default" into qt-dev
Mady Mellor [Mon, 13 May 2019 18:18:31 +0000 (18:18 +0000)]
Merge "Change bubbles to be off by default" into qt-dev

5 years agoMerge "[WPA3] Fix typo in AP key comparison method" into qt-dev
TreeHugger Robot [Mon, 13 May 2019 18:10:00 +0000 (18:10 +0000)]
Merge "[WPA3] Fix typo in AP key comparison method" into qt-dev

5 years agoRevert "Notify OverviewProxyService of scrim colors"
Hyunyoung Song [Mon, 13 May 2019 16:53:26 +0000 (16:53 +0000)]
Revert "Notify OverviewProxyService of scrim colors"

Bug: 130451254
Test: manual

This reverts commit d9b9847ad63ae0a97552de757dee8102f0d8cc0c.

Reason for revert: found a better way to extract scrim colors without going through OverviewProxy

Change-Id: Iac97fee4d9b15757f7211889f6c370757c0870e3

5 years agoClear all notification, message mute states, and unread states when the car
Jonathan Koo [Fri, 10 May 2019 16:24:08 +0000 (09:24 -0700)]
Clear all notification, message mute states, and unread states when the car
recovers from the suspension state.

bug: 130183435
Test: Manual.
Change-Id: I5ba95d5f22c1ee18c9f2c236f0f078aedd8296b8

5 years agoChange bubbles to be off by default
Mady Mellor [Mon, 6 May 2019 15:50:06 +0000 (08:50 -0700)]
Change bubbles to be off by default

Test: in the other CL
Bug: 131845765
Change-Id: I23e48ace13dbc628f45b41adcf3bffdd5cfdccb6

5 years agoMerge "WM: Fix seamless rotation with gesture navigation" into qt-dev
TreeHugger Robot [Mon, 13 May 2019 15:45:51 +0000 (15:45 +0000)]
Merge "WM: Fix seamless rotation with gesture navigation" into qt-dev

5 years ago[WPA3] Fix typo in AP key comparison method
Hai Shalom [Mon, 13 May 2019 15:35:17 +0000 (08:35 -0700)]
[WPA3] Fix typo in AP key comparison method

Mistakenly used mKey instead of compareTo String variable
to extract compareTo substring.

Bug: 132610950
Test: Connect to various WPA2/WPA3 APs
Change-Id: Ic10f5ed969deace6f1d59811512a2f788256acb6

5 years agoMerge "Add config value for a11y color mode" into qt-dev
Christine Franks [Mon, 13 May 2019 14:47:21 +0000 (14:47 +0000)]
Merge "Add config value for a11y color mode" into qt-dev

5 years agoMerge "Send message to add/remove NAT-T keepalive packet filter." into qt-dev
Aaron Huang [Mon, 13 May 2019 14:37:31 +0000 (14:37 +0000)]
Merge "Send message to add/remove NAT-T keepalive packet filter." into qt-dev

5 years agoMerge changes from topic "cleanupkeepalive" into qt-dev
TreeHugger Robot [Mon, 13 May 2019 14:32:58 +0000 (14:32 +0000)]
Merge changes from topic "cleanupkeepalive" into qt-dev

* changes:
  Fix concurrent modification exception in KeepaliveTracker
  Clean up the keepalive slots when network disconnect
  Release keepalive slot after stopped

5 years agoWM: Fix seamless rotation with gesture navigation
Adrian Roos [Tue, 16 Apr 2019 13:39:23 +0000 (15:39 +0200)]
WM: Fix seamless rotation with gesture navigation

With gesture navigation, the navigation bar will generally move when rotating the
screen.

Fixes: 130052977
Test: Enable gestural navigation, open camera, enable auto-rotate, verify camera rotates seamlessly
Change-Id: I2d73fcadf9338a08ac15ba04842dc8b1221d74b0

5 years agoMerge "Add unittests for BugreportManager API" into qt-dev
Nandana Dutt [Mon, 13 May 2019 11:27:43 +0000 (11:27 +0000)]
Merge "Add unittests for BugreportManager API" into qt-dev

5 years agoSend message to add/remove NAT-T keepalive packet filter.
Aaron Huang [Thu, 2 May 2019 13:14:20 +0000 (21:14 +0800)]
Send message to add/remove NAT-T keepalive packet filter.

Remove definition of TYPE_NATT and TYPE_TCP since the type
can be identified by checking message.obj is an instance of
NattKeepalivePacketData or TcpKeepalivePacketData.
It's more simple and won't have dependency on KeepaliveInfo.

Bug: 33530442
Test: atest FrameworksNetTests
      atest NetworkStackTests

(Clean cherry-pick of aosp/955419)

Change-Id: Ic97ffe9ff5781778efd264460809f5059f0f4230
Merged-In: Ic97ffe9ff5781778efd264460809f5059f0f4230

5 years agoFix concurrent modification exception in KeepaliveTracker
junyulai [Mon, 13 May 2019 06:19:00 +0000 (14:19 +0800)]
Fix concurrent modification exception in KeepaliveTracker

In aosp/951200, the clean up function delete the item in the
hash map that holds the record while iterating it, where the
list used to iterate the records is backed by the hash map,
so changes to the map are reflected in the list and caused
the concurrent modification exception.

Bug: 132341736
Test: 1. atest com.android.server.ConnectivityServiceTest \
         #testNattSocketKeepalives --generate-new-metrics 300
      2. atest FrameworksNetTests --generate-new-metrics 10

(Clean cherry-pick of aosp/959599)

Change-Id: I9cdfe6f6d11c5400c856cc30a33ff4a44ba9d811
Merged-In: I0481a469ee23231e5f0ab738a06b5e09f6cdb680

5 years agoClean up the keepalive slots when network disconnect
Junyu Lai [Thu, 9 May 2019 20:24:32 +0000 (13:24 -0700)]
Clean up the keepalive slots when network disconnect

In general, keepalive slots are released after result of
stopping has returned. However, for network disconnect case,
the service side cannot communicate with network agent since
the async channel is broken.

Clean up keepalive slots right after stop in this case.

Bug: 132341736
Test: 1. atest com.android.server.ConnectivityServiceTest \
         #testNattSocketKeepalives --generate-new-metrics 100
      2. atest FrameworksNetTests --generate-new-metrics 10

Change-Id: Id3e4e159713c0ed7e03f45169e87b73ae6408e4f
(cherry picked from commit a5f6bd16062fba89bcf900aca93aa3514d93f662)
Merged-In: Id3e4e159713c0ed7e03f45169e87b73ae6408e4f
Merged-In: Icb5a1b5bb10617aa5a7b35db6cf48db3dc53b7fd

5 years agoRelease keepalive slot after stopped
Junyu Lai [Tue, 16 Apr 2019 06:00:02 +0000 (23:00 -0700)]
Release keepalive slot after stopped

Currntly, keepalive slot is released when stop() is called. Next
starting keepalive can use the same slot number while previous
keepalive is still stopping. When the previous keepalive is
stopped, the incoming as will be processed by the new keepalive.

This change release keepalive slot after the result of stopping
has returned. Thus, newly created keepalive cannot allocate the
same slot number while lower layer is still processing stop event.

This change also disable flaky assertions that are caused by
test port has been occupied by other process.

Bug: 129512753
Test: 1. atest com.android.server.ConnectivityServiceTest \
         #testNattSocketKeepalives --generate-new-metrics 100
      2. atest FrameworksNetTests --generate-new-metrics 10
      3. simulate the fail case manually.

Change-Id: I790f6bbc5efc3f088034ac45ec379da5f781d0ca
Merged-In: I1991627545519ee5cb408a3df3a006f710f4af7b
(cherry picked from commit 3523a3d02a1f88a3990ab9cc4948c705ecc713c8)

5 years agoMerge "Bump several device admin notifications to high priority" into qt-dev
Rubin Xu [Mon, 13 May 2019 10:30:25 +0000 (10:30 +0000)]
Merge "Bump several device admin notifications to high priority" into qt-dev

5 years agoMerge changes I92f6d977,I06840834 into qt-dev
Junyu Lai [Mon, 13 May 2019 09:44:49 +0000 (09:44 +0000)]
Merge changes I92f6d977,I06840834 into qt-dev

* changes:
  Limit unprivileged keepalives per uid
  Support customization of supported keepalive count per transport

5 years agoMerge "MediaProjectionManagerService: Use the right user for app lookups." into qt-dev
Narayan Kamath [Mon, 13 May 2019 09:35:14 +0000 (09:35 +0000)]
Merge "MediaProjectionManagerService: Use the right user for app lookups." into qt-dev

5 years agoMerge "Preserve active staged sessions." into qt-dev
Dario Freni [Mon, 13 May 2019 07:57:13 +0000 (07:57 +0000)]
Merge "Preserve active staged sessions." into qt-dev

5 years agoMerge "Improve polish for the MediaProjectionPermissionActivity." into qt-dev
Narayan Kamath [Mon, 13 May 2019 07:39:58 +0000 (07:39 +0000)]
Merge "Improve polish for the MediaProjectionPermissionActivity." into qt-dev

5 years agoLimit unprivileged keepalives per uid
junyulai [Tue, 30 Apr 2019 06:42:05 +0000 (14:42 +0800)]
Limit unprivileged keepalives per uid

Public APIs for creating unprivileged NATT socket keepalive
might allow users to exhaust resource if malicious apps try
to create keepalives with fd which is not created by
IpSecService through binder call. Thus, this change add
customizable limitation per uid to prevent resource exhaustion
attack.

Bug: 129371366
Bug: 132307230
Test: atest FrameworksNetTests

Clean cherry-pick of aosp/954040
Merged-In: Ibcb91105e46f7e898b8aa7c2babc3344ef2c6257
Merged-In: Ia667386c1a8949839871a6949d79552d9c8b88f0

Change-Id: I92f6d977b6dfde4e1bf74df6b60c9a0b9e8eec40

5 years agoSupport customization of supported keepalive count per transport
junyulai [Wed, 17 Apr 2019 07:22:46 +0000 (15:22 +0800)]
Support customization of supported keepalive count per transport

This change specifies the required minimum supported keepalives
in SDK, and allows OEMs to customize supported keepalive count
per network through resource overlay.

Bug: 129371366
Test: 1. m -j doc-comment-check-docs
      2. atest FrameworksNetTests

Clean cherry-pick of aosp/946359

Change-Id: I06840834d0ee8121358bf4829fe47ecf9964d395
Merged-In: I0218f3674628c13ead63fc9a873895ba7f113033
Merged-In: Ia667386c1a8949839871a6949d79552d9c8b88f0

5 years agoMerge "Update default home after preferred activity is changed." into qt-dev
TreeHugger Robot [Mon, 13 May 2019 03:42:27 +0000 (03:42 +0000)]
Merge "Update default home after preferred activity is changed." into qt-dev

5 years agoMerge "Fix RelativeLayout rules" into qt-dev
TreeHugger Robot [Mon, 13 May 2019 03:36:47 +0000 (03:36 +0000)]
Merge "Fix RelativeLayout rules" into qt-dev

5 years agoMedia: Align cast device names properly in RTL languages.
Kyunglyul Hyun [Mon, 13 May 2019 02:48:01 +0000 (11:48 +0900)]
Media: Align cast device names properly in RTL languages.

This CL adds textAlignment="viewStart" to align text in media route chooser
dialog.

Bug: 78283886
Test: manually
Change-Id: I1fac32920ae0fbd1eeeb2eb52e99743795997976

5 years agoMerge "Add CTS API coverage for APIs which are used by NetworkStack" into qt-dev
TreeHugger Robot [Mon, 13 May 2019 02:41:34 +0000 (02:41 +0000)]
Merge "Add CTS API coverage for APIs which are used by NetworkStack" into qt-dev

5 years agoMerge "Add ApfCapabilities common test cases" into qt-dev
TreeHugger Robot [Mon, 13 May 2019 02:28:03 +0000 (02:28 +0000)]
Merge "Add ApfCapabilities common test cases" into qt-dev

5 years agoMerge "Add LinkProperties common test cases" into qt-dev
TreeHugger Robot [Mon, 13 May 2019 02:23:43 +0000 (02:23 +0000)]
Merge "Add LinkProperties common test cases" into qt-dev

5 years agoMerge "Test updates for I044ac25a19ba5b7fd0ee470ca0a13dc65cbd2679" into qt-dev
TreeHugger Robot [Mon, 13 May 2019 01:55:24 +0000 (01:55 +0000)]
Merge "Test updates for I044ac25a19ba5b7fd0ee470ca0a13dc65cbd2679" into qt-dev

5 years agoAdd ApfCapabilities common test cases
Paul Hu [Sun, 12 May 2019 17:37:59 +0000 (10:37 -0700)]
Add ApfCapabilities common test cases

Bug: 129199900
Test: atest FrameworksNetTests
Test: atest CtsNetTestCases: added tests pass

Change-Id: I737ab11ccd1bf6f92bae4eae21e67d4d6f86a758
Merged-In: Icfd80943212430b2a0e6a4b55f53270cbc3d1693
Merged-In: I737ab11ccd1bf6f92bae4eae21e67d4d6f86a758
(cherry picked from commit ce54fa5cb392c38bfec62b81664fcc25098eb9dc)

5 years agoMerge "Fixed an issue that activity might be invisible after unlocking." into qt-dev
Wei Sheng Shih [Mon, 13 May 2019 01:17:19 +0000 (01:17 +0000)]
Merge "Fixed an issue that activity might be invisible after unlocking." into qt-dev

5 years agoAdd LinkProperties common test cases
Paul Hu [Fri, 10 May 2019 22:28:40 +0000 (15:28 -0700)]
Add LinkProperties common test cases

Bug: 129198747
Test: atest FrameworksNetTests
Test: atest CtsNetTestCases: added tests pass

Change-Id: I03d162ea3c5bc2ccb8f913bbfdf85ebcd194c35a
Merged-In: I8d36177cbf4f39da602331e091a60a40f6eaea33
Merged-In: I03d162ea3c5bc2ccb8f913bbfdf85ebcd194c35a
(cherry picked from commit 385757291c2e822f1338157a2368e319d4048c89)

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

5 years agoMerge "Legacy insertImage() should use IS_PENDING." into qt-dev
Jeff Sharkey [Sun, 12 May 2019 14:12:39 +0000 (14:12 +0000)]
Merge "Legacy insertImage() should use IS_PENDING." into qt-dev

5 years agoMerge "Parse Exif OffsetTime in MediaScanner" into qt-dev
Jeff Sharkey [Sun, 12 May 2019 14:12:11 +0000 (14:12 +0000)]
Merge "Parse Exif OffsetTime in MediaScanner" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 12 May 2019 10:07:25 +0000 (03:07 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I2e30d2410efdf2a4b45f5e8d4953df4e6d1c9b6f

5 years agoMerge "[InformationElementUtil] Add FT/SAE AKM" into qt-dev
TreeHugger Robot [Sun, 12 May 2019 05:43:32 +0000 (05:43 +0000)]
Merge "[InformationElementUtil] Add FT/SAE AKM" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 12 May 2019 04:29:40 +0000 (04:29 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 12 May 2019 04:27:41 +0000 (04:27 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoLegacy insertImage() should use IS_PENDING.
Jeff Sharkey [Sun, 12 May 2019 02:51:57 +0000 (20:51 -0600)]
Legacy insertImage() should use IS_PENDING.

Also stream known file directly into place instead of doing a lossy
and expensive transcode.

Bug: 131710636
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Icbfe4f79725c705a1197296f1fd4518c0179a9c1

5 years agoMerge "[WPA3] Fix connectivity issues with PSK-SAE Transtion mode" into qt-dev
TreeHugger Robot [Sun, 12 May 2019 02:43:06 +0000 (02:43 +0000)]
Merge "[WPA3] Fix connectivity issues with PSK-SAE Transtion mode" into qt-dev

5 years agoParse Exif OffsetTime in MediaScanner
Ken Narita [Fri, 7 Sep 2018 08:06:25 +0000 (17:06 +0900)]
Parse Exif OffsetTime in MediaScanner

MediaScanner parses Exif OffsetTime value to use UTC time
for DATE_TAKEN value.

Bug: 62856173
Change-Id: Iffb7e0ae296b73ce6fb6515246871f0dcfe42bb0

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 11 May 2019 23:48:41 +0000 (16:48 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I22ecd11b2e010cc3d66d51f62d19a8bc3c1a1a99

5 years agoMerge "Set the correct PiP mode at the end of the PiP animation." into qt-dev
Tracy Zhou [Sat, 11 May 2019 15:56:43 +0000 (15:56 +0000)]
Merge "Set the correct PiP mode at the end of the PiP animation." into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 11 May 2019 14:42:57 +0000 (07:42 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Id3aa933df80ac51807ff69693287d82d1b2aefe2

5 years agoWorkaround to make CarSystemUi work on the multiple displays.
Yuncheol Heo [Wed, 8 May 2019 21:52:20 +0000 (14:52 -0700)]
Workaround to make CarSystemUi work on the multiple displays.

Bug: 132204986
Change-Id: I04af78bd23e1d4983845751535639587396092f5
Test: Check if the facet buttons are properly selected in the multi
displays.

5 years agoMerge "Add CarPowerChanged, GarageModeInfo atom." into qt-dev
Yuncheol Heo [Sat, 11 May 2019 13:09:50 +0000 (13:09 +0000)]
Merge "Add CarPowerChanged, GarageModeInfo atom." into qt-dev

5 years agoMerge "Implement pending notification indicator" into qt-dev
TreeHugger Robot [Sat, 11 May 2019 07:11:05 +0000 (07:11 +0000)]
Merge "Implement pending notification indicator" into qt-dev

5 years agoSet the correct PiP mode at the end of the PiP animation.
Tracy Zhou [Tue, 7 May 2019 23:32:02 +0000 (16:32 -0700)]
Set the correct PiP mode at the end of the PiP animation.

Previously, we didn't update the PiP at the end of the PiP animation
when the animation type if FADE_IN. That results in map getting stuck
in the PiP even after user puts the PiP window back to fullscreen. This
change takes care of it by covering the FADE_IN case.

Fixes: 129545599
Fixes: 130550078
Fixes: 131812563
Test: atest PinnedStackTests
Change-Id: Ib40b9c6bafaa50f2f0b03cb88ae819bfe75547b5

5 years agoAdd CarPowerChanged, GarageModeInfo atom.
Yuncheol Heo [Thu, 9 May 2019 00:13:42 +0000 (17:13 -0700)]
Add CarPowerChanged, GarageModeInfo atom.

Bug: 131688824
Bug: 131086247
Test: It builds.
Change-Id: Ie67ea04107c6aa2929a1e6b859ddabda8494437e

5 years agoImplement pending notification indicator
Jonathan Koo [Mon, 6 May 2019 15:20:14 +0000 (08:20 -0700)]
Implement pending notification indicator

Bug: 131262206
Test: Manual.

Change-Id: I25a2892b55ea9761823dee1596cbf5d189b95dd7
(cherry picked from commit 61d832588a575a108cc86709edca5a4e8a512aad)

5 years agoMerge "Creating a new private styles/dimens for action bar" into qt-dev
TreeHugger Robot [Sat, 11 May 2019 04:17:40 +0000 (04:17 +0000)]
Merge "Creating a new private styles/dimens for action bar" into qt-dev

5 years agoMerge changes from topics "role-dialer-dialog", "role-sms-dialog" into qt-dev
TreeHugger Robot [Sat, 11 May 2019 03:01:50 +0000 (03:01 +0000)]
Merge changes from topics "role-dialer-dialog", "role-sms-dialog" into qt-dev

* changes:
  Deprecate intent action to the old changing default dialer/SMS dialogs.
  Remove TelecomManager.ACTION_CHANGE_DEFAULT_DIALER for apps targeting Q.
  Remove Telephony.Sms.Intents.ACTION_CHANGE_DEFAULT for apps targeting Q.

5 years agoMerge "Call grantOrUpgradeDefaultRuntimePerms for new usr" into qt-dev
Philip P. Moltmann [Sat, 11 May 2019 02:28:17 +0000 (02:28 +0000)]
Merge "Call grantOrUpgradeDefaultRuntimePerms for new usr" into qt-dev

5 years agoCreating a new private styles/dimens for action bar
John Choi [Wed, 8 May 2019 00:12:04 +0000 (17:12 -0700)]
Creating a new private styles/dimens for action bar

Bug: 130377115
Test: manual
Change-Id: I790c50c883269a87f24b916f0c126a9d691b3f0a

5 years agoMerge changes I50af022a,I82b77ec1 into qt-dev
Kevin Chyn [Sat, 11 May 2019 01:52:47 +0000 (01:52 +0000)]
Merge changes I50af022a,I82b77ec1 into qt-dev

* changes:
  Do not vibrate if last acquire message was NOT_DETECTED
  Persist dialog state across configuration change

5 years agoUpdate default home after preferred activity is changed.
Hai Zhang [Sat, 11 May 2019 01:13:47 +0000 (18:13 -0700)]
Update default home after preferred activity is changed.

Or the update won't find any change for preferred activity.

Bug: 132208447
Test: presubmit
Change-Id: Ic8e0173518efefec033ab39a9e6697f8c862dd60

5 years agoMerge "Use SRGB instead of nullptr when create hardware bitmap." into qt-dev
Peiyong Lin [Sat, 11 May 2019 01:11:27 +0000 (01:11 +0000)]
Merge "Use SRGB instead of nullptr when create hardware bitmap." into qt-dev

5 years agoFix RelativeLayout rules
Ryan Mitchell [Sat, 11 May 2019 00:44:52 +0000 (17:44 -0700)]
Fix RelativeLayout rules

A previous change restricted rules that are added to the rule dependency
graph to resource ids rather than just integers greater that zero.
Restore the previous behavior and also allow for negative resource ids
to work as expected.

Bug: 132447676
Test: loaded maps and view looks as expected
Change-Id: I88d86c77c696d1e494a743fdd2e398283383c64e

5 years agoDeprecate intent action to the old changing default dialer/SMS dialogs.
Hai Zhang [Fri, 3 May 2019 07:31:43 +0000 (15:31 +0800)]
Deprecate intent action to the old changing default dialer/SMS dialogs.

Bug: 124452117
Bug: 131204827
Test: presubmit
Change-Id: Iee636cf2dbcf4bdda5fc487d6883591e9463b0af

5 years agoRemove TelecomManager.ACTION_CHANGE_DEFAULT_DIALER for apps targeting Q.
Hai Zhang [Wed, 1 May 2019 06:16:23 +0000 (14:16 +0800)]
Remove TelecomManager.ACTION_CHANGE_DEFAULT_DIALER for apps targeting Q.

This intent supported starting with startActivity() so we may not be
able to get caller information in the started activity, hence remove
it for apps targeting Q and later here.

Bug: 124452117
Bug: 131204827
Test: presubmit
Change-Id: Ifd05c6797d01df42d92489d5d2e0c55231cbde2d

5 years agoRemove Telephony.Sms.Intents.ACTION_CHANGE_DEFAULT for apps targeting Q.
Hai Zhang [Wed, 1 May 2019 05:46:06 +0000 (13:46 +0800)]
Remove Telephony.Sms.Intents.ACTION_CHANGE_DEFAULT for apps targeting Q.

This intent supported starting with startActivity() so we may not be
able to get caller information in the started activity, hence remove
it for apps targeting Q and later here.

Bug: 124452117
Bug: 131204827
Test: presubmit
Change-Id: I261d6b6ccd42e148789ed03f7b3e8268b2f62480

5 years agoMerge "Grant STATUS_BAR permission to com.android.shell" into qt-dev
TreeHugger Robot [Sat, 11 May 2019 00:46:36 +0000 (00:46 +0000)]
Merge "Grant STATUS_BAR permission to com.android.shell" into qt-dev

5 years agoFix NPE in SyncManager when updating accounts.
Varun Shah [Sat, 11 May 2019 00:16:52 +0000 (17:16 -0700)]
Fix NPE in SyncManager when updating accounts.

On receiving MESSAGE_ACCOUNTS_UPDATED, do not try to sync accounts when
users are removed or stopped (when userId is null).

Bug: 132369930
Test: manual (steps listed on bug)
Change-Id: Ic9f8917e93d5e31a477b86e36d3e82b784657478

5 years agoMerge "DO NOT MERGE: Delete persisted historical app ops on package uninstall" into...
TreeHugger Robot [Sat, 11 May 2019 00:09:22 +0000 (00:09 +0000)]
Merge "DO NOT MERGE: Delete persisted historical app ops on package uninstall" into qt-dev

5 years agoMerge "Loosen the user id check for master mute on automotive" into qt-dev
TreeHugger Robot [Sat, 11 May 2019 00:01:51 +0000 (00:01 +0000)]
Merge "Loosen the user id check for master mute on automotive" into qt-dev

5 years agoAdding tracepoints for tracking lock icon state
Ian [Fri, 10 May 2019 23:48:22 +0000 (16:48 -0700)]
Adding tracepoints for tracking lock icon state

Bug: 132440946
Test: Build

Change-Id: If81498569abbbdeb3ec6029b03107554aa78d496
Signed-off-by: Ian <ianchang@google.com>
5 years agoMerge "Don't take activity options that contain remote animation" into qt-dev
Jorim Jaggi [Fri, 10 May 2019 23:43:07 +0000 (23:43 +0000)]
Merge "Don't take activity options that contain remote animation" into qt-dev

5 years agoMerge "Add extra comment for implementation." into qt-dev
TreeHugger Robot [Fri, 10 May 2019 23:33:39 +0000 (23:33 +0000)]
Merge "Add extra comment for implementation." into qt-dev