Commit Graph

25514 Commits

Author SHA1 Message Date
Adrian Roos
ace63f135b Merge "WM: implicitly exclude all edges for pre-Q immersive sticky apps" into qt-dev am: 8ef731c232
am: bee24f79f7

Change-Id: Ic14aaff3851fe0d71100c6f65c8ee46d08ece432
2019-07-04 08:21:20 -07:00
Adrian Roos
bee24f79f7 Merge "WM: implicitly exclude all edges for pre-Q immersive sticky apps" into qt-dev
am: 8ef731c232

Change-Id: Ie23184e62d410cff170232d15720b22d53f7e6df
2019-07-04 08:07:23 -07:00
Adrian Roos
019a52b4ad WM: implicitly exclude all edges for pre-Q immersive sticky apps
Bug: 135522625
Test: atest DisplayContentTests
Change-Id: Ibe6c2c6d269b15c2e79ac0241b93e42c44a167c9
Exempt-From-Owner-Approval: TBR
2019-07-04 14:35:34 +00:00
Jorim Jaggi
52ba8df055 Merge "GestureNav: Limit exclusion rects" into qt-dev am: ea3216d462
am: de8014e068

Change-Id: Ibaa2b5dbe34ed53f3c64feca4d71dfa43b6d5f44
2019-06-28 08:53:29 -07:00
Jorim Jaggi
de8014e068 Merge "GestureNav: Limit exclusion rects" into qt-dev
am: ea3216d462

Change-Id: Id52bcbd80028ce0030b7f8b38058e7a786744497
2019-06-28 07:48:06 -07:00
Jorim Jaggi
ea3216d462 Merge "GestureNav: Limit exclusion rects" into qt-dev 2019-06-28 13:48:37 +00:00
Adrian Roos
506267d5f4 GestureNav: Limit exclusion rects
Add limits for system gesture exclusion on the left and right edges.
This prevents non-immersive-sticky apps from totally disabling the
back gesture.

Bug: 135522625
Test: atest SystemGestureExclusionRectsTest

Merged-In: Ib26161663a6aababe803d3c70044f4017bdbe675
Change-Id: Ib26161663a6aababe803d3c70044f4017bdbe675
2019-06-28 17:59:06 +08:00
Amith Yamasani
6fb1afce50 Merge "Expose BIND_NOT_PERCEPTIBLE service flag" into qt-dev am: 41d0b1abc8
am: 29c3068cb4

Change-Id: I835c10d85d623a3b9bf25947f222695dde05dc28
2019-06-19 23:18:27 -07:00
Amith Yamasani
29c3068cb4 Merge "Expose BIND_NOT_PERCEPTIBLE service flag" into qt-dev
am: 41d0b1abc8

Change-Id: I209930a67dfc89cf4c5178ad21452e624122df7f
2019-06-19 22:53:06 -07:00
TreeHugger Robot
41d0b1abc8 Merge "Expose BIND_NOT_PERCEPTIBLE service flag" into qt-dev 2019-06-20 05:34:34 +00:00
Amith Yamasani
5016a7891a Expose BIND_NOT_PERCEPTIBLE service flag
Using this flag when binding to a service will
allow the bound process to be held at a low
oom_adj of 250, so that it can be expunged to
reclaim memory if a more user-visible app needs
it.

Use for bindings such as job services and other
connections that the caller can easily recover
from and restart if necessary.

Adjust the lmk thresholds to use this oom_adj
as one of the levels, so they're killed before
perceptible apps (such as foreground services).

Bug: 135219821
Test: CtsAppTestCases
      Manually check notification listener oom_adj
      and dumpsys activity services output

Change-Id: I9f6d0891d842e4d12f7995b9b1a8f57b0903a16d
2019-06-19 14:40:57 -07:00
lumark
5df8aa8ee8 Merge "Make InputMethodSystemProperty#MULTI_CLIENT_IME_ENABLED testable." into qt-dev am: b7abebde5b
am: c0ecccca16

