Commit Graph

86957 Commits

Author SHA1 Message Date
TreeHugger Robot
7f8fddc310 Merge "Fix slice listener permissions" 2018-01-30 19:19:27 +00:00
TreeHugger Robot
906fe08da4 Merge "ViewRootImpl: Notify SurfaceHolder.Callback if the surface size changed" 2018-01-30 17:15:46 +00:00
TreeHugger Robot
1b24054faf Merge "Fixed Activity.dump() to lazy load AutofillManager if needed." 2018-01-30 16:56:16 +00:00
Insun Kang
dda4a8e17b Merge "VideoView: Change showSubtitle() to get boolean parameter" 2018-01-30 15:40:35 +00:00
Jorim Jaggi
05bf37612c Merge "Revert "Add "Unlocked device required" parameter to keys"" 2018-01-30 15:36:28 +00:00
Brian Young
3a28570b28 Revert "Add "Unlocked device required" parameter to keys"
This reverts commit 55fff3a89d.

Reason for revert: Build breakages on elfin, gce_x86_phone.

Bug: 67752510

Bug: 72679761
Change-Id: Ia495e9cb158b64fcf015e37b170554a7ed6810a7
2018-01-30 15:31:42 +00:00
Adrian Roos
dcf50a4f4e ViewRootImpl: Notify SurfaceHolder.Callback if the surface size changed
Bug: 72492508
Test: Add SurfaceHolder window, rotate screen, verify surfaceChanged is called
Change-Id: Ifd7d4577367d8bd65e4a9f246bc29d667ecf0cc3
2018-01-30 15:23:17 +00:00
Jason Monk
3a1d2e9791 Fix slice listener permissions
When trying to listen to slices without permission before hand, it
would previously crash. Now it works properly with the grant dialog
and whatnot.

Test: uiservicestests
Bug: 68751119
Change-Id: I3aedab9c75ac8486026723dea5c93ee950995295
2018-01-30 10:13:11 -05:00
TreeHugger Robot
5e25d9aaa2 Merge "Revert "Minor LoadedApk refactoring."" 2018-01-30 14:43:28 +00:00
Insun Kang
4fa8064378 VideoView: Change showSubtitle() to get boolean parameter
- Adds VideoView2 attributes
  - enableControlView
  - showSubtitle (boolean)
  - viewType (enum)
      - surfaceView
      - textureView

- showSubtitle() --> showSubtitle(boolean)
- hideSubtitle() removed.

Test: build

Change-Id: Ib21722af1c9c1caf036e047a18d27d46097e8f03
2018-01-30 21:42:58 +09:00
Paul Duffin
2a9cd14900 Merge "Conditionally remove android.test.base from bootclasspath" 2018-01-30 11:20:50 +00:00
Todd Kennedy
233a0b14ca Revert "Minor LoadedApk refactoring."
This reverts commit 7541ca4d1a.

Change-Id: I2a6aa5038870c32c4145436f0463092c9b82dd23
Bug: 71501570
Test: manual
2018-01-30 05:53:38 -05:00
Felipe Leme
9d16dff058 Fixed Activity.dump() to lazy load AutofillManager if needed.
Bug: N/A
Test: manual verification

Change-Id: I2ab74caab460e41ed6c08882af3d504d3322a577
2018-01-29 18:13:16 -08:00
Jin Seok Park
dde80a9cf4 Remove show/hide API
This CL removes the show/hide API from MediaControlView2 and instead
provides the developer with the same function by calling
setVisibility(View.VISIBLE | View.GONE), and calling the new APIs
set/getTimeout() and requestPlayButtonFocus(). The original Runnable
code has been moved to onVisibilityAggregated() as per API council's
request.

Test: build
Change-Id: If53fb8849b4e086619a9c93c85e61da70272976e
2018-01-30 10:48:10 +09:00
TreeHugger Robot
10766d1359 Merge "Update MediaControlView2/Provider" 2018-01-30 00:15:14 +00:00
Alison Cichowlas
087fc33b05 Merge "Revert "Security model for moving sharesheet to systemui"" 2018-01-30 00:00:10 +00:00
Chenjie Yu
00efc9c9f5 Merge "change bluetooth update to be cumulative value based" 2018-01-29 23:51:08 +00:00
TreeHugger Robot
52546d66d6 Merge "Remove security_v2 flag" 2018-01-29 23:25:09 +00:00
TreeHugger Robot
d8a2054c8f Merge "Add "Unlocked device required" parameter to keys" 2018-01-29 23:16:02 +00:00
Jin Seok Park
0719db7681 Update MediaControlView2/Provider
This CL does the following 5 things:

1) REMOVE setPrevNextListener API
2) REMOVE show/hideSubtitle API
3) EXPOSE Command related strings as public
4) CHANGE time parameter in show(timeout) from integer to long
5) CHANGE setButtonVisibility(visible) parameter from boolean to int

All changes are based on API review.

Test: build
Change-Id: Ia6ffb454100be6a2f75a145e9d6a87bd88faac0c
2018-01-29 22:53:09 +00: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
Alison Cichowlas
76f0ccb5f1 Revert "Security model for moving sharesheet to systemui"
This reverts commit 88f3d4dbe1.

Bug: 72554856
Test: repro instructions in bug
2018-01-29 16:34:33 -05: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
Fan Zhang
204469a908 Remove security_v2 flag
Change-Id: Ibac46b9df4b950bfdbf1adf16ae65dc9b11d0dbf
Fixes: 32953042
Test: rebuild
2018-01-29 12:03:33 -08: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
Brian C. Young
55fff3a89d Add "Unlocked device required" parameter to keys
Add a keymaster parameter for keys that should be inaccessible when
the device screen is locked. "Locked" here is a state where the device
can be used or accessed without any further trust factor such as a
PIN, password, fingerprint, or trusted face or voice.

This parameter is added to the Java keystore interface for key
creation and import, as well as enums specified by and for the native
keystore process.

Test: go/asym-write-test-plan

Bug: 67752510

Change-Id: I8b88ff8fceeafe14e7613776c9cf5427752d9172
2018-01-29 10:16:02 -08: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