Commit Graph

473568 Commits

Author SHA1 Message Date
TreeHugger Robot
2f552669c4 Merge "ShellSubscriber: Avoid rollover bug" into rvc-dev am: f1d96d48f6
Change-Id: I4011ff9e00985c4d8e0ba0605f8b347a5b78659d
2020-03-23 17:54:24 +00:00
TreeHugger Robot
93c78efb15 Merge "Ensure broadcasts are sent as system" into rvc-dev am: 98bc8e9c71
Change-Id: Ibb98381e1e58a3e87be61330ac923b979fb7b0fe
2020-03-23 17:53:34 +00:00
TreeHugger Robot
f1d96d48f6 Merge "ShellSubscriber: Avoid rollover bug" into rvc-dev 2020-03-23 17:42:43 +00:00
TreeHugger Robot
98bc8e9c71 Merge "Ensure broadcasts are sent as system" into rvc-dev 2020-03-23 17:35:53 +00:00
Antoan Angelov
9d5d422717 Merge "Center the work tab empty state spinner inside the empty state view." into rvc-dev am: 8c6b17b1ad
Change-Id: I7cfd08bf67ffc53c54926ec45e309654a06d5754
2020-03-23 17:13:47 +00:00
TreeHugger Robot
f9dc0ce8b8 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: afcd0d2be6 -s ours
am skip reason: subject contains skip directive

Change-Id: Ife529ddea33b17087b7b9bda7d63c8909bb2104c
2020-03-23 17:13:21 +00:00
Anton Hansson
92dc17455e Merge "Add default configs for module service stubs" into rvc-dev am: 4299ac20c9
Change-Id: Ifc289770281e1fdb1d7cc501e15995db6b3fc500
2020-03-23 17:12:37 +00:00
Antoan Angelov
8c6b17b1ad Merge "Center the work tab empty state spinner inside the empty state view." into rvc-dev 2020-03-23 16:56:51 +00:00
TreeHugger Robot
afcd0d2be6 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-03-23 16:56:07 +00:00
Anton Hansson
4299ac20c9 Merge "Add default configs for module service stubs" into rvc-dev 2020-03-23 16:54:05 +00:00
Bill Yi
56b602c09b [automerger skipped] Import translations. DO NOT MERGE am: 7c64b0da0d -s ours am: 5562d464c6 -s ours
am skip reason: subject contains skip directive

Change-Id: Ie9974f4dd6a7ce52c98f7b7fc5d8075bf1372e9b
2020-03-23 16:38:30 +00:00
Bill Yi
5562d464c6 [automerger skipped] Import translations. DO NOT MERGE am: 7c64b0da0d -s ours
am skip reason: subject contains skip directive

Change-Id: Ib26161178030a9c6adf5370514fd1ca87f85f298
2020-03-23 16:23:11 +00:00
Greg Kaiser
f0f1d83624 ShellSubscriber: Avoid rollover bug
We initialize 'mToken' instead of leaving it uninitialized, making
it much less likely to rollover.  In additional, we change our
check to inequality, to handle rollover if that were to happen.

There is the (theoretical) possibility of exactly 2^32 other
requests being claimed between our claim and our check.  It's
assumed that is essentially impossible and not a concern.

Test: TreeHugger
Bug: 150619687
Change-Id: Iee303e05082a6b3b31ed546bd62d3afe67c771d8
2020-03-23 16:09:57 +00:00
TreeHugger Robot
e68a57ee7c Merge "Don't notify about explicit personal app suspension." into rvc-dev am: e39a7b6a80
Change-Id: I2f8754df7876026e42ab9c6b3b82541986894220
2020-03-23 15:43:42 +00:00
TreeHugger Robot
e39a7b6a80 Merge "Don't notify about explicit personal app suspension." into rvc-dev 2020-03-23 15:29:31 +00:00
Anton Hansson
180ec39abe Add default configs for module service stubs
To be used by individual modules with service components that
define system_server APIs.

