OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "AAPT2: Insert platformBuild information" into pi-dev
Ryan Mitchell [Fri, 11 May 2018 15:18:56 +0000 (15:18 +0000)]
Merge "AAPT2: Insert platformBuild information" into pi-dev

6 years agoMerge "Include in hidden API dark greylist based on package name" into pi-dev
David Brazdil [Fri, 11 May 2018 15:11:23 +0000 (15:11 +0000)]
Merge "Include in hidden API dark greylist based on package name" into pi-dev

6 years agoMerge "Make sure KeyguardUpdateMonitor uses main thread" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 14:39:29 +0000 (14:39 +0000)]
Merge "Make sure KeyguardUpdateMonitor uses main thread" into pi-dev

6 years agoMerge "Fix issue with compressed smart replies." into pi-dev
TreeHugger Robot [Fri, 11 May 2018 14:19:40 +0000 (14:19 +0000)]
Merge "Fix issue with compressed smart replies." into pi-dev

6 years agoMerge "Battery saver color changes" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 13:48:43 +0000 (13:48 +0000)]
Merge "Battery saver color changes" into pi-dev

6 years agoInclude in hidden API dark greylist based on package name
David Brazdil [Thu, 10 May 2018 14:50:02 +0000 (15:50 +0100)]
Include in hidden API dark greylist based on package name

Dark greylist has so far been populated with the remaining class
members of classes listed on the light greylist. This patch changes
the rule to include all remaining classes and class members in the
same package (sub-packages not included).

Bug: 64382372
Test: make -j64 out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt
Change-Id: Icf3f60f1e776f092103c612fc3995ce0e66617ea

6 years agoMerge "Changed interceptor dialog text for suspended apps" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 12:21:39 +0000 (12:21 +0000)]
Merge "Changed interceptor dialog text for suspended apps" into pi-dev

6 years agoRevert "Revert "Add static analysis data.""
Nicolas Geoffray [Fri, 11 May 2018 10:17:37 +0000 (10:17 +0000)]
Revert "Revert "Add static analysis data.""

bug: 64382372

Merged-in: I188a69ad05fffa69be79fec36b180fc9f76998fa
Merged-in: Ie0696a5eecf610165c4b9c339a789f76964a0623
Test: m

This reverts commit a11a78549d0930ddfc27746ab67b64f3e64f6004.

Change-Id: I8e82aa8cb30052555cbc4020ebe8a0c1157dc6e6

6 years agoMerge "Move registration of AssetManager.mObject to zygote." into pi-dev
Nicolas Geoffray [Fri, 11 May 2018 10:13:42 +0000 (10:13 +0000)]
Merge "Move registration of AssetManager.mObject to zygote." into pi-dev

6 years agoGreylist hidden methods for exempting trusted test code
David Brazdil [Wed, 9 May 2018 17:02:03 +0000 (18:02 +0100)]
Greylist hidden methods for exempting trusted test code

Bug: 64382372
Test: N/A
Merged-In: I8bcc3d23d0b942e70a16a9d28ea0d21ce4fe75a2
Change-Id: I8bcc3d23d0b942e70a16a9d28ea0d21ce4fe75a2
(cherry picked from commit 0e348c5013b37843302fb2d3c558fd7961c592a4)

6 years agoMerge "Add new type into metrics_constants.proto" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 09:33:20 +0000 (09:33 +0000)]
Merge "Add new type into metrics_constants.proto" into pi-dev

6 years agoMerge "Treat fg service alarms like bg service alarms under FAS" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 03:14:33 +0000 (03:14 +0000)]
Merge "Treat fg service alarms like bg service alarms under FAS" into pi-dev

6 years agoMerge "Add a path to allow detection of task changes to the top of the ActivityView...
TreeHugger Robot [Fri, 11 May 2018 02:45:25 +0000 (02:45 +0000)]
Merge "Add a path to allow detection of task changes to the top of the ActivityView" into pi-dev

6 years agoMerge "Document system activity intents that may not be implemented" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 02:42:38 +0000 (02:42 +0000)]
Merge "Document system activity intents that may not be implemented" into pi-dev

6 years agoMake sure KeyguardUpdateMonitor uses main thread
Jason Monk [Fri, 11 May 2018 02:38:18 +0000 (19:38 -0700)]
Make sure KeyguardUpdateMonitor uses main thread

It might be affecting some tests in bad ways.

