Commit Graph

10942 Commits

Author SHA1 Message Date
Julia Reynolds
a047d8944b Merge "Allow some notifications in a group to be muted" into oc-dev am: 9685128edf
am: 5bc54aad76

Change-Id: If2ba099e67ccdabf756a62858a5244679f9c1547
2017-04-25 20:47:12 +00:00
Pavel Grafov
b8349c7f11 Merge "Fix javadoc to clearly express units and base for time value." into oc-dev am: 0a001ed37f
am: 31f94f28d2

Change-Id: I0943630bf90e473814f14d44701ecb109f514726
2017-04-25 20:42:42 +00:00
Julia Reynolds
9685128edf Merge "Allow some notifications in a group to be muted" into oc-dev 2017-04-25 19:25:05 +00:00
Julia Reynolds
a79c37170e Allow some notifications in a group to be muted
Test: cts, runtest systemui-notification
Change-Id: I98b971c496c52f69e039a3a3101f71ac567b538a
2017-04-25 13:41:37 -04:00
Pavel Grafov
937bb7ff57 Fix javadoc to clearly express units and base for time value.
Bug: 37622877
Test: it's just javadoc.
Change-Id: I285b20f9ff6b82279f215879797fa263b318269a
2017-04-25 17:24:27 +01:00
Rubin Xu
add429d164 Merge "Add param javadoc to DevicePolicyManager.setBackupServiceEnabled" into oc-dev am: a31f49a0df
am: e45651ba8f

Change-Id: I2c4e924c5e6a3317aca31ca56676e73e641e261e
2017-04-25 12:23:17 +00:00
Rubin Xu
dd0064d5b6 Merge "Clarify time unit for StrongAuthTimeout APIs" into oc-dev am: 2c20a6db28
am: 0a555a6595

Change-Id: I6e22acaa9a183f97874f75ba71dc9ca1434ff60e
2017-04-25 12:13:16 +00:00
TreeHugger Robot
a31f49a0df Merge "Add param javadoc to DevicePolicyManager.setBackupServiceEnabled" into oc-dev 2017-04-25 12:11:13 +00:00
TreeHugger Robot
2c20a6db28 Merge "Clarify time unit for StrongAuthTimeout APIs" into oc-dev 2017-04-25 12:02:07 +00:00
Wale Ogunwale
8d7b1c9c11 Merge "Continue to @hide freeform decor caption APIs" into oc-dev am: 302ba2d3ab
am: 8f8c43bde8

Change-Id: Ied400c025038549532913a5f9d4ccd8573da5a4f
2017-04-25 06:15:30 +00:00
Wale Ogunwale
724ca14b20 Continue to @hide freeform decor caption APIs
Hiding the APIs for now since we're not releasing freeform yet and it's
better not to expose them now in case we'll decide to change them later.

May you make the P release!

Test: manual
Bug: 28774476
Change-Id: Ie4b4d1bdabef9b27d2eb1442ffc9f6c46ce7dfcb
2017-04-25 04:02:59 +00:00
Felipe Leme
85d1c2d290 Minor fixes on Autofill Framework:
- Removed default implementation of onProvideAutofillVirtualStructure() that
  was using accessibility API (it's useless because without the View calling
  AutofillManager.notifyViewEntered(), it would never be triggered).
- Fixed obsolete TODOs.
- Removed obsolete service class name constant.
- Removed unused debug constant.

Fixes: 37078783
Fixes: 33197203
Bug: 33802548
Bug: 35956626

Test: CtsAutoFillServiceTestCases pass
Merged-In: I834d34b8af8bf0d781dc7e0ffcd6e600bfa2d183
Change-Id: I834d34b8af8bf0d781dc7e0ffcd6e600bfa2d183
2017-04-24 16:01:12 -07:00
Karthik Ravi Shankar
5fd001ac82 Merge changes from topic 'virtual-display-api' into oc-dev am: 13ba34bf37
am: 875c8445a8

