Commit Graph

86933 Commits

Author SHA1 Message Date
Felipe Leme
c83abcb3dd Minor javadoc clarification.
Test:  mmm -j frameworks/base/:doc-comment-check-docs
Bug: 72693031
Fixes: 72562886

Change-Id: Ia9c3ac12cb41eea7ee30f7ec6c2e68b5603751fd
2018-01-30 22:54:49 -08:00
Sudheer Shanka
bef8a1bef7 Merge "Add a DPM api to check if a pkg is restricted to use metered data." 2018-01-29 22:01:35 +00:00
Jon Dormody
66ad39313b Merge "Docs: Changed "the value of an item that previously added with putExtra()" to "the value of an item previously added with putExtra(),"" into oc-mr1-dev am: 0704571547
am: 43a77db029

Change-Id: I0372e97637de2416386ac45dc383b82ddb4a1991
2018-01-29 21:24:26 +00:00
TreeHugger Robot
61497d2c2e Merge "Keep track of battery drain rate in various states..." 2018-01-29 21:21:25 +00:00
Jon Dormody
43a77db029 Merge "Docs: Changed "the value of an item that previously added with putExtra()" to "the value of an item previously added with putExtra(),"" into oc-mr1-dev
am: 0704571547

Change-Id: Ib9702cb1707ba756ea3202e0fdde579f5c493866
2018-01-29 21:15:04 +00:00
Jon Dormody
0704571547 Merge "Docs: Changed "the value of an item that previously added with putExtra()" to "the value of an item previously added with putExtra(),"" into oc-mr1-dev 2018-01-29 21:04:50 +00:00
Chris Craik
6e348e24a1 Merge "@FastNative for CursorWindow" 2018-01-29 20:07:44 +00:00
Jon Dormody
8ea40cf752 Merge "Docs: Inserting a line to include the documentation for keyPreviewHeight." into oc-mr1-dev am: 7b3c924114
am: afb592c4bf

Change-Id: I2276021c9c2ae453add4e139b677dcfe7e71facd
2018-01-29 19:52:56 +00:00
Jon Dormody
93c4aca119 Merge "Docs: Added a link to the Motion Sensor docs for information on gravity values and calculating alpha. Test: make ds-docs Bug: 6442659" into oc-mr1-dev am: 04d261f309
am: 0762440a7a

Change-Id: I70244cbf5790189959373d1e71ac18a988a399be
2018-01-29 19:48:52 +00:00
Jon Dormody
afb592c4bf Merge "Docs: Inserting a line to include the documentation for keyPreviewHeight." into oc-mr1-dev
am: 7b3c924114

Change-Id: I8a010a0b326f58a5c3e1d0b86f4990123cd67307
2018-01-29 19:40:10 +00:00
Jon Dormody
0762440a7a Merge "Docs: Added a link to the Motion Sensor docs for information on gravity values and calculating alpha. Test: make ds-docs Bug: 6442659" into oc-mr1-dev
am: 04d261f309

Change-Id: I15d0773c820591f153c67382b8826131eb88f98a
2018-01-29 19:34:59 +00:00
TreeHugger Robot
ea3ca9d720 Merge "Introduce MeasuredText related perf tests" 2018-01-29 19:30:42 +00:00
Sudheer Shanka
5be44ff31c Add a DPM api to check if a pkg is restricted to use metered data.
We need this so that Settings can check if an app is
restricted by admin from using metered data.

Bug: 63700027
Test: manual
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
Change-Id: I9a2ea9c458b0f10a3c3c6edcbe82da9eccaa51c3
2018-01-29 11:24:46 -08:00
Jon Dormody
7b3c924114 Merge "Docs: Inserting a line to include the documentation for keyPreviewHeight." into oc-mr1-dev 2018-01-29 19:23:32 +00:00
Jon Dormody
04d261f309 Merge "Docs: Added a link to the Motion Sensor docs for information on gravity values and calculating alpha. Test: make ds-docs Bug: 6442659" into oc-mr1-dev 2018-01-29 19:23:15 +00:00
Makoto Onuki
076218bfc0 Keep track of battery drain rate in various states...
... and print in dumpsys power.

Bug: 72229630
Test: manual test with dumpsys power, etc
Test:  atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/BatterySavingStatsTest.java

