OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Support rtl for quick scrub onboarding text." into pi-dev am: 78766d2901
Tracy Zhou [Fri, 25 May 2018 18:37:50 +0000 (11:37 -0700)]
Merge "Support rtl for quick scrub onboarding text." into pi-dev am: 78766d2901
am: 23f89fa7b4

Change-Id: Ica56057785e45afd71620bc2f49f2ab648642cc9

6 years ago[automerger skipped] Merge "Fix: ConnectivityManager is initialized with a wrong...
Tetsutoki Shiozawa [Fri, 25 May 2018 18:24:59 +0000 (11:24 -0700)]
[automerger skipped] Merge "Fix: ConnectivityManager is initialized with a wrong context" am: 4517eacd5d am: 356edc5fe4  -s ours
am: 9a66c53711  -s ours

Change-Id: Iaa4b1f2ce6bdc1139fae501ec60c282ca4609396

6 years agoMerge "Support rtl for quick scrub onboarding text." into pi-dev
Tracy Zhou [Fri, 25 May 2018 18:17:36 +0000 (11:17 -0700)]
Merge "Support rtl for quick scrub onboarding text." into pi-dev
am: 78766d2901

Change-Id: Ibdaf788a47791bd1b44d557f852f86d0253b393f

6 years ago[automerger skipped] Merge "Fix: ConnectivityManager is initialized with a wrong...
Tetsutoki Shiozawa [Fri, 25 May 2018 18:12:35 +0000 (11:12 -0700)]
[automerger skipped] Merge "Fix: ConnectivityManager is initialized with a wrong context" am: 4517eacd5d
am: 356edc5fe4  -s ours

Change-Id: Ibdbd1d7b667506ac14b8cc487d17d11f82a993b0

6 years agoMerge "Support rtl for quick scrub onboarding text." into pi-dev
TreeHugger Robot [Fri, 25 May 2018 18:06:07 +0000 (18:06 +0000)]
Merge "Support rtl for quick scrub onboarding text." into pi-dev

6 years agoMerge "Fix: ConnectivityManager is initialized with a wrong context"
Tetsutoki Shiozawa [Fri, 25 May 2018 18:01:09 +0000 (11:01 -0700)]
Merge "Fix: ConnectivityManager is initialized with a wrong context"
am: 4517eacd5d

Change-Id: I0629b33b8cc5e155b4500cc15901985dbf0a31f2

6 years agoMerge "Switch to the previous IME switcher dialog title"
TreeHugger Robot [Fri, 25 May 2018 17:05:31 +0000 (17:05 +0000)]
Merge "Switch to the previous IME switcher dialog title"

6 years agoMerge "Fix: ConnectivityManager is initialized with a wrong context"
Treehugger Robot [Fri, 25 May 2018 16:42:59 +0000 (16:42 +0000)]
Merge "Fix: ConnectivityManager is initialized with a wrong context"

6 years ago[automerger skipped] Merge "Fix monkey crash in smart selection animation" into pi...
Mihai Popa [Fri, 25 May 2018 16:21:29 +0000 (09:21 -0700)]
[automerger skipped] Merge "Fix monkey crash in smart selection animation" into pi-dev am: 1ffdec20b4
am: 3b88884d91  -s ours

Change-Id: Idbdce925f874763d8d5bd990e4d0ec48ee481a00

6 years agoMerge "Fix monkey crash in smart selection animation" into pi-dev
Mihai Popa [Fri, 25 May 2018 16:12:52 +0000 (09:12 -0700)]
Merge "Fix monkey crash in smart selection animation" into pi-dev
am: 1ffdec20b4

Change-Id: Idbc82d56568d65542d189c84954c3c3f7cd7aea9

6 years agoMerge "Fix monkey crash in smart selection animation" into pi-dev
TreeHugger Robot [Fri, 25 May 2018 15:59:07 +0000 (15:59 +0000)]
Merge "Fix monkey crash in smart selection animation" into pi-dev

6 years agoMerge "Camera: Clarify multi-camera id selection logic" into pi-dev am: 568ccfe0b6
Shuzhen Wang [Fri, 25 May 2018 15:52:47 +0000 (08:52 -0700)]
Merge "Camera: Clarify multi-camera id selection logic" into pi-dev am: 568ccfe0b6
am: 5116500c9d

Change-Id: I3fcea94d5f0cbccef69e45a6ccd98f1f60ed989b

6 years agoMerge "Camera: Clarify multi-camera id selection logic" into pi-dev
Shuzhen Wang [Fri, 25 May 2018 15:40:55 +0000 (08:40 -0700)]
Merge "Camera: Clarify multi-camera id selection logic" into pi-dev
am: 568ccfe0b6

Change-Id: I1e118301f74e407fa2e23557c2a5f1a77882ef18

6 years agoMerge "Camera: Clarify multi-camera id selection logic" into pi-dev
TreeHugger Robot [Fri, 25 May 2018 15:27:43 +0000 (15:27 +0000)]
Merge "Camera: Clarify multi-camera id selection logic" into pi-dev

6 years agoFix: ConnectivityManager is initialized with a wrong context
Tetsutoki Shiozawa [Mon, 19 Feb 2018 01:24:43 +0000 (10:24 +0900)]
Fix: ConnectivityManager is initialized with a wrong context

ActivityThread#setHttpProxy uses a system context to get
a ConnectivityManager instance. If it's not already cached, the
system service registry will cache this instance initialized
with the system context, and subsequent calls to get this service
will return the bad instance.
This patch uses the application context instead, unless it's
not available for some unlikely reason.

A possible symptom of this issue is to have Bluetooth tethering
failing with a security exception, because it's requested by
the "android" package without system uid.