Change-Id: Iaf173a4f4f1ddd89421ab14f38c44639b1cc2726
2019-06-18 05:45:49 -07:00
lumark
cf48a8e828 Merge "Make InputMethodSystemProperty#MULTI_CLIENT_IME_ENABLED testable." into qt-dev
am: b7abebde5b

Change-Id: I2224102556d110021150ddb6eea90bb0be2c2f36
2019-06-18 05:32:30 -07:00
lumark
c0ecccca16 Merge "Make InputMethodSystemProperty#MULTI_CLIENT_IME_ENABLED testable." into qt-dev
am: b7abebde5b

Change-Id: I7459ec72287ffa36bcc11e9cce87d9a4258705d5
2019-06-18 05:32:28 -07:00
TreeHugger Robot
b7abebde5b Merge "Make InputMethodSystemProperty#MULTI_CLIENT_IME_ENABLED testable." into qt-dev 2019-06-18 12:27:15 +00:00
lumark
ca442d5d9f Make InputMethodSystemProperty#MULTI_CLIENT_IME_ENABLED testable.
Annotates InputMethodSystemProperty#MULTI_CLIENT_IME_ENABLED as @TestApi
to let cts can verify if multi-client IME enabled.

Bug: 135217809
Test: build and passes
Change-Id: Id7b4dceb2dbfaf3d7ed1084957dd14b04cad0cdf
2019-06-17 16:09:42 +08:00
bj1211jeon
85966252ef DO NOT MERGE: Add DENSITY_450 am: b38f168397
am: 99d0705722

Change-Id: I7b9bd8d7e715c6c492ad559967b8d9dfee3e7220
2019-06-14 18:09:58 -07:00
bj1211jeon
99d0705722 DO NOT MERGE: Add DENSITY_450
am: b38f168397

Change-Id: I594b671e05c9ba364583d7774454207fb4d89580
2019-06-14 17:45:45 -07:00
bj1211jeon
2153bd3920 DO NOT MERGE: Add DENSITY_450
am: b38f168397

Change-Id: Iae2867be2b3533da492ddfc79e3006fe385742d4
2019-06-14 17:41:26 -07:00
bj1211jeon
b38f168397 DO NOT MERGE: Add DENSITY_450
Add 450dpi as a supported screen density.
This change follows up below change Id : Iac673eae2d82c27d96e279c076454af2f5933208

Originally 600dpi was added to support sw384 with WQHD resolution,
though it was lack of for the cases when resolution is FHD resolution. (In case of other resolutions, there already exist 300 and 200 for HD and WVGA resolutions).

Bug: 78283907
Test: run android.dpi.cts.ConfigurationTest#testScreenConfiguration and android.app.cts.ActivityManagerMemoryClassTest#testGetMemoryClass
(cherry picked from commit 13ca0450ede3eedf7d34bbd0b69525cb6ebc63f1)

Change-Id: Ide0baba183c7dea962610d16f18fecbd0dc62567
2019-06-14 15:41:13 -07:00
Winson
02c612552f Merge "Expose PermissionManager as TestApi and fix SplitPermissionInfo equality" into qt-dev am: d703395fcb
am: 7347c0f704

Change-Id: If3f0a0e539ced53c291b67b2a750004583f26840
2019-06-10 13:28:35 -07:00
Winson
5d53d4b564 Merge "Expose PermissionManager as TestApi and fix SplitPermissionInfo equality" into qt-dev
am: d703395fcb

Change-Id: I10e09a0bc15d9f4782ac9d91878becb9046581c3
2019-06-10 13:22:46 -07:00
Winson
7347c0f704 Merge "Expose PermissionManager as TestApi and fix SplitPermissionInfo equality" into qt-dev
am: d703395fcb

Change-Id: Id965c774d70ad823de8f32d0e63b6d0ce0471754
2019-06-10 13:22:40 -07:00
Winson
f27394ee70 Expose PermissionManager as TestApi and fix SplitPermissionInfo equality
Bug: 129200416
Bug: 129200610

Test: atest SplitPermissionsTest