Change-Id: I43949129ff03c1e0b0fa3aa603e0678b728538ee
2018-01-29 11:09:14 -08:00
TreeHugger Robot
84783905c0 Merge "Adds generic intent Instant App resolution" 2018-01-29 18:43:46 +00:00
Pavel Grafov
a77e198ea8 Merge "Log additional events in security log." 2018-01-29 18:41:41 +00:00
TreeHugger Robot
bd2f2e991f Merge "Add slice subtype constants for sliders/progress." 2018-01-29 18:31:57 +00:00
Ricardo Loo Foronda
8a9ca8e911 Docs: Removed rogue "(TODO)" note in FLAG_SHOW_LIGHTS member am: f8f6d0a8ec
am: 753f325909

Change-Id: Ib6fb6b03669f789a9b0c9dc789cfb371ce1350c4
2018-01-29 17:20:29 +00:00
Ricardo Loo Foronda
753f325909 Docs: Removed rogue "(TODO)" note in FLAG_SHOW_LIGHTS member
am: f8f6d0a8ec

Change-Id: I8aabec3ac04c0a732efe705919f53a3cadd8c63a
2018-01-29 17:12:00 +00:00
TreeHugger Robot
6fa646ab95 Merge "Reduce pss collection amount, improve logging." 2018-01-29 16:52:08 +00:00
Pavel Grafov
ce72ef0f57 Log additional events in security log.
These events are required for US NIAP MDFPP v3.1 compliance.

Bug: 70886042
Test: manual
Change-Id: I1752469cf4c7ff499eb4356fa1c94f3146d4c9b8
2018-01-29 16:32:49 +00:00
Patrick Baumann
3e8bd0f3b5 Adds generic intent Instant App resolution
Bug: 63117034
Change-Id: Ie3818e913e8e1077f60434a626bc606c0b5015ab
Test: Manual using test app at google_experimental/users/patb/InstantAppsInP
Test: atest android.appsecurity.cts.EphemeralTest passes after modification
2018-01-29 16:19:42 +00:00
David Brazdil
eeed184127 Merge "Control hidden API toast with a system property" am: 13020490be am: a9b3f91828
am: 1e1c4fc802

Change-Id: I0b2d898dbdac8ed6ac8995bab521b62adb5d0f2e
2018-01-29 16:07:23 +00:00
David Brazdil
1e1c4fc802 Merge "Control hidden API toast with a system property" am: 13020490be
am: a9b3f91828

Change-Id: Iac1fdeff968b131e8f3486060dfb7cdeed446157
2018-01-29 15:59:49 +00:00
David Brazdil
a9b3f91828 Merge "Control hidden API toast with a system property"
am: 13020490be

Change-Id: Ib390fd568e4a5d71cdceec3a84b0d55e02b9c45d
2018-01-29 15:52:46 +00:00
TreeHugger Robot
431af2d3f6 Merge "Alarms and Media visibly muted in PriorityOnly dnd" 2018-01-29 15:45:39 +00:00
TreeHugger Robot
81f7471a22 Merge "Remove return value in clearApplicationUserData" 2018-01-29 15:41:28 +00:00
Narayan Kamath
add7bec836 Merge "WorkSource: Mark methods required by GMS as @SystemApi." 2018-01-29 13:27:05 +00:00
Eric Sandness
88ca395b5b Merge "Javadoc For DA Deprecation" 2018-01-29 12:34:28 +00:00
Mihai Popa
d0166532b4 Merge "[Magnifier-16] Clamp to surface against distortion" 2018-01-29 12:14:25 +00:00
Mihai Popa
3589c2c643 [Magnifier-16] Clamp to surface against distortion
Previously, we were only making sure that the magnified content belongs
to the view the magnifier is attached to. However, when the view was
laid out partially outside the screen, we would pixel copy from outside
the surface the view is attached to. This would lead to the user seeing
a distorted content in the magnifier, in cases when the magnified view
lies outside the screen. This CL addresses this issue, by clamping the
pixel copy coordinates inside the surface we copy the magnifier content
from.