Merged-In: Ib8815f010883cdb94fcad2cdfb237de39327b20a
Bug: 73572062
Change-Id: Id652c1625194dc73dcbf8dfcad4b4e2e6fbebf4e

6 years agoMerge "Add one telephony API to light grey." into pi-dev am: a764186455
Nicolas Geoffray [Fri, 25 May 2018 14:04:18 +0000 (07:04 -0700)]
Merge "Add one telephony API to light grey." into pi-dev am: a764186455
am: 6ae189cb87

Change-Id: Ia44b0a830925404801b8d484fb90a849fbde01b3

6 years agoFix monkey crash in smart selection animation
Mihai Popa [Fri, 25 May 2018 10:57:17 +0000 (11:57 +0100)]
Fix monkey crash in smart selection animation

In Id65443e93d277c106ea955c867d39e94192cc55d we fixed a monkey crash
happening when the smart selected text had changed while the smart
selection animation was running. However, the change introduced a new
crash, happening when the smart selection result was null. This CL fixes
it, and lets startSelectionActionMode run even when the result is null,
as there seems to be some logic there which should happen in this case.

Bug: 80244201
Test: none
Change-Id: I7f0304446dec85578bdcd5011d2e9ea2737d3c36
(cherry picked from commit a9d27ea8692dbf6c6def6bd21754af0ad67d1675)
Merged-in: I7f0304446dec85578bdcd5011d2e9ea2737d3c36

6 years agoMerge "More light grey apis." into pi-dev am: 1b32d34457
Nicolas Geoffray [Fri, 25 May 2018 13:57:10 +0000 (06:57 -0700)]
Merge "More light grey apis." into pi-dev am: 1b32d34457
am: 86c9e52d6f

Change-Id: Ia59f3cd6699d1200e3b592645db1f8ca8cea959b

6 years agoMerge "Add one telephony API to light grey." into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 13:55:59 +0000 (06:55 -0700)]
Merge "Add one telephony API to light grey." into pi-dev
am: a764186455

Change-Id: I6d797c061dc2b7685bc8892065892b38cd932750

6 years agoMerge "Fix monkey crash in smart selection animation"
Mihai Popa [Fri, 25 May 2018 13:49:22 +0000 (13:49 +0000)]
Merge "Fix monkey crash in smart selection animation"

6 years agoMerge "Add SharedPreferencesImpl;->startLoadFromDisk()V to light grey." into pi-dev...
Nicolas Geoffray [Fri, 25 May 2018 13:47:16 +0000 (06:47 -0700)]
Merge "Add SharedPreferencesImpl;->startLoadFromDisk()V to light grey." into pi-dev am: 83ee75a2de
am: cefe9ae68f

Change-Id: I9e5234167c95f37ded4fad21ece3663343be0837

6 years agoMerge "Add one telephony API to light grey." into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 13:46:31 +0000 (13:46 +0000)]
Merge "Add one telephony API to light grey." into pi-dev

6 years agoMerge "More light grey apis." into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 13:43:39 +0000 (06:43 -0700)]
Merge "More light grey apis." into pi-dev
am: 1b32d34457

Change-Id: I5f43a4d569c4965e3530f856d19e51099c616f75

6 years agoMerge "Add SharedPreferencesImpl;->startLoadFromDisk()V to light grey." into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 13:38:36 +0000 (06:38 -0700)]
Merge "Add SharedPreferencesImpl;->startLoadFromDisk()V to light grey." into pi-dev
am: 83ee75a2de

Change-Id: I3fd7534da5fd815d8a9f3871ef8d0bbda85db7b4

6 years agoMerge "Cleanup Bitmap#recycle"
TreeHugger Robot [Fri, 25 May 2018 13:36:21 +0000 (13:36 +0000)]
Merge "Cleanup Bitmap#recycle"

6 years agoMerge "More light grey apis." into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 13:30:19 +0000 (13:30 +0000)]
Merge "More light grey apis." into pi-dev

6 years agoMerge "Add SharedPreferencesImpl;->startLoadFromDisk()V to light grey." into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 13:29:55 +0000 (13:29 +0000)]
Merge "Add SharedPreferencesImpl;->startLoadFromDisk()V to light grey." into pi-dev

6 years agoRemove unused refSkPixelRef
Leon Scroggins III [Thu, 24 May 2018 19:29:07 +0000 (15:29 -0400)]
Remove unused refSkPixelRef

Test: Build

Change-Id: Iac21b08217113787765b5be611f7e1e66b317904

6 years ago[automerger skipped] Merge changes from topic "location_provider" am: 79b473ed7b...
Jiyong Park [Fri, 25 May 2018 12:11:27 +0000 (05:11 -0700)]
[automerger skipped] Merge changes from topic "location_provider" am: 79b473ed7b am: 77390bf307  -s ours
am: 6a2ccc107c  -s ours

Change-Id: I4063ae283ea8ef0a43957bb5e1aaf68a14c63416

6 years agoMerge "Add more light grey APIs." into pi-dev am: 32256ceb22
Nicolas Geoffray [Fri, 25 May 2018 11:52:03 +0000 (04:52 -0700)]
Merge "Add more light grey APIs." into pi-dev am: 32256ceb22
am: ade5c9c811

Change-Id: I6956f7a916b4d9686d4b1f1a6e25e1f96a12c7b2

6 years ago[automerger skipped] Merge changes from topic "location_provider" am: 79b473ed7b
Jiyong Park [Fri, 25 May 2018 11:26:20 +0000 (04:26 -0700)]
[automerger skipped] Merge changes from topic "location_provider" am: 79b473ed7b
am: 77390bf307  -s ours

Change-Id: I5ef31499bd1e21237fa8a1752c035ae8341235b9