Change-Id: I12f88b60d82fba4227c9f565009e6c3e42f6798c
2017-04-24 22:45:33 +00:00
Jeff Sharkey
1f14b1509c Merge "Even more auto-doc work." into oc-dev am: 880f4f4cc2
am: 9652eef0b2

Change-Id: I96c77c62b6ee3b5acaa45e116d35c7114797a0b8
2017-04-24 22:43:34 +00:00
Felipe Leme
a61d217028 Merge "Replaced getUrl() by getWebDomain()." into oc-dev am: ffef2ad2b0
am: bf4451aa0e

Change-Id: I96fae5dae4a5b5a03d39170ad04b1d812f991668
2017-04-24 22:17:35 +00:00
TreeHugger Robot
7d56384a28 Merge "Minor fixes on Autofill Framework:" 2017-04-24 21:34:27 +00:00
TreeHugger Robot
13ba34bf37 Merge changes from topic 'virtual-display-api' into oc-dev
* changes:
  Add command line option to set compatibility display properties
  Make VR mode virtual display properties customizable
2017-04-24 21:33:59 +00:00
TreeHugger Robot
880f4f4cc2 Merge "Even more auto-doc work." into oc-dev 2017-04-24 21:33:18 +00:00
Todd Kennedy
d27b6e3204 Merge "Merge "fix service binding" into oc-dev am: 4eaeb91e42" into oc-dev-plus-aosp
am: af6b454b14

Change-Id: I55e0a3543202407577b6ebd433fdb8b406125137
2017-04-24 21:23:01 +00:00
Felipe Leme
c651e4d34f Minor fixes on Autofill Framework:
- Removed default implementation of onProvideAutofillVirtualStructure() that
  was using accessibility API (it's useless because without the View calling
  AutofillManager.notifyViewEntered(), it would never be triggered).
- Fixed obsolete TODOs.
- Removed obsolete service class name constant.
- Removed unused debug constant.

Test: CtsAutoFillServiceTestCases (on oc-dev) pass
Test: manual verification (on oc-dev)
Bug: 37078783
Bug: 33197203
Bug: 33802548
Bug: 35956626

Change-Id: I834d34b8af8bf0d781dc7e0ffcd6e600bfa2d183
2017-04-24 12:38:21 -07:00
Rubin Xu
5d39ea769e Clarify time unit for StrongAuthTimeout APIs
Bug: 37624569
Test: make -j32 docs
Change-Id: I9bdf191697e698fcc38b279c471a8ce6566927c8
2017-04-24 20:26:30 +01:00
Jeff Sharkey
30e06bb668 Even more auto-doc work.
Update docs based on what new lint detector found.  Add new @IntDef
to parameters or methods returning constants or flags, and add
@RequiresPermission to methods mentioning permissions.

Test: make -j32 offline-sdk-docs
Bug: 37526420
Change-Id: I7f640f7883fcb66b911a52ae93b83f77306571ec
2017-04-24 13:20:46 -06:00
Rubin Xu
0367f07791 Add param javadoc to DevicePolicyManager.setBackupServiceEnabled
Bug: 37624668
Test: make -j32 docs
Change-Id: Ie3457f4f5eba63365ed7920431037759475fa30b
2017-04-24 20:17:16 +01:00
Jeff Sharkey
e01a56bb66 Merge "More auto-doc work." into oc-dev am: 6bc03748a7
am: f25b285706

Change-Id: Ic6b7c359259b6fd809b1a01ba249a7b44e15a29f
2017-04-24 18:37:08 +00:00
Felipe Leme
4711ed9f9f Replaced getUrl() by getWebDomain().
Bug: 37566507
Test: CtsAssistTestCases pass

