OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Add limits to App Usage Observer Api" into pi-dev
Amith Yamasani [Fri, 11 May 2018 19:03:11 +0000 (19:03 +0000)]
Merge "Add limits to App Usage Observer Api" into pi-dev

6 years agoMerge "Fix TextClassifier logging." into pi-dev
TreeHugger Robot [Fri, 11 May 2018 18:29:31 +0000 (18:29 +0000)]
Merge "Fix TextClassifier logging." into pi-dev

6 years agoMerge "Fall back to checking packages if one is not provided" into pi-dev
Chad Brubaker [Fri, 11 May 2018 18:13:35 +0000 (18:13 +0000)]
Merge "Fall back to checking packages if one is not provided" into pi-dev

6 years agoMerge "Don't crash if SoundTriggerDetectionService client is gone or if there is...
Michael Dooley [Fri, 11 May 2018 17:46:41 +0000 (17:46 +0000)]
Merge "Don't crash if SoundTriggerDetectionService client is gone or if there is a remote exception while finishing an opperation" into pi-dev

6 years agoMerge changes from topic "b_78809704" into pi-dev
Todd Kennedy [Fri, 11 May 2018 17:44:53 +0000 (17:44 +0000)]
Merge changes from topic "b_78809704" into pi-dev

* changes:
  OMS: teach the OMS about static RROs
  OMS: rebase settings when overlays update

6 years agoMerge "Don't allow non-showOnLock activity to be next on finish." into pi-dev
TreeHugger Robot [Fri, 11 May 2018 17:39:36 +0000 (17:39 +0000)]
Merge "Don't allow non-showOnLock activity to be next on finish." into pi-dev

6 years agoMerge "Fix active permission touch target too small" into pi-dev
Dieter Hsu [Fri, 11 May 2018 17:37:35 +0000 (17:37 +0000)]
Merge "Fix active permission touch target too small" into pi-dev

6 years agoMerge "Do not hide keyguard message when fp" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 17:31:24 +0000 (17:31 +0000)]
Merge "Do not hide keyguard message when fp" into pi-dev

6 years agoMerge "Allow onGetSliceDescendants to be slow" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 17:21:28 +0000 (17:21 +0000)]
Merge "Allow onGetSliceDescendants to be slow" into pi-dev

6 years agoMerge "Support generic filters when EXTERNAL flag is set" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 17:16:37 +0000 (17:16 +0000)]
Merge "Support generic filters when EXTERNAL flag is set" into pi-dev

6 years agoFall back to checking packages if one is not provided
Chad Brubaker [Wed, 9 May 2018 21:05:57 +0000 (14:05 -0700)]
Fall back to checking packages if one is not provided

Test: atest GsmCdmaPhoneTest.java
Change-Id: I81df49fd2f751ce28d834fc5d9cd254623930770
Fixes: 75450505

6 years agoMerge "Revert "Revert "Change the root of trust for CryptAuth Vault Service""" into...
Bo Zhu [Fri, 11 May 2018 16:46:16 +0000 (16:46 +0000)]
Merge "Revert "Revert "Change the root of trust for CryptAuth Vault Service""" into pi-dev

6 years agoMerge "Fix focusable on entire notification area if QS is expanded" into pi-dev
Riddle Hsu [Fri, 11 May 2018 16:36:29 +0000 (16:36 +0000)]
Merge "Fix focusable on entire notification area if QS is expanded" into pi-dev

6 years agoDo not hide keyguard message when fp
Lucas Dupin [Thu, 10 May 2018 22:31:20 +0000 (15:31 -0700)]
Do not hide keyguard message when fp

Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardPinBasedInputViewTest.java
Change-Id: I5d76b688b0eb7c1df6a36c1cb910f2b0ec98bc46
Fixes: 78235570

6 years agoSupport generic filters when EXTERNAL flag is set
Patrick Baumann [Thu, 3 May 2018 20:16:01 +0000 (13:16 -0700)]
Support generic filters when EXTERNAL flag is set

This change opts instant app resolution out of hash prefix matching if
the intent filter being tested does not define an authority only when
the MATCH_EXTERNAL flag is set. This allows for a class of instant apps
that generically handle certain mime types or actions, but aren't tied
to a particular authority / domain.

This also moves the null check for resolution to a higher level,
accounting for connection-related failures to ensure that the installer
always gets a properly formatted intent.

Bug: 63117034
Test: manual - force connection timeouts and observe correct install intent
Test: manual - launch a generic type handler for a made up mime type;
               observe correct resolution
Test: atest EphemeralTest
Change-Id: I0101e3219f543897a488ddd3d7c4c884f7d6cac3

6 years agoMerge "Add APIs from public requests." into pi-dev
Mathew Inwood [Fri, 11 May 2018 15:44:53 +0000 (15:44 +0000)]
Merge "Add APIs from public requests." into pi-dev

6 years agoAllow onGetSliceDescendants to be slow
Jason Monk [Fri, 11 May 2018 15:23:59 +0000 (08:23 -0700)]
Allow onGetSliceDescendants to be slow

Because sometimes it needs to be

Test: existing tests
Bug: 79132845
Bug: 77873463
Change-Id: I93aa8553c48c856bf96c347a229be6e770751708

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 agoAdd APIs from public requests.
Mathew Inwood [Fri, 11 May 2018 14:04:36 +0000 (15:04 +0100)]
Add APIs from public requests.

Bug: 79477176
Bug: 79461371
Bug: 75254051
Bug: 77840247
Bug: 78456545
Test: m
Change-Id: I6588b65d4f4dccd5fe8bd8420b88c7830803c978

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 agoFix active permission touch target too small
Dieter Hsu [Thu, 10 May 2018 12:07:52 +0000 (20:07 +0800)]
Fix active permission touch target too small

- Set buttons non-clickable to not consume events
- Add a11y contentDescription for active permissions buttons

Bug: 78198386
Test: manually receive messenger video call and verify touch targets
Test: manually record screen and verify with talkback/keyboard
Change-Id: I1b53cd1d7a88e44bd6e188b1055c8572c9d5731d

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 agoRevert "Revert "Change the root of trust for CryptAuth Vault Service""
Bo Zhu [Fri, 11 May 2018 05:10:28 +0000 (05:10 +0000)]
Revert "Revert "Change the root of trust for CryptAuth Vault Service""

This reverts commit be4f735cb199d184431d718b245ac51c4e7a70bf.

Reason for revert: Resubmit the CL http://ag/3983388 that was reverted. The server side change has been deployed now.

Bug: 78920513
Change-Id: If676799176ecf90fd51a97027a9ff83bec5d4bed

6 years agoFix focusable on entire notification area if QS is expanded
Riddle Hsu [Thu, 10 May 2018 15:14:19 +0000 (23:14 +0800)]
Fix focusable on entire notification area if QS is expanded

Notifications are shown as shelf if QS is expanded. Because none
of notification contents are visible, the notification scroll
layout should be unscrollable and non-focusable.

Test: Use TalkBack to perform go/sysui-stackscroll-test
Change-Id: Icf27546fa43241b267be84761b7847a6e25c9a7a
Fixes: 72956614

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