6 years agoMerge changes from topic "location_provider"
Jiyong Park [Fri, 25 May 2018 11:17:49 +0000 (04:17 -0700)]
Merge changes from topic "location_provider"
am: 79b473ed7b

Change-Id: I9a9985fd18db00d510ebae9e0dec69d6647a2332

6 years agoMerge "Add more light grey APIs." into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 11:01:25 +0000 (04:01 -0700)]
Merge "Add more light grey APIs." into pi-dev
am: 32256ceb22

Change-Id: I1ffe50fb847f8986b41fabe9ee0c41fb72558ed9

6 years agoFix monkey crash in smart selection animation
Mihai Popa [Fri, 25 May 2018 10:57:17 +0000 (11:57 +0100)]
Fix monkey crash in smart selection animation

In Id65443e93d277c106ea955c867d39e94192cc55d we fixed a monkey crash
happening when the smart selected text had changed while the smart
selection animation was running. However, the change introduced a new
crash, happening when the smart selection result was null. This CL fixes
it, and lets startSelectionActionMode run even when the result is null,
as there seems to be some logic there which should happen in this case.

Bug: 80244201
Test: none
Change-Id: I7f0304446dec85578bdcd5011d2e9ea2737d3c36

6 years agoMerge "Add more light grey APIs." into pi-dev
TreeHugger Robot [Fri, 25 May 2018 10:49:18 +0000 (10:49 +0000)]
Merge "Add more light grey APIs." into pi-dev

6 years agoMerge "Add permission check to setAllowOnlyVpnForUids" am: 1fb2ed3de3 am: 1efa51a873
Rubin Xu [Fri, 25 May 2018 10:16:15 +0000 (03:16 -0700)]
Merge "Add permission check to setAllowOnlyVpnForUids" am: 1fb2ed3de3 am: 1efa51a873
am: d71467740b

Change-Id: I1fe555d14eef009608b41f0ca8a3e9ceac36cda4

6 years agoMerge changes from topic "location_provider"
Treehugger Robot [Fri, 25 May 2018 10:04:43 +0000 (10:04 +0000)]
Merge changes from topic "location_provider"

* changes:
  Remove FlpHardwareProvider
  Create the stubs lib for com.android.location.provider

6 years ago[automerger skipped] Merge "New Autofill field: FIELD_AUTOFILL_SESSION_ID" into pi...
Felipe Leme [Fri, 25 May 2018 10:04:11 +0000 (03:04 -0700)]
[automerger skipped] Merge "New Autofill field: FIELD_AUTOFILL_SESSION_ID" into pi-dev am: a278df4aae
am: 435fa8b02a  -s ours

Change-Id: If15d45d57d0167d8467afc00f37a02a085d1f162

6 years agoMerge "Add permission check to setAllowOnlyVpnForUids" am: 1fb2ed3de3
Rubin Xu [Fri, 25 May 2018 09:56:21 +0000 (02:56 -0700)]
Merge "Add permission check to setAllowOnlyVpnForUids" am: 1fb2ed3de3
am: 1efa51a873

Change-Id: I43efafcb80a85f0cb94037440e66a2568b71af63

6 years agoMore light grey apis.
Nicolas Geoffray [Fri, 25 May 2018 09:46:32 +0000 (10:46 +0100)]
More light grey apis.

bug: 80270434
Test: m
Change-Id: I4877a782f9f8c0599de189d28df876d60d2c7b3d

6 years agoMerge "Add permission check to setAllowOnlyVpnForUids"
Rubin Xu [Fri, 25 May 2018 09:46:33 +0000 (02:46 -0700)]
Merge "Add permission check to setAllowOnlyVpnForUids"
am: 1fb2ed3de3

Change-Id: I3a529eecf98a19c8ab421707fc952b2a56e10f34

6 years agoClear calling identity in BMS.backupNow
Annie Meng [Mon, 14 May 2018 13:11:16 +0000 (14:11 +0100)]
Clear calling identity in BMS.backupNow

BMS.backupNow is called from GMSCore, which has a different calling
identity than the framework. This causes an IllegalArgumentException due
to uid mismatch when backupNow tries to schedule a job.

This occurs when the following conditions are combined:
1) Battery saver mode enabled
2) Network change detected
3) Backup pass is scheduled for now

Bug: 79441902
Test: 1) m -j RunFrameworksServicesRoboTests
2) Manual: Enabled battery saver, modified code to run backupNow with
each network change and overwrite previously scheduled KeyValueJob.
Then, change wifi to trigger scheduling the KeyValueJob.
Verified:
- IllegalStateException b/c of uid mismatch without change
- No exception and correct calling uid with change

Change-Id: Iac90cd435e3fc32ff5428236aa15507b36aa833d

6 years agoAdd more light grey APIs.
Nicolas Geoffray [Fri, 25 May 2018 08:10:55 +0000 (09:10 +0100)]
Add more light grey APIs.

bug: 80256659
Test: m
Change-Id: Ic2a0ecffcd039cb5474625e39264714b9eed768a

6 years agoMerge "New Autofill field: FIELD_AUTOFILL_SESSION_ID" into pi-dev
Felipe Leme [Fri, 25 May 2018 09:09:38 +0000 (02:09 -0700)]
Merge "New Autofill field: FIELD_AUTOFILL_SESSION_ID" into pi-dev
am: a278df4aae

Change-Id: I5aec308555c2effc4917d62124b057d6d2ed1744

6 years agoMerge "New Autofill field: FIELD_AUTOFILL_SESSION_ID" into pi-dev
TreeHugger Robot [Fri, 25 May 2018 08:57:23 +0000 (08:57 +0000)]
Merge "New Autofill field: FIELD_AUTOFILL_SESSION_ID" into pi-dev