Change-Id: I1b4dfa7259040b3b8bf1014ebb806eb7a3b36c58
2017-04-24 09:43:08 -07:00
TreeHugger Robot
4eaeb91e42 Merge "fix service binding" into oc-dev 2017-04-24 15:37:51 +00:00
Jeff Sharkey
6bc03748a7 Merge "More auto-doc work." into oc-dev 2017-04-22 19:11:34 +00:00
Felipe Leme
0fd0e895ca Merge "Clarify the meaning of ViewNodes methods used for Autofill purposes." into oc-dev am: 7bb113566f
am: 4778d6d5d8

Change-Id: I41425c9a1e875885c4a8c9729b5b1b942d5fdf05
2017-04-22 04:34:32 +00:00
TreeHugger Robot
7bb113566f Merge "Clarify the meaning of ViewNodes methods used for Autofill purposes." into oc-dev 2017-04-22 04:20:42 +00:00
Andrii Kulian
44118a5391 Merge "Don't put non-resizeable activities on secondary displays" into oc-dev am: b216d0f09f
am: 9ca1490cbe

Change-Id: Id1ddad10cf696e96d556fb2a77f8ee6458f384a0
2017-04-22 01:13:56 +00:00
Andrii Kulian
b216d0f09f Merge "Don't put non-resizeable activities on secondary displays" into oc-dev 2017-04-22 00:59:39 +00:00
Dianne Hackborn
83af3eed5d Merge "Address various JobScheduler API feedback." into oc-dev am: e3cc9287ac
am: 626a97618e

Change-Id: I280c45eff7eda9a036c2165b418f7672a5544ad4
2017-04-22 00:47:37 +00:00
Jeff Sharkey
910e081216 More auto-doc work.
Add support for AnyThread, CallSuper, and UiThread.

Another related CL started documenting @RequiresPermission, so remove
duplicated information in existing APIs.

Suppress auto-doc on a handful of classes that are already
well-documented.

Test: make -j32 offline-sdk-docs
Bug: 37526420
Change-Id: I791437dccec0f11d5349a23b982ba098cb551af8
2017-04-21 16:35:08 -06:00
Dianne Hackborn
28d1b66134 Address various JobScheduler API feedback.
- New sample code.
- Fix/improve some docs.
- Hide JobWorkItem Parcl constructor.

Also:

- Add new JobWorkItem API to get the number of times it has been
delivered.
- Do a bit more optimization of checking if a job is ready.

Bug: 37534393  API Review: JobInfo.Builder
Bug: 37544057  API Review: JobServiceEngine
Bug: 37544153  API Review: JobWorkItem

Test: bit CtsJobSchedulerTestCases:*
Change-Id: I66891a038fba752f45dcaed43e615fa9209b71fc
2017-04-21 15:02:10 -07:00
Todd Kennedy
46b4f2b795 fix service binding
there were cases where we wouldn't bind when we should. also, add
some additional debug to better track potential connection issues.

Change-Id: I381da24f490e3102817a14428ef1a63982f33d19
Fixes: 37122153
Test: kill/upgrade GMS to ensure we re-bind in a timely manner
2017-04-21 14:43:52 -07:00
Jeff Sharkey
d85b1ddaeb Merge "Fix code accounting bugs, track external app data." into oc-dev am: 4b32f7c676
am: 90d020d979

Change-Id: I7988898a2f2404e9af76b95190bd6ad839b85d77
2017-04-21 20:20:33 +00:00
Jeff Sharkey
4b32f7c676 Merge "Fix code accounting bugs, track external app data." into oc-dev 2017-04-21 20:01:43 +00:00
Dianne Hackborn
215f1ed817 Merge "Fix issue #32180780: Sync adapters inappropriately being run..." into oc-dev am: 0fa2574ecb
am: a97ee07a5c

Change-Id: I6c938e3c64e7b584dd5f4262646daa3677551f91
2017-04-21 19:41:58 +00:00
TreeHugger Robot
0fa2574ecb Merge "Fix issue #32180780: Sync adapters inappropriately being run..." into oc-dev 2017-04-21 19:23:11 +00:00
Felipe Leme
30e9b266aa Clarify the meaning of ViewNodes methods used for Autofill purposes.
Test: m update-api
Bug: 37565909