Bug: 147768409
Test: m
Change-Id: Iff6a5a840c5dd7731e881d7db379915375d02324
2020-03-23 15:08:04 +00:00
Anton Hansson
177941f861 Merge "Move statsd TEST_MAPPINGS to statsd root" into rvc-dev am: d83682eab3
Change-Id: I6fdcfdff4cc70ead99b0d38fcca778a9c698412a
2020-03-23 15:07:44 +00:00
Anton Hansson
d83682eab3 Merge "Move statsd TEST_MAPPINGS to statsd root" into rvc-dev 2020-03-23 15:05:06 +00:00
Ben Murdoch
a19e9881f7 Merge "Move config_useKeyguardUserSwitcher from sysui overlay to framework." into rvc-dev am: 801f12923d
Change-Id: I3271d3fed69d56f4949e36824447d655294e288b
2020-03-23 15:01:00 +00:00
Ben Murdoch
801f12923d Merge "Move config_useKeyguardUserSwitcher from sysui overlay to framework." into rvc-dev 2020-03-23 14:58:01 +00:00
Wei Sheng Shih
03e13aa7bb Merge "Surface should not be created for WindowContext initially." into rvc-dev am: 4346998c88
Change-Id: If97714fc4a4e560d265b073ec03677f12c5200ce
2020-03-23 14:50:26 +00:00
Abhijeet Kaur
bf7239c118 Merge "Clean up code in BugreportProgressService" into rvc-dev am: 78ef10aa72
Change-Id: I1caa33459c9a12d9603a7849d863295b7e48bc16
2020-03-23 14:49:42 +00:00
Wei Sheng Shih
4346998c88 Merge "Surface should not be created for WindowContext initially." into rvc-dev 2020-03-23 14:44:38 +00:00
Abhijeet Kaur
78ef10aa72 Merge "Clean up code in BugreportProgressService" into rvc-dev 2020-03-23 14:18:44 +00:00
Wale Ogunwale
b1bf0ae1c3 Merge "Move some window related files to android.window package" into rvc-dev am: f09fdecd55
Change-Id: I1d7576d35920811a6330983fca28689c620184fd
2020-03-23 14:09:37 +00:00
Wale Ogunwale
f09fdecd55 Merge "Move some window related files to android.window package" into rvc-dev 2020-03-23 13:48:30 +00:00
Pavel Grafov
64d1fc040b Don't notify about explicit personal app suspension.
Notification about personal apps suspension should only be shown
in cases when apps are suspended because of maximum work profile
time off policy violation, not via an explicit call to suspend.

+ updated strings. Note, some strings are not used yet.

Test: manual, with TestDPC, suspended apps explicitly, checked
    that the notification is not shown.