6 years agoMerge "Add some telephony API to light grey." into pi-dev am: 7e1c36e64b
Nicolas Geoffray [Fri, 25 May 2018 08:31:34 +0000 (01:31 -0700)]
Merge "Add some telephony API to light grey." into pi-dev am: 7e1c36e64b
am: b39244ed04

Change-Id: I30c8b58c05d162f686de39eb2585b63ec2f95f25

6 years agoMerge "Add permission check to setAllowOnlyVpnForUids"
Treehugger Robot [Fri, 25 May 2018 08:26:34 +0000 (08:26 +0000)]
Merge "Add permission check to setAllowOnlyVpnForUids"

6 years ago[automerger skipped] Merge "Use AI_ADDRCONFIG for most DNS requests" am: b19a838f47...
Remi NGUYEN VAN [Fri, 25 May 2018 08:22:11 +0000 (01:22 -0700)]
[automerger skipped] Merge "Use AI_ADDRCONFIG for most DNS requests" am: b19a838f47 am: aa6ddd6685  -s ours
am: bd531604e0  -s ours

Change-Id: I14b2f2e1e7e2f7a20fc9d9ca4f614c1bbec09ec7

6 years ago[automerger skipped] Merge "Migrating remaining core networking tests to Junit4"...
Remi NGUYEN VAN [Fri, 25 May 2018 08:09:51 +0000 (01:09 -0700)]
[automerger skipped] Merge "Migrating remaining core networking tests to Junit4" am: 96dbac0c5c am: a3c2022836  -s ours
am: 4300e8e2ba  -s ours

Change-Id: I29358e012c542c7009b5b19a8a3a26ccf21d1c97

6 years agoMerge "Add some telephony API to light grey." into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 08:02:35 +0000 (01:02 -0700)]
Merge "Add some telephony API to light grey." into pi-dev
am: 7e1c36e64b

Change-Id: Ic68f3da20a5bb5dec2fb4c318d642714892415bb

6 years agoAdd SharedPreferencesImpl;->startLoadFromDisk()V to light grey.
Nicolas Geoffray [Fri, 25 May 2018 08:01:06 +0000 (09:01 +0100)]
Add SharedPreferencesImpl;->startLoadFromDisk()V to light grey.

bug: 80091112
Test: m
Change-Id: Ia7c0cf66408fb241b029778d248dd3b7e324727a

6 years agoMerge "Add missing copyright messages Test: Tested on Mojave Bug: 80266597 Change...
Aarthi Balachander [Fri, 25 May 2018 07:58:15 +0000 (00:58 -0700)]
Merge "Add missing copyright messages Test: Tested on Mojave Bug: 80266597 Change-Id: I1a2e712adabe8872f7c440e8e2c15787aea7aa98" into pi-dev am: 9aafb212c5
am: 776dc38d69

Change-Id: I232be22e0fbb3f91c651a13f381905bf1702b3e3

6 years agoMerge "Add some telephony API to light grey." into pi-dev
Nicolas Geoffray [Fri, 25 May 2018 07:50:22 +0000 (07:50 +0000)]
Merge "Add some telephony API to light grey." into pi-dev

6 years agoMerge "screencap: return instead of _exit." into pi-dev-plus-aosp
Steven Moreland [Fri, 25 May 2018 07:47:34 +0000 (00:47 -0700)]
Merge "screencap: return instead of _exit." into pi-dev-plus-aosp
am: 7ac01c22a8

Change-Id: I143b431fa2d194c3cda771b2585737506181bca5

6 years agoMerge "New Autofill field: FIELD_AUTOFILL_SESSION_ID"
Felipe Leme [Fri, 25 May 2018 07:41:33 +0000 (07:41 +0000)]
Merge "New Autofill field: FIELD_AUTOFILL_SESSION_ID"

6 years agoRemove FlpHardwareProvider
Jiyong Park [Thu, 8 Mar 2018 07:43:07 +0000 (16:43 +0900)]
Remove FlpHardwareProvider

After Treble's FLP merge into GNSS HAL, the FlpHardwareProvider is just
an empty shell. Removing FusedLocation and/or Flp + Hardware classes
altogether.

Bug: 35726697
Test: m -j
Test: Open Google Map and then walk around. The dot moves as I walk.

Merged-In: I7f413e38b57424e8ebb9d7d14d94f145a48d10f8
Change-Id: I7f413e38b57424e8ebb9d7d14d94f145a48d10f8
(cherry picked from commit 4cc3a1c056f69ac4da1dc5055c36b7357e9f673c)

6 years agoCreate the stubs lib for com.android.location.provider
Jiyong Park [Tue, 27 Feb 2018 13:00:23 +0000 (22:00 +0900)]
Create the stubs lib for com.android.location.provider

com.android.location.provider.stubs is the stubs library for the shared
library com.android.location.provider. The stubs library is intended to
provide the stable set of APIs to the apps implementing location
provider.

Without the stubs library, apps had to directly link to the shared
library which is built without Android SDK and exposes private APIs that
are not intended to be used by apps. This also has been causing the
lin-type check warnings when the shared lib is used by apps built with
SDK; apps built with SDK is not allowed to link to lib built without
SDK. This has been reported as warnings but will soon be errors. Now
such apps are required to link to the stubs lib, which is built with
SDK.

While building the stubs library, following APIs are made hidden because
they are exposing private APIs from the Android platform.

1) Activity* classes are removed from the API, as they are not intended
to be used by apps since O.
2) GeocodeProvider and GeofenceProvider are removed from the API.
3) LocationProvider.mLocationManager is removed as it is exposing the
private symbol ILocationProvider
4) ProviderPropertiesUnbundle.getProviderProperties are removed from the
API as it is exposing the private symbol ProviderProperties.
5) The constructor of ProviderRequestUnbundled is removed since the
class is intended to be instantiated by the service.