Bug: 72039853
Bug: 63531115
Test: bit CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Iddab05c98b615259938e0d3a3320b98b3b13b246
2018-01-29 12:13:21 +00:00
TreeHugger Robot
c6b7d7c4c4 Merge "Refactor the PackageBackwardCompatibilityTest" 2018-01-29 11:24:36 +00:00
David Brazdil
795cbfb1c1 Control hidden API toast with a system property
CL Id0a4200f912ac3303026cb26b6d8974c47332828 sets a system property
"ro.art.hiddenapi.warning" for non-release, non-user builds. This
patch reads that flag and unless the flag is set, will only ever show
the warning message if the app is debuggable.

Test: manual
Bug: 64382372
Change-Id: I9b552792779589a7a91818a82d5c86141fc0a30b
2018-01-29 10:22:54 +00:00
Insun Kang
7933daec0a Merge "VideoView2: Adds Executor paramter to setFooListener methods" 2018-01-29 05:10:12 +00:00
TreeHugger Robot
6a915b212e Merge "VideoView2: MediaRouter integration with MediaSession" 2018-01-29 04:39:03 +00:00
Ricardo Loo Foronda
f8f6d0a8ec Docs: Removed rogue "(TODO)" note in FLAG_SHOW_LIGHTS member
Status: Ready for review
Note: This is a Javadoc only change.

Changes: Removed unnecessary "(TODO)" note.

Test: Build the docs with "make ds-docs" and staged updated content.

Staged content:
go/dac-stage/reference/android/app/Notification.html#FLAG_SHOW_LIGHTS

Bug: 20150478
Change-Id: I3a7fc0414ccb6f52e9b4919031a93ca1a7a29336
2018-01-29 04:21:10 +00:00
Ricardo Loo Foronda
7075daa278 Merge "Docs: Fixed broken link to Traceview docs" into oc-mr1-dev am: 16a77c54ef
am: 223ba4c536

Change-Id: I431ffb4177174cba7258a3a6ad30cfbab130f269
2018-01-29 04:18:38 +00:00
Ricardo Loo Foronda
223ba4c536 Merge "Docs: Fixed broken link to Traceview docs" into oc-mr1-dev
am: 16a77c54ef

Change-Id: Ifb88d7364a377092509bb9a93def65ccca7dcf41
2018-01-29 04:11:43 +00:00
Ricardo Loo Foronda
16a77c54ef Merge "Docs: Fixed broken link to Traceview docs" into oc-mr1-dev 2018-01-29 04:04:09 +00:00
Insun Kang
620b7f328f VideoView2: Adds Executor paramter to setFooListener methods
- Added Executor parameter to setFooListeners
- Removed setFullScreen()
- Renamed OnFullScreenChangedListener --> OnFullScreenRequestListener

Test: build
Change-Id: I1822876ecf55566182281a76ea7919d7c0112146
2018-01-29 04:00:23 +00:00
Ricardo Loo Foronda
8e2af19744 Merge "docs: Added a missing "be" in ACTION_CONNECTION_STATE_CHANGED" into oc-mr1-dev am: 1299d4b0a9
am: d5a62bebc3

Change-Id: Ie138a98a87f9f4fb895d2b9f834d43ac04866b86
2018-01-29 02:47:50 +00:00
Ricardo Loo Foronda
d5a62bebc3 Merge "docs: Added a missing "be" in ACTION_CONNECTION_STATE_CHANGED" into oc-mr1-dev
am: 1299d4b0a9

Change-Id: Ib2911651950048305b00df5f26ca5656e205bcee
2018-01-29 02:39:30 +00:00
Sungsoo Lim
d58f145726 VideoView2: MediaRouter integration with MediaSession
Bug: 72526814
Test: build
Change-Id: Iace25522b433152022bdd3458b6791a89618464b
2018-01-29 11:15:40 +09:00
TreeHugger Robot
eb68f65224 Merge "Comment more on component callback order for N+ OS" 2018-01-29 00:50:17 +00:00
TreeHugger Robot
206593e49c Merge "Add freeze period support in SystemUpdatePolicy" 2018-01-28 16:11:37 +00:00
TreeHugger Robot
231cb066ab Merge "Small fixes for TextClassifierImpl" 2018-01-27 23:39:52 +00:00
TreeHugger Robot
b443123538 Merge "Add throwIfParentInstance check to setMandatoryBackupTransport." 2018-01-27 18:09:33 +00:00
TreeHugger Robot
4c23c1b365 Merge "[Magnifier - 15] Fix magnifier window positioning" 2018-01-27 04:08:32 +00:00