Test: runtest systemui
Bug: 79550837
Change-Id: Ifcd746f8b0131bcc21772d0b722cca9700bf5afc

6 years agoMerge "Cannot add null callbacks to ZenController" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 02:03:55 +0000 (02:03 +0000)]
Merge "Cannot add null callbacks to ZenController" into pi-dev

6 years agoDocument system activity intents that may not be implemented
Christopher Tate [Thu, 10 May 2018 20:09:48 +0000 (13:09 -0700)]
Document system activity intents that may not be implemented

All of these activity-start intents might be unimplemented on some
Android products.  Document this to make sure that developers are
aware of the need to safeguard against this.

Bug: 68300743
Bug: 62201251
Bug: 69587018
Fixes: 77282739
Test: atest CtsContentTestCases:.AvailableIntentsTest
Change-Id: Ia2346d03ccb7f2bdad2b84ba9efff72413fdc3c2

6 years agoMerge "Add new category keys." into pi-dev
TreeHugger Robot [Fri, 11 May 2018 00:46:42 +0000 (00:46 +0000)]
Merge "Add new category keys." into pi-dev

6 years agoMerge "Added support to run autofill service from instant apps." into pi-dev
TreeHugger Robot [Fri, 11 May 2018 00:06:37 +0000 (00:06 +0000)]
Merge "Added support to run autofill service from instant apps." into pi-dev

6 years agoBattery saver color changes
Evan Laird [Thu, 3 May 2018 21:00:25 +0000 (17:00 -0400)]
Battery saver color changes

Outline the battery with 1dp colorError border when in powersave mode to
make it more obvious.

Also un-bold the '+'. Doesn't look so wonderful

Test: turn on power save mode; look at it
Fixes: visual
Bug: 78638798
Change-Id: I9c649814764c41893c972d707449ad30095a131d

6 years agoMerge "Allow mobile status bar icon to overflow" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 23:44:33 +0000 (23:44 +0000)]
Merge "Allow mobile status bar icon to overflow" into pi-dev

6 years agoAAPT2: Insert platformBuild information
Ryan Mitchell [Thu, 10 May 2018 22:35:31 +0000 (15:35 -0700)]
AAPT2: Insert platformBuild information

Inserts platformBuildVersionName and platformBuildVersionName when the
attributes are not currrently present. The attributes are set to
the values of versionName and versionCode.

Bug: 77541121
Test: Build apk using aapt and appt2 and dumped using xmltree to confirm
the presence of the attributes
Change-Id: I5330381905c878fb877214b42f83d7e2e48cd062

6 years agoMerge "Fix User unable to view the keyboard input" into pi-dev
Selim Cinek [Thu, 10 May 2018 22:09:38 +0000 (22:09 +0000)]
Merge "Fix User unable to view the keyboard input" into pi-dev

6 years agoMerge "Update documentation of ApnSetting with V5 example" into pi-dev
Jordan Liu [Thu, 10 May 2018 22:09:16 +0000 (22:09 +0000)]
Merge "Update documentation of ApnSetting with V5 example" into pi-dev

6 years agoMerge "Fix failure in ExifInterface on certain HEIF files" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 22:03:41 +0000 (22:03 +0000)]
Merge "Fix failure in ExifInterface on certain HEIF files" into pi-dev

6 years agoMerge "Remove failsafe runnable once the animation finishes." into pi-dev
Winson Chung [Thu, 10 May 2018 21:33:53 +0000 (21:33 +0000)]
Merge "Remove failsafe runnable once the animation finishes." into pi-dev

6 years agoMerge "Expose rotation button as hit target for deferring recents animation." into...
Winson Chung [Thu, 10 May 2018 21:33:49 +0000 (21:33 +0000)]
Merge "Expose rotation button as hit target for deferring recents animation." into pi-dev

6 years agoCannot add null callbacks to ZenController
Beverly [Thu, 10 May 2018 20:43:52 +0000 (16:43 -0400)]
Cannot add null callbacks to ZenController

- In StatusBar: remove callback on destroy

Bug: 79418729
Test: atest ZenModeControllerImplTest
Change-Id: I92729b0c0414d0ed8f844371cbf357b613ced0b5

6 years agoAdded support to run autofill service from instant apps.
Felipe Leme [Wed, 9 May 2018 17:17:50 +0000 (10:17 -0700)]
Added support to run autofill service from instant apps.