Bug: 71420593
Test: m -j com.android.location.provider.stubs

Merged-In: I20aba7e9ca9c3adc75db241f37a55f0d657f3ced
Change-Id: I20aba7e9ca9c3adc75db241f37a55f0d657f3ced
(cherry picked from commit eee99986c8021d6825f99a25434725fccf7b2b12)

6 years agoMerge "Follow supportlib changes in SliceManager" into pi-dev am: 96910a6dc2
Jason Monk [Fri, 25 May 2018 06:45:33 +0000 (23:45 -0700)]
Merge "Follow supportlib changes in SliceManager" into pi-dev am: 96910a6dc2
am: 382b2d612c

Change-Id: I0a49a82ac3757f4840ef10b448e9df8cb8548a9c

6 years agoMerge "Added the class name of activity being autofilled on (most) autofill metrics...
Felipe Leme [Fri, 25 May 2018 06:31:09 +0000 (23:31 -0700)]
Merge "Added the class name of activity being autofilled on (most) autofill metrics." into pi-dev am: 41a60f4033
am: 8936f690aa

Change-Id: I22e4f4599d8b735190b121e84183ba5ff637fa16

6 years agoNew Autofill field: FIELD_AUTOFILL_SESSION_ID
Felipe Leme [Thu, 24 May 2018 17:41:48 +0000 (10:41 -0700)]
New Autofill field: FIELD_AUTOFILL_SESSION_ID

This field contains the autofill session id (Thank You, Captain Obvious!), which
is useful to correlate autofill metrics that are not logged on
AUTOFILL_REQUEST.

