Commit Graph

15922 Commits

Author SHA1 Message Date
TreeHugger Robot
195549ac6b Merge "Allow the down volume key to silence notifs" 2019-06-18 20:22:02 +00:00
Julia Reynolds
deb2d0b743 Allow the down volume key to silence notifs
Additionally preserve existing behavior by passing
the keypress on.

Fixes: 130025623
Test: manual
Change-Id: I00f83275000369c1ab03bae63eb0a4b6170c4b53
2019-06-17 15:34:26 -04:00
TreeHugger Robot
45a2a9a279 Merge "Remove PictureInPictureArgs." 2019-06-17 14:51:52 +00:00
Kweku Adams
8fbd9bfab5 Remove PictureInPictureArgs.
The class was marked @Deprecated and @removed in Oreo but stuck around
despite not being used.

Bug: 135214188
Test: flash device and confirm PiP still works
Change-Id: I34c5043a1e4ee6639f7fae4d114c247bc3fe810c
2019-06-14 18:39:15 -07:00
Philip P. Moltmann
b30aedd1ce Merge "Mark getProfileOwnerAsUser(int) as UnsupportedAppUsage again" into qt-dev am: 73e04f292a am: 91452e14e5
am: 88e2e3ec2b

Change-Id: Ibb4bb1b78cfb980e4af876dc1560e6598e2c1abf
2019-06-14 18:20:50 -07:00
Philip P. Moltmann
88e2e3ec2b Merge "Mark getProfileOwnerAsUser(int) as UnsupportedAppUsage again" into qt-dev am: 73e04f292a
am: 91452e14e5

Change-Id: I05f3a69f77d08b24f1b885d7278cf05ef37957e9
2019-06-14 17:52:04 -07:00
Philip P. Moltmann
91452e14e5 Merge "Mark getProfileOwnerAsUser(int) as UnsupportedAppUsage again" into qt-dev
am: 73e04f292a

Change-Id: Ice8060926b8ae3109e1c1cc8212f3111fc72c033
2019-06-14 17:33:19 -07:00
Philip P. Moltmann
c073e956dc Mark getProfileOwnerAsUser(int) as UnsupportedAppUsage again
As it was in P. There are no public APIs created, hence there is no
better, _public_, alternative.

Fixes: 135282729
Test: none
Change-Id: I199cfcc125f948b983eb55a199abf673cc58b7e1
2019-06-14 14:09:35 -07:00
Selim Cinek
524f938443 Merge "Removed the AmbientPulseManager" into qt-r1-dev am: dd78681345
am: 71e6bd1433

Change-Id: I1abf6e208f352c45de39dd91be03f149c0bea403
2019-06-11 19:05:38 -07:00
Selim Cinek
71e6bd1433 Merge "Removed the AmbientPulseManager" into qt-r1-dev
am: dd78681345

Change-Id: Icaf3291acaae32e8cc785a4b31516b4357c47042
2019-06-11 18:44:08 -07:00
Selim Cinek
dd78681345 Merge "Removed the AmbientPulseManager" into qt-r1-dev 2019-06-12 01:35:18 +00:00
Selim Cinek
c3fec68900 Removed the AmbientPulseManager
We only want a single pulse manager since notifications
need to dynamically switch from pulsing to heads up
in the future.

Bug: 130327302
Change-Id: I0cbf23a69f33850776df81c4616932409670fe67
2019-06-11 13:58:02 -07:00
Andrew Solovay
427fa831d1 Merge "docs: Fixing broken HTML" into qt-dev am: b230dd4fe6 am: be2a68c47e
am: 9f0dfc8764

Change-Id: I4dd193fc638507c194918d1615dec19a8d963307
2019-06-10 11:59:36 -07:00
Andrew Solovay
9f0dfc8764 Merge "docs: Fixing broken HTML" into qt-dev am: b230dd4fe6
am: be2a68c47e

Change-Id: Idb85389aeffdc0661adc685abb7f164f9f9437ab
2019-06-10 11:53:30 -07:00
Andrew Solovay
be2a68c47e Merge "docs: Fixing broken HTML" into qt-dev
am: b230dd4fe6

Change-Id: I1bd88c7508c580b69078f62a352958106cb9ae13
2019-06-10 11:43:31 -07:00
Andrew Solovay
b230dd4fe6 Merge "docs: Fixing broken HTML" into qt-dev 2019-06-10 18:23:40 +00:00
Eugene Susla
93bd120d59 Merge "Add timeout for setPermissionGrantState" into qt-dev am: 3baa0b34e3 am: 3d5b18aab1
am: b8342102f0

Change-Id: I5d126816dcb0a62f2e4d5da690acdb2db4e52388
2019-06-10 09:55:57 -07:00
Eugene Susla
b8342102f0 Merge "Add timeout for setPermissionGrantState" into qt-dev am: 3baa0b34e3
am: 3d5b18aab1

Change-Id: Ib1052e2bc4c1f5f175fa5c27bb348c3673ed1051
2019-06-10 09:50:56 -07:00
Eugene Susla
155cb7c247 Merge "Add timeout for setPermissionGrantState" into qt-dev
am: 3baa0b34e3