Bug: 79422318
Test: m -j CtsAutoFillServiceTestCases && \
      cts-tradefed run commandAndExit cts-instant-dev \
      -m CtsAutoFillServiceTestCases
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Change-Id: I1e885fe7edcbc0ace3a0f60abacb9cea9b6c03e7

6 years agoMerge "[automerger] clearCallingIdentity before calling into getPackageUidAsUser...
Android Build Merger (Role) [Thu, 10 May 2018 21:07:45 +0000 (21:07 +0000)]
Merge "[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373 am: b1f2848510 am: 884d2c7360 am: 6a42ea18b3 am: 42ded39df8 am: fb67a0f5f3 am: 2cb239cf3c am: 8914d11b15 am: 675ad12059 am: ed2d7b7d62 am: e4204fa020 am: 5f26706929" into pi-dev

6 years ago[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e...
Tony Mak [Thu, 10 May 2018 21:07:25 +0000 (14:07 -0700)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373 am: b1f2848510 am: 884d2c7360 am: 6a42ea18b3 am: 42ded39df8 am: fb67a0f5f3 am: 2cb239cf3c am: 8914d11b15 am: 675ad12059 am: ed2d7b7d62 am: e4204fa020
am: 5f26706929

Change-Id: Ibd4fff1bb0266441b7245bea886826aa0b18765d

6 years agoMerge "Fix notificationinfo test breakage" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 21:04:41 +0000 (21:04 +0000)]
Merge "Fix notificationinfo test breakage" into pi-dev

6 years agoMerge "SyncManager: Suppress WTF until ready to sync" into pi-dev
Makoto Onuki [Thu, 10 May 2018 21:00:51 +0000 (21:00 +0000)]
Merge "SyncManager: Suppress WTF until ready to sync" into pi-dev

6 years ago[automerger] Nullcheck to fix Autofill CTS am: 6c68a69288 am: 743abb939a am: a99414f5...
Eugene Susla [Thu, 10 May 2018 20:56:56 +0000 (13:56 -0700)]
[automerger] Nullcheck to fix Autofill CTS am: 6c68a69288 am: 743abb939a am: a99414f51f am: 6b95503960 am: 9e291fe8c2 am: 97f7498c18 am: 232f42c7b8 am: 76a04ff670 am: 2bd91daa06 am: 3543522564 am: 775b8adf7b
am: dd7d1ca671

Change-Id: I6e03797e8b08d7ee74554745e67489034a8ac953

6 years ago[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e...
Tony Mak [Thu, 10 May 2018 20:39:43 +0000 (13:39 -0700)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373 am: b1f2848510 am: 884d2c7360 am: 6a42ea18b3 am: 42ded39df8 am: fb67a0f5f3 am: 2cb239cf3c am: 8914d11b15 am: 675ad12059 am: ed2d7b7d62
am: e4204fa020

Change-Id: I4c1426d98c470490c9a62ca88bafbd5d5c62c09c

6 years agoChanged interceptor dialog text for suspended apps
Suprabh Shukla [Thu, 3 May 2018 00:57:18 +0000 (17:57 -0700)]
Changed interceptor dialog text for suspended apps

Title: App isn't available
Body: <suspended app name> isn't available right now. This is managed by
<suspending app name>.

Test: atest \
com.android.server.pm.SuspendPackagesTest#testInterceptorActivity

Bug: 79134961
Change-Id: I0e77a4045a8c709c528c4163830d2ad396d6bf1b

6 years agoAdd new category keys.
Doris Ling [Thu, 10 May 2018 20:29:38 +0000 (13:29 -0700)]
Add new category keys.

Adding 2 new category keys for injecting dynamic tiles:
- night light
- gestures

Bug: 79530682
Bug: 79532703
Test: make RunSettingsLibRoboTests
Change-Id: I4e7f10c8abdf425f24d5b51bcc8a5f80faca5281

6 years ago[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e...
Tony Mak [Thu, 10 May 2018 20:28:09 +0000 (13:28 -0700)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373 am: b1f2848510 am: 884d2c7360 am: 6a42ea18b3 am: 42ded39df8 am: fb67a0f5f3 am: 2cb239cf3c am: 8914d11b15 am: 675ad12059
am: ed2d7b7d62

Change-Id: Ibfff2e78a363925207bd6ea0364aa494f99fe6b3

6 years ago[automerger] Nullcheck to fix Autofill CTS am: 6c68a69288 am: 743abb939a am: a99414f5...
Eugene Susla [Thu, 10 May 2018 20:20:16 +0000 (13:20 -0700)]
[automerger] Nullcheck to fix Autofill CTS am: 6c68a69288 am: 743abb939a am: a99414f51f am: 6b95503960 am: 9e291fe8c2 am: 97f7498c18 am: 232f42c7b8 am: 76a04ff670 am: 2bd91daa06 am: 3543522564
am: 775b8adf7b

Change-Id: I835e777e7e6bee5e91bfa729d095f8b6f0653c43

6 years agoMerge "Add new method in PowerWhitelistBackend" into pi-dev
Lei Yu [Thu, 10 May 2018 20:10:41 +0000 (20:10 +0000)]
Merge "Add new method in PowerWhitelistBackend" into pi-dev

6 years agoFix notificationinfo test breakage
Rohan Shah [Thu, 10 May 2018 20:00:54 +0000 (13:00 -0700)]
Fix notificationinfo test breakage

Bind no longer logs unnecessarily - log was moved over to the manager
already.

Test: Ran test
Fixes: 79533793
Change-Id: I1d893935fa93ff7dbb91e922ae2444c4ac42b046

6 years ago[automerger] Nullcheck to fix Autofill CTS am: 6c68a69288 am: 743abb939a am: a99414f5...
Eugene Susla [Thu, 10 May 2018 20:07:48 +0000 (13:07 -0700)]
[automerger] Nullcheck to fix Autofill CTS am: 6c68a69288 am: 743abb939a am: a99414f51f am: 6b95503960 am: 9e291fe8c2 am: 97f7498c18 am: 232f42c7b8 am: 76a04ff670 am: 2bd91daa06
am: 3543522564

Change-Id: I62fb1c7d3eb618e7f3d8b2033303761c5f75e9c8

6 years agoMerge "VintfObjectTest: fix test with respect to deprecation schedule changes" into...
TreeHugger Robot [Thu, 10 May 2018 19:58:00 +0000 (19:58 +0000)]
Merge "VintfObjectTest: fix test with respect to deprecation schedule changes" into pi-dev

6 years agoMerge "Extend Location setting to show location usage within 24 hours." into pi-dev
TreeHugger Robot [Thu, 10 May 2018 18:43:42 +0000 (18:43 +0000)]
Merge "Extend Location setting to show location usage within 24 hours." into pi-dev

6 years agoMerge "Expands javadocs for Intent.FLAG_ACTIVITY_MATCH_EXTERNAL" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 18:23:07 +0000 (18:23 +0000)]
Merge "Expands javadocs for Intent.FLAG_ACTIVITY_MATCH_EXTERNAL" into pi-dev

6 years agoExpose rotation button as hit target for deferring recents animation.
Winson Chung [Thu, 10 May 2018 18:12:55 +0000 (11:12 -0700)]
Expose rotation button as hit target for deferring recents animation.

Bug: 78906750
Test: Hit rotation button with Camera open, no flash
Change-Id: Id5abc2d255d35debcade0ccbc55f20aedcf89e35

6 years agoRemove failsafe runnable once the animation finishes.
Winson Chung [Thu, 10 May 2018 17:32:39 +0000 (10:32 -0700)]
Remove failsafe runnable once the animation finishes.

- The scheduled failsafe runnable was running after we had already
  cleaned up the reference to the animation runner. Clear the runnable
  and also mark the animation as canceled so that future calls that
  happen to get through (from the runner as well) are also ignored.

Bug: 79514993
Test: atest FrameworksServicesTests:com.android.server.wm.RecentsAnimationControllerTest
Change-Id: Ib8d565022068833ccad212df3a7f6df68f5343d7

6 years agoMerge "Disallow animating when opening home" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 17:41:28 +0000 (17:41 +0000)]
Merge "Disallow animating when opening home" into pi-dev

6 years ago[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e...
Android Build Merger (Role) [Thu, 10 May 2018 17:41:07 +0000 (17:41 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373 am: b1f2848510 am: 884d2c7360 am: 6a42ea18b3 am: 42ded39df8 am: fb67a0f5f3 am: 2cb239cf3c am: 8914d11b15 am: 675ad12059

Change-Id: I9435814e67948c466a6bebc7acdcb2e68b30d4be

6 years ago[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e...
Android Build Merger (Role) [Thu, 10 May 2018 17:41:03 +0000 (17:41 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373 am: b1f2848510 am: 884d2c7360 am: 6a42ea18b3 am: 42ded39df8 am: fb67a0f5f3 am: 2cb239cf3c am: 8914d11b15

Change-Id: I72861a0685af1981b9a50ebbb8eb315d150f5f63

6 years ago[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e...
Android Build Merger (Role) [Thu, 10 May 2018 17:40:57 +0000 (17:40 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373 am: b1f2848510 am: 884d2c7360 am: 6a42ea18b3 am: 42ded39df8 am: fb67a0f5f3 am: 2cb239cf3c

Change-Id: I8f405684aae1cdb6aac377861d3387622a20f661

6 years ago[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e...
Android Build Merger (Role) [Thu, 10 May 2018 17:40:52 +0000 (17:40 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373 am: b1f2848510 am: 884d2c7360 am: 6a42ea18b3 am: 42ded39df8 am: fb67a0f5f3

Change-Id: I756b595747e3d97ddb14dc45ed1b6001ec6ebed8

6 years ago[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e...
Android Build Merger (Role) [Thu, 10 May 2018 17:40:46 +0000 (17:40 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373 am: b1f2848510 am: 884d2c7360 am: 6a42ea18b3 am: 42ded39df8

Change-Id: I315da9ccb85d9e69edf18dd85b7bdf183bd6f738

6 years ago[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e...
Android Build Merger (Role) [Thu, 10 May 2018 17:40:32 +0000 (17:40 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373 am: b1f2848510 am: 884d2c7360 am: 6a42ea18b3

Change-Id: If82fd8b2c76bedf089bec4501169417427854b1d

6 years ago[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e...
Android Build Merger (Role) [Thu, 10 May 2018 17:40:27 +0000 (17:40 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373 am: b1f2848510 am: 884d2c7360

Change-Id: I0e5ba8adaed2d6247137319262278fac98f467e1

6 years ago[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e...
Android Build Merger (Role) [Thu, 10 May 2018 17:40:22 +0000 (17:40 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373 am: b1f2848510

Change-Id: I689d44b6617f0ed949e3f72367980158ea06ad0d

6 years ago[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373
Android Build Merger (Role) [Thu, 10 May 2018 17:40:16 +0000 (17:40 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373

Change-Id: I2166c2f9ca0a6654e1a88b1d183062eb1564c24d

6 years agoclearCallingIdentity before calling into getPackageUidAsUser
Tony Mak [Thu, 14 Dec 2017 12:40:07 +0000 (12:40 +0000)]
clearCallingIdentity before calling into getPackageUidAsUser

Fix: 70585244
Bug: 69981755

Test: Enable any accessibility service -> inflate work profile
      -> Tap on any work app -> no longer crash

Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.CrossProfileAppsHostSideTest.testPrimaryUserToManagedProfile
Change-Id: I80d18f4e2ab76a228cb0aa2c8312c323a9b5c84d

6 years agoMerge "[Notif] Limit shown events to manager.show" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 17:40:03 +0000 (17:40 +0000)]
Merge "[Notif] Limit shown events to manager.show" into pi-dev

6 years agoExtend Location setting to show location usage within 24 hours.
Wei Wang [Tue, 1 May 2018 18:21:31 +0000 (11:21 -0700)]
Extend Location setting to show location usage within 24 hours.

Bug: 79089524

Test: manual, unit test.
Change-Id: I0058479a3b8e139c68c688e6e14f837a335bba6f
Merged-In: I0058479a3b8e139c68c688e6e14f837a335bba6f

6 years agoExpands javadocs for Intent.FLAG_ACTIVITY_MATCH_EXTERNAL
Patrick Baumann [Thu, 10 May 2018 17:10:26 +0000 (10:10 -0700)]
Expands javadocs for Intent.FLAG_ACTIVITY_MATCH_EXTERNAL

This change adds much needed detail to the new MATCH_EXTERNAL flag,
explaining some of the behavior changes that come with using it.

Test: none
Bug: 63117034
Bug: 79325769
Change-Id: Iab320d2171ffe8d8012a2928656ea61d5e0f0862

6 years agoAllow mobile status bar icon to overflow
Evan Laird [Thu, 10 May 2018 17:13:27 +0000 (13:13 -0400)]
Allow mobile status bar icon to overflow

With display size set to larest, a wide notch emulated, and battery
percentage showing, it's possible to not be able to fit a single status
icon other than the battery. In this case, the mobile icon needs to
overflow into the etc area.

Some other changes:
- set View.INVISIBLE instead of View.GONE when hiding the mobile view so
that it correctly reports its width on measure
- Don't subtract padding from width when laying out StatusIconContainer

Test: visual
Change-Id: Ic8e73402a3371331dd4c803f3c4559da276ba0a2
Fixes: 78149953
Fixes: 77504032

6 years agoMerge "Combine a message as one string and give it to snet_event_log" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 17:02:35 +0000 (17:02 +0000)]
Merge "Combine a message as one string and give it to snet_event_log" into pi-dev

6 years agoMerge "Revert "Add static analysis data."" into pi-dev
Nicolas Geoffray [Thu, 10 May 2018 16:55:46 +0000 (16:55 +0000)]
Merge "Revert "Add static analysis data."" into pi-dev

6 years agoRevert "Add static analysis data."
Nicolas Geoffray [Thu, 10 May 2018 16:54:21 +0000 (16:54 +0000)]
Revert "Add static analysis data."

bug: 64382372

Merged-in: I188a69ad05fffa69be79fec36b180fc9f76998fa

This reverts commit 43293cfd3320661f3bfb19490ab0cf4927c1882f.

Change-Id: I324819bba610426f5ea63077275f792374386b6c

6 years agoMerge "RRO: Fix black screen flashes for splits" into pi-dev
Ryan Mitchell [Thu, 10 May 2018 16:47:09 +0000 (16:47 +0000)]
Merge "RRO: Fix black screen flashes for splits" into pi-dev

6 years agoRRO: Fix black screen flashes for splits
Ryan Mitchell [Wed, 9 May 2018 16:01:12 +0000 (09:01 -0700)]
RRO: Fix black screen flashes for splits

Downloading splits of an app while the app is open lead to black screen
flashes because apps would relaunch unnecessarily. This
change allows OMS to have correct state about targets while no longer
sending OVERLAY_CHANGED events or relaunching activities when packages
are changed or upgraded.

Bug: 79376331
Test: App provided in b/79376331 and regression testing of previous
black screen flash problems
Change-Id: I6e725dbe44b910959bc14304801b314024d9e831

6 years agoSyncManager: Suppress WTF until ready to sync
Makoto Onuki [Tue, 8 May 2018 22:21:56 +0000 (15:21 -0700)]
SyncManager: Suppress WTF until ready to sync

"Sync job didn't start" check shouldn't be triggered until we're
actually ready to sync.

Bug: 78590632
Test: run a sync and make sure log has "readyToSync=true"

Change-Id: I64d43e21624d4e6415aa508fdbe7fffb51489608

6 years agoMerge "Fix BatterySaverPolicyTest and add more accessibility test" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 16:39:59 +0000 (16:39 +0000)]
Merge "Fix BatterySaverPolicyTest and add more accessibility test" into pi-dev

6 years agoMerge "Move BH test to flaky and change it slightly" into pi-dev
Rohan Shah [Thu, 10 May 2018 16:20:18 +0000 (16:20 +0000)]
Merge "Move BH test to flaky and change it slightly" into pi-dev

6 years agoMerge "Desaturating the icon disabled on app widgets for a suspended app" into pi-dev
Sunny Goyal [Thu, 10 May 2018 16:04:17 +0000 (16:04 +0000)]
Merge "Desaturating the icon disabled on app widgets for a suspended app" into pi-dev

6 years agoCombine a message as one string and give it to snet_event_log
Koji Fukui [Wed, 9 May 2018 02:38:01 +0000 (11:38 +0900)]
Combine a message as one string and give it to snet_event_log

snet_event_log gets 3 arguments. Combine a message of revoking
permission when group changed and give it to 3rd argument of
snet_event_log.

Test: Repo'd scenario and looked at log
Bug: 79443138
Change-Id: Iecf0505bb7927891aa879d0cacedcf94872b9452

6 years agoMerge "Revert "Change the root of trust for CryptAuth Vault Service"" into pi-dev
Bo Zhu [Thu, 10 May 2018 15:56:48 +0000 (15:56 +0000)]
Merge "Revert "Change the root of trust for CryptAuth Vault Service"" into pi-dev

6 years agoRevert "Change the root of trust for CryptAuth Vault Service"
Bo Zhu [Thu, 10 May 2018 15:37:41 +0000 (15:37 +0000)]
Revert "Change the root of trust for CryptAuth Vault Service"

This reverts commit 1f4097860987a7e8337f7ffb101488512698e69c.

Reason for revert: Will resubmit once the server side change is ready

Bug: 79513473
Bug: 78920513
Change-Id: I4c94d307a9181390a59cdc1602cc9d04c1661ad0

6 years agoMerge "Only set text when it actually changes" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 15:50:47 +0000 (15:50 +0000)]
Merge "Only set text when it actually changes" into pi-dev

6 years agoMerge "Add static analysis data." into pi-dev
Nicolas Geoffray [Thu, 10 May 2018 15:25:44 +0000 (15:25 +0000)]
Merge "Add static analysis data." into pi-dev

6 years agoMerge "Disable APF memory clear on pre-APFv4 devices" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 15:14:20 +0000 (15:14 +0000)]
Merge "Disable APF memory clear on pre-APFv4 devices" into pi-dev

6 years agoAdd static analysis data.
Nicolas Geoffray [Wed, 9 May 2018 20:55:50 +0000 (21:55 +0100)]
Add static analysis data.

bug: 64382372
Test: m

Merged-in: I188a69ad05fffa69be79fec36b180fc9f76998fa
Change-Id: I1320c833bf2084d03627fca6bb1f5d365cf289c2

6 years agoMove registration of AssetManager.mObject to zygote.
Nicolas Geoffray [Thu, 10 May 2018 14:00:13 +0000 (15:00 +0100)]
Move registration of AssetManager.mObject to zygote.

bug: 73865351
Test: m

Change-Id: I9d0f0c8ae016b8823246e25bfdbff0d4fd8eaae1

6 years agoDisable APF memory clear on pre-APFv4 devices
Bernie Innocenti [Wed, 9 May 2018 08:58:50 +0000 (17:58 +0900)]
Disable APF memory clear on pre-APFv4 devices

Fixes a system crash on HU when connecting to a wifi AP.

Change-Id: I8b71323985b6c5fc8a75f99470c9f86343d57f90
Bug: 78905546
Test: manually on android auto device

6 years agoFix issue with compressed smart replies.
Kenny Guy [Wed, 9 May 2018 15:51:26 +0000 (16:51 +0100)]
Fix issue with compressed smart replies.

Width overflows if we both remeasure due
to failing to squeeze and due to padding
changes.

Bug: 79225896
Test: atest SmartReplyViewTest
Test: manual - recieve notification from Inbox check reply buttons.
Change-Id: I8ef306bbb7e3732b433830f856257fbfedeb89c0

6 years agoMerge "Fix colorized messaging layout and smart replies." into pi-dev
Kenny Guy [Thu, 10 May 2018 11:37:38 +0000 (11:37 +0000)]
Merge "Fix colorized messaging layout and smart replies." into pi-dev

6 years agoAdd new type into metrics_constants.proto
hughchen [Thu, 10 May 2018 10:04:25 +0000 (18:04 +0800)]
Add new type into metrics_constants.proto

* Change DIALOG_UPDATABLE_LIST_PREFERENCE to DIALOG_SWITCH_A2DP_DEVICES.
* Add DIALOG_SWITCH_HFP_DEVICES
* This is for a new dialog which is able to update content instantly when connected devices change

Bug: 77783217
Test: build
Change-Id: I1dd79f35a2b26be071acceca5fe984c8f17d44ec

6 years agoMerge "Add navbar magnification to critical accessibility check" into pi-dev
Annie Meng [Thu, 10 May 2018 09:47:29 +0000 (09:47 +0000)]
Merge "Add navbar magnification to critical accessibility check" into pi-dev

6 years agoFix colorized messaging layout and smart replies.
Kenny Guy [Wed, 2 May 2018 18:10:36 +0000 (19:10 +0100)]
Fix colorized messaging layout and smart replies.

Modify messaging style and smart replies view to
cope with colorized backgrounds.

Bug: 78928664
Bug: 77927019
Test: atest SystemUITests (with patch from ag/3992401)
Test: visual - see bug for screenshots

Change-Id: Iee66931574fb48d0340986bf520532f798ef59fc

6 years agoMerge "Fixing a couple crashes in the SoundTriggerTestApp" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 06:57:32 +0000 (06:57 +0000)]
Merge "Fixing a couple crashes in the SoundTriggerTestApp" into pi-dev

6 years agoMerge "AOD group notification style" into pi-dev
Lucas Dupin [Thu, 10 May 2018 06:49:42 +0000 (06:49 +0000)]
Merge "AOD group notification style" into pi-dev

6 years agoMerge "Dismiss Quickstep onboarding tip sooner." into pi-dev
Tracy Zhou [Thu, 10 May 2018 06:45:02 +0000 (06:45 +0000)]
Merge "Dismiss Quickstep onboarding tip sooner." into pi-dev

6 years agoMerge "Make system server profiling an explicit runtime intent" into pi-dev
Calin Juravle [Thu, 10 May 2018 06:03:08 +0000 (06:03 +0000)]
Merge "Make system server profiling an explicit runtime intent" into pi-dev

6 years agoMerge "Fix SSID not being logged by the validation logs" into pi-dev
Chalard Jean [Thu, 10 May 2018 05:58:24 +0000 (05:58 +0000)]
Merge "Fix SSID not being logged by the validation logs" into pi-dev

6 years agoMerge "Further flesh out app ops foreground state." into pi-dev
Dianne Hackborn [Thu, 10 May 2018 05:49:08 +0000 (05:49 +0000)]
Merge "Further flesh out app ops foreground state." into pi-dev

6 years agoMerge "Allow keep showing to bypass bouncer" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 05:43:33 +0000 (05:43 +0000)]
Merge "Allow keep showing to bypass bouncer" into pi-dev

6 years agoDismiss Quickstep onboarding tip sooner.
Tracy Zhou [Tue, 8 May 2018 22:24:17 +0000 (15:24 -0700)]
Dismiss Quickstep onboarding tip sooner.

We want to dismiss the quickstep tip immediately after swipe up gesture
crosses threshold.

Bug: 70180942
Test: Manual test
Change-Id: I760e2b5cad4b38c84b1199729f9d5f2a8827af4c

6 years agoMerge "MediaSessionService: Provide caller information for media key events" into...
Jaewan Kim [Thu, 10 May 2018 04:48:35 +0000 (04:48 +0000)]
Merge "MediaSessionService: Provide caller information for media key events" into pi-dev

6 years agoMerge "Enhance adding subscription logs" into pi-dev
Shuo Qian [Thu, 10 May 2018 04:32:36 +0000 (04:32 +0000)]
Merge "Enhance adding subscription logs" into pi-dev

6 years agoAllow keep showing to bypass bouncer
Rohan Shah [Thu, 10 May 2018 03:32:15 +0000 (20:32 -0700)]
Allow keep showing to bypass bouncer

User experience improvement that alleviates the current bouncer bug with
the blocking helper (where users can't swipe after interacting with the
blocking helper).

Bug: 78222122
Test: Added test case, verified on device with lock screen pin + helper
Change-Id: I54806df8b960ea305b120aef6217a6b90f30590b

6 years ago[Notif] Limit shown events to manager.show
Rohan Shah [Thu, 10 May 2018 02:55:30 +0000 (19:55 -0700)]
[Notif] Limit shown events to manager.show

We have a slight over-fire of show events due to bindNotification being
called multiple times on density or user config changes. To be extra
careful, limit the show events to only get called with
perhapsShowBlockingHelper.

Bug:74609669
Test: Through adb logcat -b events + thru config changes
Change-Id: I0719052869e53ff1cba5030579daf512f324e99c

6 years agoMerge "Fix the gauge metric data size estimation." into pi-dev
TreeHugger Robot [Thu, 10 May 2018 02:43:20 +0000 (02:43 +0000)]
Merge "Fix the gauge metric data size estimation." into pi-dev

6 years agoMerge "Add a sampling method to pull gauge when condition changes to true." into...
Yang Lu [Thu, 10 May 2018 02:37:49 +0000 (02:37 +0000)]
Merge "Add a sampling method to pull gauge when condition changes to true." into pi-dev

6 years agoMerge "Skip writing metrics to disk if it's entirely composed of no_report_metric...
TreeHugger Robot [Thu, 10 May 2018 02:02:37 +0000 (02:02 +0000)]
Merge "Skip writing metrics to disk if it's entirely composed of no_report_metric" into pi-dev