Test: atest CtsAutoFillServiceTestCases # to make sure it didn't break anything
Test: manually run some test and watched
      'adb shell logcat -b events | grep sysui'. Example:
     [757,913,758,4,806,android.autofillservice.cts,871,android.autofillservice.cts.LoginActivity,914,2,915,2,1456,-2045861404

Fixes: 80093094

Merged-In: If4b1c9ab616b2ba580745096894997eb7edb3e34
Change-Id: If4b1c9ab616b2ba580745096894997eb7edb3e34

6 years agoNew Autofill field: FIELD_AUTOFILL_SESSION_ID
Felipe Leme [Thu, 24 May 2018 17:41:48 +0000 (10:41 -0700)]
New Autofill field: FIELD_AUTOFILL_SESSION_ID

This field contains the autofill session id (Thank You, Captain Obvious!), which
is useful to correlate autofill metrics that are not logged on
AUTOFILL_REQUEST.

Test: atest CtsAutoFillServiceTestCases # to make sure it didn't break anything
Test: manually run some test and watched
      'adb shell logcat -b events | grep sysui'. Example:
     [757,913,758,4,806,android.autofillservice.cts,871,android.autofillservice.cts.LoginActivity,914,2,915,2,1456,-2045861404

Fixes: 80093094

Change-Id: If4b1c9ab616b2ba580745096894997eb7edb3e34
(cherry picked from commit 064c562c23edcb2c220be45450274869b529a8ee)

6 years ago[automerger skipped] Merge "Use AI_ADDRCONFIG for most DNS requests" am: b19a838f47
Remi NGUYEN VAN [Fri, 25 May 2018 05:53:53 +0000 (22:53 -0700)]
[automerger skipped] Merge "Use AI_ADDRCONFIG for most DNS requests" am: b19a838f47
am: aa6ddd6685  -s ours

Change-Id: Ie19e3ef1c704f9318f067c03ccc75fdf6727fa89

6 years agoMerge "[automerger skipped] Merge "Merged many autofill session metrics into AUTOFILL...
Android Build Merger (Role) [Fri, 25 May 2018 05:44:03 +0000 (05:44 +0000)]
Merge "[automerger skipped] Merge "Merged many autofill session metrics into AUTOFILL_REQUEST:" into pi-dev am: 94594d1290 am: f18990b18f  -s ours"

6 years ago[automerger skipped] Merge "Merged many autofill session metrics into AUTOFILL_REQUES...
Felipe Leme [Fri, 25 May 2018 05:43:39 +0000 (22:43 -0700)]
[automerger skipped] Merge "Merged many autofill session metrics into AUTOFILL_REQUEST:" into pi-dev am: 94594d1290
am: f18990b18f  -s ours

Change-Id: I660b5cce458d352f6238434890920230247b1060

6 years agoMerge "Use AI_ADDRCONFIG for most DNS requests"
Remi NGUYEN VAN [Fri, 25 May 2018 05:43:35 +0000 (22:43 -0700)]
Merge "Use AI_ADDRCONFIG for most DNS requests"
am: b19a838f47

Change-Id: I452da6fffe8eddedf0082c8ca7602566c82f6ebe

6 years agoMerge "Added the class name of activity being autofilled on (most) autofill metrics."
Felipe Leme [Fri, 25 May 2018 05:42:28 +0000 (05:42 +0000)]
Merge "Added the class name of activity being autofilled on (most) autofill metrics."

6 years agoMerge "Tweak new rotate icon and motion" into pi-dev am: a9050275ba
Mike Digman [Fri, 25 May 2018 05:33:05 +0000 (22:33 -0700)]
Merge "Tweak new rotate icon and motion" into pi-dev am: a9050275ba
am: f1c888e427

Change-Id: If39a0fc1ac81781b73c6fb02ec06ee13b48b2a5b

6 years ago[automerger skipped] Merge "Migrating remaining core networking tests to Junit4"...
Remi NGUYEN VAN [Fri, 25 May 2018 05:25:33 +0000 (22:25 -0700)]
[automerger skipped] Merge "Migrating remaining core networking tests to Junit4" am: 96dbac0c5c
am: a3c2022836  -s ours

Change-Id: I7df578d4f89b94e50d9f3798fc675b6a93477200

6 years agoSupport rtl for quick scrub onboarding text.
Tracy Zhou [Fri, 25 May 2018 05:21:06 +0000 (22:21 -0700)]
Support rtl for quick scrub onboarding text.

Change-Id: I1f2073e1c24a24aa5ddfd061a6e8b0eaef40335c
Fixes: 80257508
Test: Manual test

6 years agoMerge "Tweak exemption for sync requests made by FG apps" into pi-dev am: 621fd20f55
Makoto Onuki [Fri, 25 May 2018 05:14:27 +0000 (22:14 -0700)]
Merge "Tweak exemption for sync requests made by FG apps" into pi-dev am: 621fd20f55
am: d8cf91c5f8

Change-Id: Icac177c8d404ce20d5e894d85df2b72a001d6d9a

6 years agoMerge "Fix boundary condition of showing quickscrub tip after dismissal." into pi...
Tracy Zhou [Fri, 25 May 2018 05:01:06 +0000 (22:01 -0700)]
Merge "Fix boundary condition of showing quickscrub tip after dismissal." into pi-dev am: 0726f5c82a
am: 453dfdf053

Change-Id: I80da12441b761a524971c58fcf1c9c222d879967

6 years agoMerge "Add missing copyright messages Test: Tested on Mojave Bug: 80266597 Change...
Aarthi Balachander [Fri, 25 May 2018 04:45:23 +0000 (21:45 -0700)]
Merge "Add missing copyright messages Test: Tested on Mojave Bug: 80266597 Change-Id: I1a2e712adabe8872f7c440e8e2c15787aea7aa98" into pi-dev
am: 9aafb212c5

Change-Id: I9f9133a555826c46482ca5dee27b595d4a720bf9

6 years agoMerge "Put a little space between wifi and data type" into pi-dev am: 2640b2142e
Evan Laird [Fri, 25 May 2018 04:41:14 +0000 (21:41 -0700)]
Merge "Put a little space between wifi and data type" into pi-dev am: 2640b2142e
am: f3a994f510

Change-Id: I4084ea05f6be2209ed6f977bcf4579edbfaabb3f

6 years agoMerge "Migrating remaining core networking tests to Junit4"
Remi NGUYEN VAN [Fri, 25 May 2018 04:37:04 +0000 (21:37 -0700)]
Merge "Migrating remaining core networking tests to Junit4"
am: 96dbac0c5c

Change-Id: I3d5c8274f76d00c61a384213ade1fae97c96ae24

6 years agoMerge "Merge "Update location icons (qs + status)" into pi-dev am: 478923bded" into...
Evan Laird [Fri, 25 May 2018 04:25:04 +0000 (21:25 -0700)]
Merge "Merge "Update location icons (qs + status)" into pi-dev am: 478923bded" into pi-dev-plus-aosp
am: f4381335cf

Change-Id: I8eb61c9400da2db19f94972d3fc86c3cee69d6f3

6 years agoMerge "Add missing copyright messages Test: Tested on Mojave Bug: 80266597 Change...
TreeHugger Robot [Fri, 25 May 2018 04:24:29 +0000 (04:24 +0000)]
Merge "Add missing copyright messages Test: Tested on Mojave Bug: 80266597 Change-Id: I1a2e712adabe8872f7c440e8e2c15787aea7aa98" into pi-dev

6 years agoAdded the class name of activity being autofilled on (most) autofill metrics.
Felipe Leme [Tue, 22 May 2018 21:56:15 +0000 (14:56 -0700)]
Added the class name of activity being autofilled on (most) autofill metrics.

Test: atest CtsAutoFillServiceTestCases # to make sure it didn't break anything
Test: manually run some test and watched
      'adb shell logcat -b events | grep sysui'

Fixes: 80151641

Change-Id: I5b83e6ceb549a641d10c39bbfd4f24d0a43d1a23
(cherry picked from commit 212b1614f4328a66c58a27899fe75583c753ef35)

6 years agoMerge "Work around b/24465209, do not pack relocation table." am: d01890df3c am:...
Chih-Hung Hsieh [Fri, 25 May 2018 04:02:54 +0000 (21:02 -0700)]
Merge "Work around b/24465209, do not pack relocation table." am: d01890df3c am: d7f77b5a12
am: 618e17473c

Change-Id: I5a09847436a0608942c9c5636d807d7a984def73

6 years agoMerge "Merged many autofill session metrics into AUTOFILL_REQUEST:"
Felipe Leme [Fri, 25 May 2018 03:32:22 +0000 (03:32 +0000)]
Merge "Merged many autofill session metrics into AUTOFILL_REQUEST:"

6 years agoMerge "Use AI_ADDRCONFIG for most DNS requests"
Remi NGUYEN VAN [Fri, 25 May 2018 03:28:05 +0000 (03:28 +0000)]
Merge "Use AI_ADDRCONFIG for most DNS requests"

6 years agoMerge "Migrating remaining core networking tests to Junit4"
Remi NGUYEN VAN [Fri, 25 May 2018 03:27:39 +0000 (03:27 +0000)]
Merge "Migrating remaining core networking tests to Junit4"

6 years agoMerge "screencap: return instead of _exit." into pi-dev-plus-aosp
TreeHugger Robot [Fri, 25 May 2018 02:26:18 +0000 (02:26 +0000)]
Merge "screencap: return instead of _exit." into pi-dev-plus-aosp

6 years agoMerge "Follow supportlib changes in SliceManager" into pi-dev
Jason Monk [Fri, 25 May 2018 02:03:30 +0000 (19:03 -0700)]
Merge "Follow supportlib changes in SliceManager" into pi-dev
am: 96910a6dc2

Change-Id: I553c13a822d3944bd855575638680a29eedfba2e

6 years agoMerge "Added the class name of activity being autofilled on (most) autofill metrics...
Felipe Leme [Fri, 25 May 2018 01:56:49 +0000 (18:56 -0700)]
Merge "Added the class name of activity being autofilled on (most) autofill metrics." into pi-dev
am: 41a60f4033

Change-Id: Ie09496de119a9e1777218466a250ddbf3867a630

6 years agoMerge "Add tuning to SystemUI to draw into a DisplayCutout's bounds" into pi-dev...
Evan Laird [Fri, 25 May 2018 01:55:01 +0000 (18:55 -0700)]
Merge "Add tuning to SystemUI to draw into a DisplayCutout's bounds" into pi-dev am: bb5154982e
am: 7ad5165be0

Change-Id: I7df4d4133ea66dc88b6939615e877118c982b7ed

6 years agoMerge "Merged many autofill session metrics into AUTOFILL_REQUEST:" into pi-dev
Felipe Leme [Fri, 25 May 2018 01:52:23 +0000 (18:52 -0700)]
Merge "Merged many autofill session metrics into AUTOFILL_REQUEST:" into pi-dev
am: 94594d1290

Change-Id: Ic233280a9f2272732d81021311b43979dcbbe691

6 years agoMerge "Revert "Revert "Write UsageEvents Parcel data as a Blob""" into pi-dev am...
Michael Wachenschwanz [Fri, 25 May 2018 01:28:37 +0000 (18:28 -0700)]
Merge "Revert "Revert "Write UsageEvents Parcel data as a Blob""" into pi-dev am: 14c61286c4
am: 3ba689851c

Change-Id: Id5fa43e2706fc76436d9d2b7cea3d18e73181248

6 years agoMerge "Added display null check to ActivityStackSupervisor.getNextFocusableStackLocke...
Wale Ogunwale [Fri, 25 May 2018 01:24:22 +0000 (18:24 -0700)]
Merge "Added display null check to ActivityStackSupervisor.getNextFocusableStackLocked" into pi-dev am: 473b8b09b0
am: 64ac4ee699

Change-Id: I241d016f874cd5b6f169c5132b8ec23d10753351

6 years agoMerge "Tweak new rotate icon and motion" into pi-dev
Mike Digman [Fri, 25 May 2018 01:23:09 +0000 (18:23 -0700)]
Merge "Tweak new rotate icon and motion" into pi-dev
am: a9050275ba

Change-Id: Ibda7cf39ebb2533f1b46a69ed45cf4907f47d11b

6 years agoMerge "Follow supportlib changes in SliceManager" into pi-dev
Jason Monk [Fri, 25 May 2018 01:21:35 +0000 (01:21 +0000)]
Merge "Follow supportlib changes in SliceManager" into pi-dev

6 years agoMerged many autofill session metrics into AUTOFILL_REQUEST:
Felipe Leme [Mon, 21 May 2018 18:18:46 +0000 (11:18 -0700)]
Merged many autofill session metrics into AUTOFILL_REQUEST:

- AUTOFILL_UI_LATENCY
- AUTOFILL_AUTHENTICATED;
- AUTOFILL_DATASET_AUTHENTICATED
- AUTOFILL_INVALID_AUTHENTICATION
- AUTOFILL_INVALID_DATASET_AUTHENTICATION

At least one AUTOFILL_REQUEST is created on each session; additional ones are
created for each additional request made to the service (which is tracked by
FIELD_AUTOFILL_REQUEST_INDEX).

Also:
- Added TYPE_CLOSE to indicate a timeout waiting for the service response.
- Added FIELD_AUTOFILL_REQUEST_ORDINAL to indicate the order of the request in
  the session.
- Added FIELD_AUTOFILL_NUMBER_REQUESTS on AUTOFILL_SESSION_FINISHED.
- Created an AUTOFILL_FIELD_FLAGS to avoid conflict with FIELD_FLAGS.

Test: atest CtsAutoFillServiceTestCases # to make sure it didn't break anything
Test: manually run some test and watched the result of
      'adb shell logcat -b events | grep sysui', as described below.

1) LoginActivityTest#testAutoFillNoDatasets:

[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,-1,1454,1]
[757,919,758,4,806,android.autofillservice.cts,908,android.autofillservice.cts,1455,1]

Where 907=AUTOFILL_REQUEST, 919=AUTOFILL_SESSION_FINISHED,
1454=FIELD_AUTOFILL_REQUEST_ORDINAL, 1455=FIELD_AUTOFILL_NUMBER_REQUESTS,
758:10 = TYPE_SUCCESS, 909 = FIELD_AUTOFILL_NUM_DATASETS (-1 == null response)

2) LoginActivityTest#testAutoFillTwoDatasetsSameNumberOfFields:

[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,2,1145,60,1454,1]

Where 1145=FIELD_AUTOFILL_DURATION (60ms UI latency)

3) LoginActivityTest#testCancellationSignalCalledAfterTimeout:

[757,907,758,2,806,android.autofillservice.cts,908,android.autofillservice.cts,1454,1]

Where 758:2 = TYPE_CLOSE (timeout)

4) LoginActivityTest#testAutofillManuallyOneDataset:

[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,1,1145,67,1452,1,1454,1]

Where 1452=FIELD_AUTOFILL_FLAGS and 1=FLAG_MANUAL_REQUEST

5) FillEventHistoryTest#testNoEvents_whenServiceReturnsFailure:

[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,1,1145,48,1454,1]
[757,907,758,11,806,android.autofillservice.cts,908,android.autofillservice.cts,1454,2]
[757,919,758,4,806,android.autofillservice.cts,908,android.autofillservice.cts,1455,2]

Where 758:11 = TYPE_FAILURE

6) AuthenticationTest#testFillResponseAuthJustOneField

[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,0,1145,91,1453,912,1454,1]

Where 1453:912 is FIELD_AUTOFILL_AUTHENTICATION_STATUS = AUTOFILL_AUTHENTICATED

7) AuthenticationTest#testDatasetAuthTwoDatasets

