kopriva
b7b399ed76
Merge "docs: fixing several minor documentation bugs" into pi-dev am: 82b0d17b39
...
am: f6b27fbff0
Change-Id: I14f98e023001c75719ab8b891db6abf3f0fd4564
2018-09-20 17:12:29 -07:00
kopriva
f6b27fbff0
Merge "docs: fixing several minor documentation bugs" into pi-dev
...
am: 82b0d17b39
Change-Id: Ieb1447c0d7cda629338de8d6e03f46670d8ed0b0
2018-09-20 16:55:47 -07:00
Wale Ogunwale
e746fb17a6
Merge "Moved more stuff from ActivityManagerService to ActivityTaskManagerService (15/n)"
2018-09-20 21:23:15 +00:00
kopriva
f07a46058c
docs: fixing several minor documentation bugs
...
Test: make ds-docs
Bug: 36949243
Bug: 116169695
Bug: 37001248
Bug: 37044885
Bug: 37053166
Change-Id: I844a8978518cd7214bf9d068d602902dfa7e8246
Exempt-From-Owner-Approval: Docs-only change
2018-09-20 11:20:27 -07:00
TreeHugger Robot
d2b1a57093
Merge "Suppress suppressing work profile removed notification if reason is null"
2018-09-20 18:06:28 +00:00
Wale Ogunwale
53783740e3
Moved more stuff from ActivityManagerService to ActivityTaskManagerService (15/n)
...
- Moved CompatModePackages to ActivityTaskManagerService since it is mostly used for activity stuff.
- Moved mHeavyWeightProcess to ActivityTaskManagerService since it is set for activities.
- Set AMS.mBooting and AMS.mBooted as volatile to allow setting from both AM and WM side with hold locks.
- Allow updating of cpu stats, usage stats, and foreground time from WM side.
Bug: 80414790
Test: Existing tests pass.
Change-Id: I48ab55bdd5aacc864cb6a82d19d1a24b7605a5b0
2018-09-20 10:18:18 -07:00
Lucas Dupin
9232b57454
Merge "Clarify that UiModeManager sets global night mode" into pi-dev am: 562f5485d3
...
am: f255935dc8
Change-Id: Ib94e5ed781ff7b5499fd3380f16ae5e6bfefdaf7
2018-09-20 10:17:38 -07:00
Lucas Dupin
f255935dc8
Merge "Clarify that UiModeManager sets global night mode" into pi-dev
...
am: 562f5485d3
Change-Id: Ia757aeb7dbe97b1b33ababf50af5c96da8d7e963
2018-09-20 10:01:22 -07:00
Lucas Dupin
562f5485d3
Merge "Clarify that UiModeManager sets global night mode" into pi-dev
2018-09-20 16:39:49 +00:00
Makoto Onuki
04f7af70f3
Merge "AMS.removeContentProviderExternal() should take a user-id"
2018-09-19 23:11:31 +00:00
Makoto Onuki
679760ae66
AMS.removeContentProviderExternal() should take a user-id
...
Change-Id: Id0868d5dc5d20c0ad63323100acbd13f450a28fc
Fixed: 116114675
Test: boot
2018-09-19 12:49:17 -07:00
Lucas Dupin
b01c390b54
Clarify that UiModeManager sets global night mode
...
Test: repo upload
Fixes: 116121230
Change-Id: I127c169eb9cb6f951943879bd4bdaca2a00ed222
2018-09-19 11:44:31 -07:00
TreeHugger Robot
5ad8521008
Merge "Deprecates WearableExtender methods not supported by Wear SysUI v3."
2018-09-18 21:40:30 +00:00
Gus Prevas
d73637506d
Deprecates WearableExtender methods not supported by Wear SysUI v3.
...
Test: doc/annotation changes only.
Bug: 116013034
Change-Id: Ida3f05d02c940bac42bbb01aece924524fd33d4b
2018-09-18 15:46:26 -04:00
kopriva
64c4523ed4
Merge "docs: fixed five typos" into pi-dev am: 82b413428e
...
am: d366837e05
Change-Id: I0cf5630bc936c872ca936f2d3de9e8aaa509f083
2018-09-18 12:10:35 -07:00
kopriva
d366837e05
Merge "docs: fixed five typos" into pi-dev
...
am: 82b413428e
Change-Id: I4af571d6bcfa151235223b51cb8135fbacb62c82
2018-09-18 12:00:24 -07:00
TreeHugger Robot
82b413428e
Merge "docs: fixed five typos" into pi-dev
2018-09-18 18:38:16 +00:00
TreeHugger Robot
6467990e46
Merge "Fixed when the CompatibilityBridge is attached to an activity."
2018-09-18 01:19:27 +00:00
kopriva
d86a16572c
Merge "docs: bug 36997358, typo 'than an'" into pi-dev am: 9a32a1dc3e
...
am: 33d19aac6a
Change-Id: Icd4cd97619e32e69bbd9f03f89c5f18adfde0d4c
2018-09-17 17:49:40 -07:00
kopriva
33d19aac6a
Merge "docs: bug 36997358, typo 'than an'" into pi-dev
...
am: 9a32a1dc3e
Change-Id: I9d989ec02bd2d09f1a6de9ee15567a960caf9de2
2018-09-17 17:31:12 -07:00
kopriva
7ecfe31427
docs: fixed five typos
...
Test: make ds-docs
Bug: 37095452
Bug: 37001217
Bug: 37004068
Bug: 37015340
Bug: 37044652
Change-Id: Ib305df88b63286810d7722e73321ddb238b45e8e
Exempt-From-Owner-Approval: Docs-only change
2018-09-17 15:17:50 -07:00
kopriva
fc3949e099
docs: bug 36997358, typo 'than an'
...
Test: make ds-docs
Bug: 36997358
Change-Id: I11a5fcbd76638c7d6b060c0852268efa9e37a7fe
Exempt-From-Owner-Approval: Docs-only change
2018-09-17 11:35:13 -07:00
Alex Chau
16d9490245
Suppress suppressing work profile removed notification if reason is null
...
Bug: 114711242
Test: cts-tradefed run singleCommand cts -m CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.ManagedProfileTest#testWipeDataWithoutReason
Change-Id: Icea2c95272f3d3d693c3289a5c4a55761026a8f9
2018-09-17 19:33:28 +01:00
Felipe Leme
ce40498dc2
Fixed when the CompatibilityBridge is attached to an activity.
...
The AccessibilityManager is a singleton, so we need to update it everytime
an activity is resumed.
Test: manual verification with Chrome (CTS test is an overkill here)
Test: atest CtsAutoFillServiceTestCases # to make sure it didn't break anything
Fixes: 112690889
Change-Id: If011db203dee96ec511da80f4e49395c0340f482
2018-09-17 09:58:56 -07:00
Ian Lake
9183f2d97c
Merge "Annotate Window.Callback menu methods with nullability"
2018-09-14 15:52:56 +00:00
Mathew Inwood
db0657a4f4
Merge "Move some members to the "Q blacklist"."
2018-09-14 13:54:28 +00:00
Mathew Inwood
8c854f86a4
Move some members to the "Q blacklist".
...
Based on some analysis, these fields/methods are likely false positives.
Set maxTargetSdk=P so that any apps using them are required to migrate off
them in future. See the bug for more details.
Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.
Bug: 115609023
Test: m
Change-Id: I719b5c94e5b1f4fa562dd5d655953422958ad37e
2018-09-14 13:18:34 +01:00
TreeHugger Robot
7b9fc02708
Merge "Annotate Activity.dump with nullability annotations"
2018-09-14 03:13:56 +00:00
kopriva
bc6d1a3657
Merge "docs: fixed button value in reference" into pi-dev am: 26bdd62ce5
...
am: b5f94691e4
Change-Id: Iafa2a7590647835d8e08d3b31a82cb4ee3d47752
2018-09-13 17:10:22 -07:00
kopriva
b5f94691e4
Merge "docs: fixed button value in reference" into pi-dev
...
am: 26bdd62ce5
Change-Id: I26f0b05b1bb2d2b1416fd664168c8be9ed3f558c
2018-09-13 16:52:08 -07:00
TreeHugger Robot
26bdd62ce5
Merge "docs: fixed button value in reference" into pi-dev
2018-09-13 23:37:04 +00:00
kopriva
eac0905c11
docs: fixed instances of typo in 'overridden' am: debd4ee72d
...
am: 9b641cbc71
Change-Id: I071643e73656a2a17a3c0ab89ffacda9c1bfec80
2018-09-13 15:11:27 -07:00
Ian Lake
140fe12b91
Annotate Activity.dump with nullability annotations
...
BUG: 78245676
Test: make
Change-Id: I4c93e93011ae7a14d8822da98111b3d2bd62fef9
2018-09-13 14:59:38 -07:00
kopriva
9b641cbc71
docs: fixed instances of typo in 'overridden'
...
am: debd4ee72d
Change-Id: Idde6240486463dee51cdc27b8cd066a80fb869e0
2018-09-13 14:57:25 -07:00
TreeHugger Robot
921f354c6c
Merge "Allow listeners to reset their requested hints."
2018-09-13 21:21:32 +00:00
Ian Lake
0b71b8e719
Annotate Window.Callback menu methods with nullability
...
Also update the two common implementations using these:
Activity and Dialog.
BUG: 78245676
Test: make
Change-Id: If7b95b73df7dedb12210819d831ba7102344facf
2018-09-13 14:07:17 -07:00
kopriva
8082168bb1
docs: fixed button value in reference
...
Test: make ds-docs
Bug: 36946449
Change-Id: I13d863e2cb0e94e51c3a274c8d27d58f7a7a78eb
Exempt-From-Owner-Approval: Docs-only change
2018-09-13 13:18:40 -07:00
Jeff Sharkey
e0339a6f6e
Merge "Support more createPackageContextAsUser() users."
2018-09-13 20:08:57 +00:00
kopriva
debd4ee72d
docs: fixed instances of typo in 'overridden'
...
This affects several files beyond those mentioned in the bug.
I didn't fix some instances because the files had code
problems that blocked presubmit checks.
Test: make ds-docs
Bug: 37094741
Change-Id: I642f0384fef2b267ebc970bae1b4fb90bae667e7
Exempt-From-Owner-Approval: Docs-only change
2018-09-13 11:40:59 -07:00
Beverly Tai
1f8f03b0b7
Merge "New: ZenPolicy for DND"
2018-09-13 18:39:02 +00:00
Julia Reynolds
4703bacf00
Allow listeners to reset their requested hints.
...
Test: cts
Bug: 79340461
Change-Id: I55a3f55d69dd47078e9a2226616d2b89434d32d8
2018-09-13 14:04:18 -04:00
Beverly
174d741944
New: ZenPolicy for DND
...
Bug: 111474881
Test: atest frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ZenModeConfigTest.java
Test: atest frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ZenPolicyTest.java
Change-Id: I41809b30866ab7172dd80e0504694025f7fa3c50
2018-09-13 10:17:03 -04:00
TreeHugger Robot
071f28ded1
Merge "Revert the mandatory backups feature."
2018-09-13 08:45:35 +00:00
Ian Lake
02c6e8692f
Merge "Annotate ComponentCallbacks with nullability annotations"
2018-09-13 04:48:51 +00:00
Ian Lake
666a965fd5
Annotate ComponentCallbacks with nullability annotations
...
BUG: 78245676
Test: make
Change-Id: Idd88ecbfc97672f3a234641c8892c245b4fe130a
2018-09-12 15:13:19 -07:00
Ian Lake
0c807f4a03
Annotate LayoutInflater.Factory2 with nullability annotations
...
Also add the annotations to the most common implementation
of Factory2 - Activity.
BUG: 78245676
Test: make
Change-Id: I49f1cf57be240525916a624f215fdff4701f32a5
2018-09-12 14:18:36 -07:00
Jeff Sharkey
ec5f7d1625
Support more createPackageContextAsUser() users.
...
We created this API to make it easy to pass a given UserHandle into
all Managers obtained from a given Context, which works great for
"normal" users, but we should also support special users like ALL
and CURRENT.
Also add an AutoCloseable marker to make try-with-resources easier.
Bug: 112153259
Test: atest android.content.cts.ContextTest
Change-Id: I261dfcc5cfdfc76bda5d70181785e11c2715a558
2018-09-12 14:02:11 -06:00
Lenka Trochtova
3b6e08772e
Revert the mandatory backups feature.
...
Bug: 79736299
Test: make RunFrameworksServicesRoboTests
Test: cts-tradefed run cts -m CtsBackupHostTestCase
Change-Id: I1209174c9f6aa794c7ca67f4a8737c0589d5fd69
2018-09-12 13:39:05 +02:00
Mike Ma
43908f112b
Merge "Avoiding potential NPE when dumping to proto." am: a52b601ef3
...
am: 8964390dd3
Change-Id: Ie9dc401990b4267b9bcf0469a3526db93dc438d2
2018-09-11 18:47:58 -07:00
Mike Ma
8964390dd3
Merge "Avoiding potential NPE when dumping to proto."
...
am: a52b601ef3
Change-Id: I9d5e520654877e6a46ea19ad3eddd3a901e58699
2018-09-11 18:26:45 -07:00