Change-Id: I98795944e6440e5b7ebba134bd7735a6f78ebc4f
2019-06-07 15:09:06 -07:00
PO HUNG CHEN
5b95289b71 Merge "Fix StrictModeTest#testNonSdkApiUsage" into qt-dev am: 4f179bb174
am: e743aeb922

Change-Id: Ice5fc23658245af695a38ac8aebfa5230ebc138c
2019-05-28 19:21:09 -07:00
PO HUNG CHEN
e743aeb922 Merge "Fix StrictModeTest#testNonSdkApiUsage" into qt-dev
am: 4f179bb174

Change-Id: Ic8177c57829e8f28b881c3347b1a4b93084c7fe4
2019-05-28 19:16:26 -07:00
PO HUNG CHEN
a3204b25e9 Merge "Fix StrictModeTest#testNonSdkApiUsage" into qt-dev
am: 4f179bb174

Change-Id: I5290b5d51dd98eecaa97c87eec1dc8780d1f537a
2019-05-28 19:16:20 -07:00
PO HUNG CHEN
4f179bb174 Merge "Fix StrictModeTest#testNonSdkApiUsage" into qt-dev 2019-05-29 02:07:06 +00:00
Nate Myren
364c09f390 Merge "set RuntimePermissionPresentationInfo, getAppPermissions, and OnGetAppPermissions as Test Api, added Get Runtime Permissions to shell" into qt-dev am: 1ce9983162
am: 40bcb1d3cd

Change-Id: I16a5be1849af3a01b9c3f64c6734e6b6d1e91fc3
2019-05-28 09:48:35 -07:00
Nate Myren
2c120874c9 Merge "set RuntimePermissionPresentationInfo, getAppPermissions, and OnGetAppPermissions as Test Api, added Get Runtime Permissions to shell" into qt-dev
am: 1ce9983162

Change-Id: I45e6e16628bb8c3926a3aef574d93ae9f35ea55b
2019-05-28 09:46:40 -07:00
Nate Myren
40bcb1d3cd Merge "set RuntimePermissionPresentationInfo, getAppPermissions, and OnGetAppPermissions as Test Api, added Get Runtime Permissions to shell" into qt-dev
am: 1ce9983162

Change-Id: I572a474338a50d5242d7a5fc89c10549764d42c6
2019-05-28 09:38:37 -07:00
Felipe Leme
e6469dfc2a Merge "Made Context.CONTENT_CAPTURE_MANAGER_SERVICE visible for tests." into qt-dev am: 05ec93ebc9
am: a3e305d4fa

Change-Id: I4583525822fd839f602f6ea5cb184e00b63c8028
2019-05-28 09:35:12 -07:00
TreeHugger Robot
1ce9983162 Merge "set RuntimePermissionPresentationInfo, getAppPermissions, and OnGetAppPermissions as Test Api, added Get Runtime Permissions to shell" into qt-dev 2019-05-28 16:33:05 +00:00
Felipe Leme
baf82eb9d2 Merge "Made Context.CONTENT_CAPTURE_MANAGER_SERVICE visible for tests." into qt-dev
am: 05ec93ebc9

Change-Id: I4e26c7106070cde92bfacab7cbc99d4221a1791e
2019-05-28 09:32:51 -07:00
Felipe Leme
a3e305d4fa Merge "Made Context.CONTENT_CAPTURE_MANAGER_SERVICE visible for tests." into qt-dev
am: 05ec93ebc9

Change-Id: I9f0be45afbe50ca609f62ee32238a21b7beea0ba
2019-05-28 09:29:59 -07:00
TreeHugger Robot
05ec93ebc9 Merge "Made Context.CONTENT_CAPTURE_MANAGER_SERVICE visible for tests." into qt-dev 2019-05-28 16:17:27 +00:00
Nate Myren
17f2159181 set RuntimePermissionPresentationInfo, getAppPermissions, and OnGetAppPermissions as Test Api, added Get Runtime Permissions to shell
Test: Run PermissionControllerTest
Fixes: 129200595