[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,2,1145,64,1453,1126,1454,1]

Where 1453:1126 is FIELD_AUTOFILL_AUTHENTICATION_STATUS =
                   AUTOFILL_DATASET_AUTHENTICATED

8) AuthenticationTest#testFillResponseAuthServiceHasNoData
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,0,1145,49,1453,1128,1454,1]

Where 1453:1128 is FIELD_AUTOFILL_AUTHENTICATION_STATUS =
                   AUTOFILL_INVALID_AUTHENTICATION

9) VirtualContainerActivityCompatModeTest#testAutofillSync

[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,1,1145,53,1414,1,1454,1]
[757,919,758,4,806,android.autofillservice.cts,908,android.autofillservice.cts,1414,1,1455,1]

Where 1414 is FIELD_AUTOFILL_COMPAT_MODE

10) FieldsClassificationTest#testHit_manyUserData_manyDetectableFields

[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,0,1271,2,1454,1]
Where 1271 is FIELD_AUTOFILL_NUM_FIELD_CLASSIFICATION_IDS

11)PartitionedActivityTest#testAutofill4PartitionsMixManualAndAuto

[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,1,1145,109,1454,1]
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,1,1452,1,1454,2]
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,1,1454,3]
[757,907,758,10,806,android.autofillservice.cts,908,android.autofillservice.cts,909,1,1452,1,1454,4]
[757,919,758,4,806,android.autofillservice.cts,908,android.autofillservice.cts,1455,4]

Bug: 80093094
Fixes: 80095814

Change-Id: I87424834fc925a3bcba410eec5aa32fcd6253367
(cherry picked from commit 01d82a51670065a683ec67b5c3a7268617a19c1f)

6 years agoMerge "Update some app permission icons" into pi-dev am: d49118bd48
Antony Sargent [Fri, 25 May 2018 01:19:56 +0000 (18:19 -0700)]
Merge "Update some app permission icons" into pi-dev am: d49118bd48
am: 78351af8c4

Change-Id: Icd974a09aa525ec6d96c931b655757930ce976f9

6 years agoMerge "Flip flag to enable vibration on wireless charging" into pi-dev am: 65477d138d
Beverly [Fri, 25 May 2018 01:05:46 +0000 (18:05 -0700)]
Merge "Flip flag to enable vibration on wireless charging" into pi-dev am: 65477d138d
am: 9b3ff51d87

Change-Id: I36657c303cdf6d60e3678ffe2cc161c5a221b0f1

6 years agoMerge "On configuration change setup screen decorations" into pi-dev am: 10908b1972
Beverly [Fri, 25 May 2018 01:03:01 +0000 (18:03 -0700)]
Merge "On configuration change setup screen decorations" into pi-dev am: 10908b1972
am: 2a4ce94354

Change-Id: I298223a3e5712b91fa6105aa44fb35996d637f65

6 years agoMerge "Revert "WallpaperColors hint computation"" into pi-dev am: cf2c35dca6
Lucas Dupin [Fri, 25 May 2018 01:00:11 +0000 (18:00 -0700)]
Merge "Revert "WallpaperColors hint computation"" into pi-dev am: cf2c35dca6
am: 30f0867ee0

Change-Id: Iae41244b5541945304d8965c22602efbd4b32988

6 years agoscreencap: return instead of _exit.
Steven Moreland [Fri, 25 May 2018 00:48:28 +0000 (17:48 -0700)]
screencap: return instead of _exit.

_exit was being used instead of return in order to
work around a static destructor issue that has been
fixed.

Bug: 77934844
Test: screencap (and it doesn't crash)
Change-Id: I5dc25b0af5099993a94705ac9c7b439e68432824

6 years agoMerge "Added the class name of activity being autofilled on (most) autofill metrics...
TreeHugger Robot [Fri, 25 May 2018 00:55:42 +0000 (00:55 +0000)]
Merge "Added the class name of activity being autofilled on (most) autofill metrics." into pi-dev

6 years agoMerge "Tweak exemption for sync requests made by FG apps" into pi-dev
Makoto Onuki [Fri, 25 May 2018 00:54:37 +0000 (17:54 -0700)]
Merge "Tweak exemption for sync requests made by FG apps" into pi-dev
am: 621fd20f55

Change-Id: I31ae3e9e11b9defb7e6352830439484d7ec7ac01

6 years agoMerge "Merge "Hide system apps until installed (1/2)" into pi-dev am: 56cc567dfd...
sanryhuang [Fri, 25 May 2018 00:53:48 +0000 (17:53 -0700)]
Merge "Merge "Hide system apps until installed (1/2)" into pi-dev am: 56cc567dfd" into pi-dev-plus-aosp
am: 984436e530

Change-Id: I24ddd296f8d72fa69c557935156ee6380955f33b

6 years agoMerge "Framework: Add API to get zygote PID" am: 1109e2333f am: 07578c786a
Andreas Gampe [Fri, 25 May 2018 00:47:57 +0000 (17:47 -0700)]
Merge "Framework: Add API to get zygote PID" am: 1109e2333f am: 07578c786a
am: 4f11d5381e

Change-Id: I827a7df417597f17f78276052c5b17e064ebec7d