Change-Id: I8abcc76193876b62726acb274c5e8984e9dbe6a7
2017-04-21 11:46:01 -07:00
Julia Reynolds
758635c288 Merge "Remove long standing debug code" into oc-dev am: f74a736add
am: ce822b2fb7

Change-Id: Ib9702a224dae742c6a6f1418567e537d8e857e84
2017-04-21 17:31:21 +00:00
TreeHugger Robot
f74a736add Merge "Remove long standing debug code" into oc-dev 2017-04-21 17:17:20 +00:00
Dianne Hackborn
f9bac16d61 Fix issue #32180780: Sync adapters inappropriately being run...
...during full-data backup/restore

The activity manager now tells job scheduler service about the
current backup that is running (only if it is a full backup), it
there is a new condition where we won't consider jobs associated
with the current backup to be ready to run.

Also...  just a little optimization here. :)  The focus is on
scheduling  jobs with a 0 deadline, meaning they should run right
away.  Now the timing controller does a quick check for a new
job to see if its constraints are already satisifed, and doesn't
do anything further if that is the case (doesn't add to the list,
doesn't re-evaluate alarms, etc).  And in the path to scheduling
a job, we do a check to see if the new job is already ready and if
so then just directly add it to the pending list and schedule it.

Doing this required removing what I think is the last bit of code
relying on handler serializing for thread safety, so now everything
in the job scheduler is protected by our global lock and we can
do whatever we want with the lock held and be assured the state
remains consistent.

Also did some small optimizations to many of the other controllers,
mostly switching from an ArrayList to an ArraySet for their tracked
jobs, since one of the things we do frequently is add/remove jobs.

Finally, added some nullability annotations to the JobScheduler
APIs.

Test: bit CtsJobSchedulerTestCases:*

Change-Id: I533fad94ba59468a52fe3d077a0ceab3427f0012
2017-04-21 10:07:31 -07:00
Aurimas Liutikas
cfac919a43 Merge "Fix/suppress error-prone warnings in framework's fragment." into oc-dev am: d3892caf95
am: f3523dcaab

Change-Id: I562b77c500a7a73e9549124f0f2882893a2b58d0
2017-04-21 15:33:18 +00:00
Aurimas Liutikas
d3892caf95 Merge "Fix/suppress error-prone warnings in framework's fragment." into oc-dev 2017-04-21 15:14:08 +00:00
Julia Reynolds
fea6f7b799 Remove long standing debug code
Because it stops real errors from bubbling up to the calling app.

Test: make, post notifications
Change-Id: I0e59c61b0a60302a5fd023b7ad909e84b97e5df5
Fixes: 37494547
2017-04-21 09:38:39 -04:00
Jeff Sharkey
1e91509009 Merge "Auto-generate docs based on annotations." into oc-dev am: 9ea4b33f2a
am: 045d23a6f9

Change-Id: Ib587ffea3014503833ff50096ba8cc0c84080ea3
2017-04-21 02:18:20 +00:00
TreeHugger Robot
9ea4b33f2a Merge "Auto-generate docs based on annotations." into oc-dev 2017-04-21 02:03:33 +00:00
George Mount
8433b98823 Merge "Kill running animations on fragment view's when removed." into oc-dev am: dcc7feb329
am: d11fa9b032

Change-Id: Ie50c2555852eb2efec478be114b48a389c2c47c4
2017-04-21 00:15:08 +00:00
George Mount
98aa2f5944 Merge "Execute pending transactions after FM state change." into oc-dev am: d58d802c5f
am: f8b8000261

Change-Id: Ic3f078df21f88f42983ab7af249a85d4872bddeb
2017-04-21 00:13:07 +00:00