Change-Id: I44cf152e52895d9344b39b978b85ac263a5cb37c
2019-05-28 16:15:16 +00:00
Howard Chen
40abbb0fe9 Fix StrictModeTest#testNonSdkApiUsage
Test: atest android.os.cts.StrictModeTest#testNonSdkApiUsage
Bug: 131923046
Bug: 129892635

Merged-In: I6759339000eb239112c0c83ce1131f34164ee0cf
Change-Id: I6759339000eb239112c0c83ce1131f34164ee0cf
2019-05-28 16:25:20 +01:00
Nathan Harold
ebcb57fb17 Merge "Deprecate getNetworkType" am: d47ae01063 am: 40ae3d6281
am: 9d8c21fba6

Change-Id: I44afb003967de980aef74d40334c4876d8988c75
2019-05-27 14:39:26 -07:00
Nathan Harold
9d8c21fba6 Merge "Deprecate getNetworkType" am: d47ae01063
am: 40ae3d6281

Change-Id: I6f07d8a9766a89a6b2905124f00a1abd7bf1f4a1
2019-05-27 14:34:31 -07:00
Felipe Leme
a7e4ca6a42 Made Context.CONTENT_CAPTURE_MANAGER_SERVICE visible for tests.
Test: m update-api
Fixes: 133438104

Change-Id: I5d10acdd79d1460736eaface8f6fc5b5014a1560
2019-05-23 13:36:26 -07:00
Felipe Leme
3fe70c6af0 DO NOT MERGE - Re-add ContentCapture support from standard SDK toolkit.
am: 911cb1fa76

Change-Id: I15c8da47beb6b4dd64b627aebb0288fcb359c3e5
2019-05-22 16:00:20 -07:00
Felipe Leme
e57602d081 Merge "Make sure view.setAutofilled() is called when autofilled by augmented-autofill only." into qt-dev am: 64f0871ef7
am: 1583710719

Change-Id: I42616c275cbf99df5ea0242e2765bdb3f724d5cd
2019-05-22 15:07:39 -07:00
Felipe Leme
3e325a2b28 Merge "Make sure view.setAutofilled() is called when autofilled by augmented-autofill only." into qt-dev
am: 64f0871ef7

Change-Id: Ibf704b524efae59fc43efebe13442b7e9253d0e3
2019-05-22 14:14:06 -07:00
Nathan Harold
7293d28543 Deprecate getNetworkType
This API is a functional duplicate of getDataNetworkType.

Bug: 132466954
Test: make update-api (docstring-only change)
Change-Id: I3a5ba3d601013bc9c97c6ea1732bfac21fce0dcd
2019-05-22 13:57:42 -07:00
TreeHugger Robot
0ac85feb6f Merge "DO NOT MERGE - Re-add ContentCapture support from standard SDK toolkit." into qt-r1-dev 2019-05-22 20:15:34 +00:00
TreeHugger Robot
64f0871ef7 Merge "Make sure view.setAutofilled() is called when autofilled by augmented-autofill only." into qt-dev 2019-05-22 16:22:22 +00:00
Felipe Leme
911cb1fa76 DO NOT MERGE - Re-add ContentCapture support from standard SDK toolkit.
This reverts commit ef1c0b36ab.

Test: atest CtsContentCaptureServiceTestCases
Test: m update-api

Bug: 130726495

Change-Id: Iecda9df96722ac8a3184710796032b6c01bd8ea3
2019-05-16 16:05:51 -07:00
Ian Pedowitz
c3d6694ec7 Merge "Revert "Revert "Remove deprecated System APIs added in Q.""" into qt-dev
am: 3bd719b534

Change-Id: I75ac2a3f5b4dda3da0000b497b49a941e0fdd839
2019-05-15 18:14:12 -07:00
Ian Pedowitz
6c2e976c58 Merge "Revert "Revert "Finalizing Q resources""" into qt-dev
am: d7219205a0

Change-Id: I9857c977c7885961111b5cc6d678e6582f07c0cd
2019-05-15 18:09:27 -07:00