Change-Id: Ib1a295ed4de405ce8fc30d53a4334ef1ed2005e6
2019-06-10 09:46:53 -07:00
Eugene Susla
3d5b18aab1 Merge "Add timeout for setPermissionGrantState" into qt-dev
am: 3baa0b34e3

Change-Id: I1a342c7f85a75d6a66296455fabad769a133a89b
2019-06-10 09:45:56 -07:00
Andrew Solovay
7ad2170f4e docs: Fixing broken HTML
A couple of broken </code> tags were messing up the formatting
for the entire page (see b/134696600 , http://screen/aThdcpoDvJo.png )

Staged the fixed doc to:

http://go/dac-stage/reference/android/app/Activity

(The live version of this doc has already been fixed -- I fixed
the HTML by hand in cl/251937759 -- but we need to fix the Java
comment, or the file will revert when we publish beta 5.)

Bug: 134696600
Test: make ds-docs (& staged HTML output)
Exempt-From-Owner-Approval: Docs-only fix
Change-Id: I7e6d11ca358d747cdc6d04741d31c7acd85aa080
2019-06-07 14:14:04 -07:00
Eugene Susla
fa5fb1f661 Add timeout for setPermissionGrantState
Fixes: 134380096
Test: presubmit
Change-Id: Ifff243068eea2637cf8f6391b52a4c53bc544615
2019-06-07 12:56:47 -07:00
Julia Reynolds
e4a47ddc3a Allow delegates to cancel notifs they posted
They still cannot see or cancel notifications that the delegator
app posted

Test: cts
Bug: 134585713
Change-Id: If2065010ea5f65cdc0b531441be9a9989214afb7
2019-06-07 14:05:32 -04:00
Al Sutton
348a282c11 Reconcile the backup OWNERS files with the internal repo.
This CL addresses a specific branch where a merge conflict is happening.

Change-Id: I69f6419055be4adc974041d78a1517ded7e5c57b
Merged-In: I42c27dfc0f3f792c46fe60e0f6807e51a2c3f21e
Test: build/make/tools/checkowners.py -c -v OWNERS
Bug: 134730213
2019-06-07 09:50:19 +01:00
Al Sutton
d10e8f29a2 Reconcile the backup OWNERS files with the internal repo.
This CL addresses a specific branch where a merge conflict is happening.

Change-Id: I03d72ecec447304866d96e2f0908acbc2a1796b6
Merged-In: I42c27dfc0f3f792c46fe60e0f6807e51a2c3f21e
Test: build/make/tools/checkowners.py -c -v OWNERS
Bug: 134730213
2019-06-07 09:40:24 +01:00
Adam Bookatz
97aec9789d Merge "loadUnbadgedItemIcon doesn't crash from getUserIcon" into qt-dev am: 14a34b9efb am: aaa16c0734
am: 5429fd5e37

Change-Id: I345a035d702d699777f5a651664a8a9801ee68b8
2019-06-06 11:28:10 -07:00
Adam Bookatz
5429fd5e37 Merge "loadUnbadgedItemIcon doesn't crash from getUserIcon" into qt-dev am: 14a34b9efb
am: aaa16c0734

Change-Id: I33b958f2b0f2fa29a36b4f6436abe8d446222542
2019-06-06 11:14:09 -07:00
Adam Bookatz
aaa16c0734 Merge "loadUnbadgedItemIcon doesn't crash from getUserIcon" into qt-dev
am: 14a34b9efb

Change-Id: I96167fe68786a5269d2178d74c3bb4ffa1afca1c
2019-06-06 11:05:58 -07:00
Adam Bookatz
01b11dea80 Merge "loadUnbadgedItemIcon doesn't crash from getUserIcon" into qt-dev
am: 14a34b9efb

Change-Id: I7794cb02bdbd1b721d9999666471a9960e6c4877
2019-06-06 11:04:55 -07:00
Adam Bookatz
14a34b9efb Merge "loadUnbadgedItemIcon doesn't crash from getUserIcon" into qt-dev 2019-06-06 17:54:24 +00:00
Antoan Angelov
2fe0a50133 Merge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev am: dad55ca4fe am: 5b92640550
am: 553ac409d5

Change-Id: I059749ef472a8a0f65d60a309923bf1231f2adb1
2019-06-05 07:40:02 -07:00
Antoan Angelov
553ac409d5 Merge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev am: dad55ca4fe
am: 5b92640550

Change-Id: I6690506fb20f936dc8dfecc4a472b068fae1dd6a
2019-06-05 07:35:16 -07:00
Antoan Angelov
5b92640550 Merge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev
am: dad55ca4fe

Change-Id: If15fbd686362059e97438769f3010946d6c95261
2019-06-05 07:30:17 -07:00
Antoan Angelov
1670ed2d34 Merge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev
am: dad55ca4fe

Change-Id: Ibf07ccf24361173817836246898088ad9776bc82
2019-06-05 07:30:17 -07:00
Antoan Angelov
dad55ca4fe Merge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev 2019-06-05 14:17:39 +00:00
Mady Mellor
173b7ce7c3 Merge "Post finishing after transition in onBackPressed" into qt-dev am: 57854d3b90 am: b2bcff6769
am: b07f107196

Change-Id: I491d82d6b3f94a133008a935d67fe654400a1f5d
2019-06-04 20:35:37 -07:00
Bookatz
9313af68c2 loadUnbadgedItemIcon doesn't crash from getUserIcon
AppicationPackageManager.loadUnbadgedItemIcon would call
UserManager.getUserIcon if the icon was supposed to represent
switching to another the parent user (from a work profile).
However, that call requires extra permissions which may not be
available, which would cause a crash. The work profile doesn't
generally have permission to see the parent's icon, so rather
than showing the actual icon, a generic user icon is shown instead.

Bug: 134177607
Test: Manual confirmation: create a work profile and try to share a
picture (from Photos) to the personal profile.

Change-Id: Id79ca50b8e0a26593addbacf1a0ea709a2bc4da2
2019-06-05 03:03:24 +00:00
Mady Mellor
b07f107196 Merge "Post finishing after transition in onBackPressed" into qt-dev am: 57854d3b90
am: b2bcff6769

Change-Id: I700ebe857de98fc6514e6842ae05c4afb04cf14e
2019-06-04 19:20:48 -07:00
Mady Mellor
b2bcff6769 Merge "Post finishing after transition in onBackPressed" into qt-dev
am: 57854d3b90

Change-Id: I7969cfef79133979c5b738496ec2a7c2360e9f11
2019-06-04 18:34:24 -07:00
Mady Mellor
d562e7511b Merge "Post finishing after transition in onBackPressed" into qt-dev
am: 57854d3b90

Change-Id: I09189aa824b36a1de75a58515e2992b9b33e5e9b
2019-06-04 18:13:51 -07:00
TreeHugger Robot
57854d3b90 Merge "Post finishing after transition in onBackPressed" into qt-dev 2019-06-04 19:11:52 +00:00
Alan Stokes
47e80c7ce1 Cleanup background activity starts for release. am: 9e2457622a am: b68ff5ab78
am: 6c55961af2

Change-Id: Ic12a6402226b5842f25b58fb546da46c849166ae
2019-06-04 07:53:19 -07:00
Alan Stokes
6c55961af2 Cleanup background activity starts for release. am: 9e2457622a
am: b68ff5ab78

Change-Id: Ie28816eba7490d34b72f188bc907c309bf669287
2019-06-04 07:42:55 -07:00
Alan Stokes
2447bb6e8e Cleanup background activity starts for release.
am: 9e2457622a

Change-Id: I220c6b6f18d28ee011957da97bd5258904d09ddc
2019-06-04 07:37:59 -07:00
Alan Stokes
b68ff5ab78 Cleanup background activity starts for release.
am: 9e2457622a

Change-Id: I9bc0682105251e2d462859560978763032b195c2
2019-06-04 07:37:55 -07:00
Alan Stokes
9e2457622a Cleanup background activity starts for release.
This removes the parts of the feature that were only needed in beta
releases:
- Toast when a start is or would be blocked.
- Configurable whitelist of exempt apps.
- Global setting to disable.

Not to be submitted until after beta 5 is cut.

Bug: 131747138
Test: atest BackgroundActivityLaunchTest
Test: atest RootWindowContainerTests
Test: atest WmTests:ActivityStarterTests
Test: atest CtsWindowManagerDeviceTestCases:ActivityStarterTests
Test: atest CtsAppTestCases:.ServiceTest

Change-Id: I3d8b9c72c8fac86b93ac57a8a1988f4133043af8
2019-06-04 14:26:00 +00:00
TreeHugger Robot
6fbd9ca2cd Merge "Delete persisted historical app ops on package uninstall" 2019-06-03 21:41:50 +00:00
Winson
470b15beda Delete persisted historical app ops on package uninstall
They're removed from the current state, but not the persisted state.

This adds HistoricalRegistry#clearHistoryForPackage which reads the
disk state, strips the corresponding UID/package, and re-writes
to disk.

Bug: 129796626

Test: manual test app with location access
Test: atest AppOpsServiceTest#testPackageRemovedHistoricalOps

Change-Id: I8daa2e3474b400a3789b2eaf178441c6d1578af1
(cherry picked from commit 4e3b435c0e)
2019-06-03 21:41:28 +00:00
Tiger Huang
62f8088e46 Merge "Fix a bug about missing onConfigurationChanged" into qt-dev am: a54b943d59 am: 64f447cd7b
am: 2ca7a2bd55

Change-Id: I01216dd9232c552387bcf0f97d246b6bfef26e73
2019-06-03 11:42:44 -07:00
Tiger Huang
2ca7a2bd55 Merge "Fix a bug about missing onConfigurationChanged" into qt-dev am: a54b943d59
am: 64f447cd7b

Change-Id: I9e774a45368888e75fc2e71e59166b3006af0e6a
2019-06-03 11:30:37 -07:00