Test: manual, with TestDPC, set maximum work profile time off,
    adjusted the clock, checked that the notification is there.`
Bug: 151918490
Bug: 149076989
Change-Id: Idd4c7ec11af416c303c9218495d55c73154c7a5f
2020-03-23 13:35:22 +00:00
Julia Reynolds
5a158970fd Ensure broadcasts are sent as system
Test: android.app.cts.NotificationManagerTest
Fixes: 151801709
Change-Id: I7376f7b5cc4e73904c805a6baa26ab01163b70bf
2020-03-23 09:24:20 -04:00
TreeHugger Robot
4c8c15f110 Merge "Enable the feature flag for contextual home v2" into rvc-dev am: 5bd455ac5f
Change-Id: I1244e82fab54641b8e747fdaf7d6895b6f921d51
2020-03-23 11:44:10 +00:00
TreeHugger Robot
5bd455ac5f Merge "Enable the feature flag for contextual home v2" into rvc-dev 2020-03-23 11:27:30 +00:00
Anton Hansson
6c502a1365 Merge "Build tethering against the module SDK" into rvc-dev am: 8f36aba1fb
Change-Id: I2a085785f41edf5ad290ecee487c7b9ee0901524
2020-03-23 10:53:51 +00:00
Anton Hansson
8f36aba1fb Merge "Build tethering against the module SDK" into rvc-dev 2020-03-23 10:27:31 +00:00
Aaron Huang
fa5baf3550 Merge "Remove Context.NETWORK_POLICY_SERVICE from @SystemApi" into rvc-dev am: 9f48409dd1
Change-Id: Ie39955bdb1b56252ace5f666c16eda4d0c759840
2020-03-23 10:14:49 +00:00
Aaron Huang
9f48409dd1 Merge "Remove Context.NETWORK_POLICY_SERVICE from @SystemApi" into rvc-dev 2020-03-23 10:09:37 +00:00
TreeHugger Robot
9f7f1a0a75 Merge "Update MediaRouter2Manager api" into rvc-dev am: 672fe2aeb3
Change-Id: I13dc9ad36253ba997c75978efcf49da1c00c9eac
2020-03-23 10:06:26 +00:00
TreeHugger Robot
672fe2aeb3 Merge "Update MediaRouter2Manager api" into rvc-dev 2020-03-23 09:45:39 +00:00
Robert Horvath
543b13855b Merge "Deflake InattentiveSleep tests" into rvc-dev am: 0a9aff3ac3
Change-Id: I9c5c81fa60fc4df2c9dbd1d761b27e7caab0aeaf
2020-03-23 09:30:23 +00:00
Jason Chiu
8234820115 Enable the feature flag for contextual home v2
Bug: 149274976
Test: rebuild
Change-Id: Id3af8c6cae731222236a510a10cbeb9937004862
2020-03-23 17:20:56 +08:00
Robert Horvath
0a9aff3ac3 Merge "Deflake InattentiveSleep tests" into rvc-dev 2020-03-23 09:05:46 +00:00
Bill Yi
7c64b0da0d Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I9243db0d0090c7d2da373cc97b7b820cf23e5a7f
2020-03-23 00:44:11 -07:00
Aaron Huang
cd44942a14 Remove Context.NETWORK_POLICY_SERVICE from @SystemApi
Hide Context.NETWORK_POLICY_SERVICE as it has no usage.

Bug: 151266974
Test: make checkapi, build
Change-Id: I0586a5ef22f76fa1407219b96cb246f162f02947
2020-03-23 15:15:40 +08:00
TreeHugger Robot
54db50fad5 Merge "Address API council review comment about TetheringRequest" into rvc-dev am: 9c02d0360e
Change-Id: I6de9c11d0fac94ab8b5b1be6bb41b4ce0325adce
2020-03-23 06:18:42 +00:00
TreeHugger Robot
9c02d0360e Merge "Address API council review comment about TetheringRequest" into rvc-dev 2020-03-23 06:05:30 +00:00
Bill Yi
63d3ad3f89 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I1c288bdfdb561eca168a44c2cf421b2035e93acd
2020-03-22 22:22:34 -07:00
Riddle Hsu
ef21e0defc Merge "Use task bounds as local animation frame in fixed rotation" into rvc-dev am: d5763c4c1d
Change-Id: If24916bbb212f50f10b0a0c14e72c78e2872d4b1
2020-03-23 05:04:52 +00:00
Riddle Hsu
d5763c4c1d Merge "Use task bounds as local animation frame in fixed rotation" into rvc-dev 2020-03-23 04:40:50 +00:00
junyulai
25d643991f Address API council review comment about TetheringRequest
Test: atest TetheringTests FrameworksNetTests NetworkStackTests
Bug: 152055812
Change-Id: I0158d88e364772f9ac258bd18955edcdad266ad8
2020-03-23 12:13:57 +08:00
wilsonshih
07cb272a50 Surface should not be created for WindowContext initially.
Client may create a WindowContext, but without adding a window using
the corresponding WindowToken, initially creating a surface for the
token is very wasteful.
To avoid this, we should only create surfaces when the client is
needed.

Bug: 150813033
Test: atest WindowTokenTests
Test: No system crash when running FocusHandlingTest.
Change-Id: I0def6a436ad9d60948bfb029b3a7b6b44466d068
2020-03-23 09:38:47 +08:00
Remi NGUYEN VAN
1844189950 Merge "Fix javadoc for Context.TETHERING_SERVICE" into rvc-dev am: 1f0355a1cd
Change-Id: Ie17717d3d32cb9a3e14cd2cc93400a6fce4a81d9
2020-03-23 01:37:18 +00:00
Remi NGUYEN VAN
1f0355a1cd Merge "Fix javadoc for Context.TETHERING_SERVICE" into rvc-dev 2020-03-23 01:20:13 +00:00