OSDN Git Service

android-x86/frameworks-base.git
6 years agoUpdate Docstring for SmsMessage.getOriginatingAddress
Nathan Harold [Mon, 29 Jan 2018 19:36:03 +0000 (11:36 -0800)]
Update Docstring for SmsMessage.getOriginatingAddress

There was a public request for clarification on the address
format for getOriginatingAddress. I did a little research and
have added the answer to the docstring.

Bug: 64697463
Test: compilation
Change-Id: Icf37af0a5940a6fb7798d7c7cafe7b97683bb689

6 years agoMerge "Defer surface layouts during recents animation setup/cleanup"
Winson Chung [Mon, 29 Jan 2018 20:08:06 +0000 (20:08 +0000)]
Merge "Defer surface layouts during recents animation setup/cleanup"

6 years agoMerge "@FastNative for CursorWindow"
Chris Craik [Mon, 29 Jan 2018 20:07:44 +0000 (20:07 +0000)]
Merge "@FastNative for CursorWindow"

6 years agoMerge "Merge "Docs: Inserting a line to include the documentation for keyPreviewHeigh...
Android Build Merger (Role) [Mon, 29 Jan 2018 19:53:33 +0000 (19:53 +0000)]
Merge "Merge "Docs: Inserting a line to include the documentation for keyPreviewHeight." into oc-mr1-dev am: 7b3c924114 am: afb592c4bf"

6 years agoMerge "Docs: Inserting a line to include the documentation for keyPreviewHeight....
Jon Dormody [Mon, 29 Jan 2018 19:52:56 +0000 (19:52 +0000)]
Merge "Docs: Inserting a line to include the documentation for keyPreviewHeight." into oc-mr1-dev am: 7b3c924114
am: afb592c4bf

Change-Id: I2276021c9c2ae453add4e139b677dcfe7e71facd

6 years agoMerge "Temporary Threshold for Binder Proxy Tracking"
TreeHugger Robot [Mon, 29 Jan 2018 19:52:26 +0000 (19:52 +0000)]
Merge "Temporary Threshold for Binder Proxy Tracking"

6 years agoMerge "Docs: Added a link to the Motion Sensor docs for information on gravity values...
Jon Dormody [Mon, 29 Jan 2018 19:48:52 +0000 (19:48 +0000)]
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

6 years agoMerge "Docs: Inserting a line to include the documentation for keyPreviewHeight....
Jon Dormody [Mon, 29 Jan 2018 19:40:10 +0000 (19:40 +0000)]
Merge "Docs: Inserting a line to include the documentation for keyPreviewHeight." into oc-mr1-dev
am: 7b3c924114

Change-Id: I8a010a0b326f58a5c3e1d0b86f4990123cd67307

6 years agoMerge "Make device owner user command foreground"
TreeHugger Robot [Mon, 29 Jan 2018 19:36:47 +0000 (19:36 +0000)]
Merge "Make device owner user command foreground"

6 years agoMerge "Docs: Added a link to the Motion Sensor docs for information on gravity values...
Jon Dormody [Mon, 29 Jan 2018 19:34:59 +0000 (19:34 +0000)]
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

6 years agoMerge "Introduce MeasuredText related perf tests"
TreeHugger Robot [Mon, 29 Jan 2018 19:30:42 +0000 (19:30 +0000)]
Merge "Introduce MeasuredText related perf tests"

6 years agoMerge "Docs: Inserting a line to include the documentation for keyPreviewHeight....
Jon Dormody [Mon, 29 Jan 2018 19:23:32 +0000 (19:23 +0000)]
Merge "Docs: Inserting a line to include the documentation for keyPreviewHeight." into oc-mr1-dev

6 years agoMerge "Docs: Added a link to the Motion Sensor docs for information on gravity values...
Jon Dormody [Mon, 29 Jan 2018 19:23:15 +0000 (19:23 +0000)]
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

6 years agoMerge "Fix JNI abort due to mismatched critical get/release call."
TreeHugger Robot [Mon, 29 Jan 2018 19:15:07 +0000 (19:15 +0000)]
Merge "Fix JNI abort due to mismatched critical get/release call."

6 years agoMerge "Make all unchooseable orientations update rotation on change"
Mike Digman [Mon, 29 Jan 2018 19:14:52 +0000 (19:14 +0000)]
Merge "Make all unchooseable orientations update rotation on change"

6 years agoMerge "Adds generic intent Instant App resolution"
TreeHugger Robot [Mon, 29 Jan 2018 18:43:46 +0000 (18:43 +0000)]
Merge "Adds generic intent Instant App resolution"

6 years agoMerge "Log additional events in security log."
Pavel Grafov [Mon, 29 Jan 2018 18:41:41 +0000 (18:41 +0000)]
Merge "Log additional events in security log."

6 years agoMerge "Minor fixes on URI permission methods."
TreeHugger Robot [Mon, 29 Jan 2018 18:36:48 +0000 (18:36 +0000)]
Merge "Minor fixes on URI permission methods."

6 years agoMerge "Merge "Add android.Manifest.permission.NFC_TRANSACTION_EVENT" am: ac2247c406...
Android Build Merger (Role) [Mon, 29 Jan 2018 18:33:15 +0000 (18:33 +0000)]
Merge "Merge "Add android.Manifest.permission.NFC_TRANSACTION_EVENT" am: ac2247c406 am: 626f665a65 am: 8142017f62"

6 years agoMerge "Add android.Manifest.permission.NFC_TRANSACTION_EVENT" am: ac2247c406 am:...
Ruchi Kandoi [Mon, 29 Jan 2018 18:32:53 +0000 (18:32 +0000)]
Merge "Add android.Manifest.permission.NFC_TRANSACTION_EVENT" am: ac2247c406 am: 626f665a65
am: 8142017f62

Change-Id: I7ef07b3aa3a59f510a7a5e897d134707c04f675b

6 years agoMerge "Add more statsd's debugging info to dumpsys."
Yao Chen [Mon, 29 Jan 2018 18:32:45 +0000 (18:32 +0000)]
Merge "Add more statsd's debugging info to dumpsys."

6 years agoMerge "Add slice subtype constants for sliders/progress."
TreeHugger Robot [Mon, 29 Jan 2018 18:31:57 +0000 (18:31 +0000)]
Merge "Add slice subtype constants for sliders/progress."

6 years agoMerge "Add android.Manifest.permission.NFC_TRANSACTION_EVENT" am: ac2247c406
Ruchi Kandoi [Mon, 29 Jan 2018 18:25:10 +0000 (18:25 +0000)]
Merge "Add android.Manifest.permission.NFC_TRANSACTION_EVENT" am: ac2247c406
am: 626f665a65

Change-Id: I562b46b71416406e2640fc84f7b6a064327a7ca8

6 years agoMerge "Add android.Manifest.permission.NFC_TRANSACTION_EVENT"
Ruchi Kandoi [Mon, 29 Jan 2018 18:18:11 +0000 (18:18 +0000)]
Merge "Add android.Manifest.permission.NFC_TRANSACTION_EVENT"
am: ac2247c406

Change-Id: I6592686f765e3474d1c02bf9b3bc243ab152b641

6 years agoMerge "Defer cross profile animation is the activity is intercepted ... for work...
TreeHugger Robot [Mon, 29 Jan 2018 18:12:24 +0000 (18:12 +0000)]
Merge "Defer cross profile animation is the activity is intercepted ... for work mode / work challenge"

6 years agoMerge "Add android.Manifest.permission.NFC_TRANSACTION_EVENT"
Treehugger Robot [Mon, 29 Jan 2018 17:59:23 +0000 (17:59 +0000)]
Merge "Add android.Manifest.permission.NFC_TRANSACTION_EVENT"

6 years agoDefer surface layouts during recents animation setup/cleanup
Winson Chung [Fri, 26 Jan 2018 18:04:20 +0000 (10:04 -0800)]
Defer surface layouts during recents animation setup/cleanup

Bug: 72550644
Test: Swipe up with suitable launcher build check systrace
Change-Id: Idf5ff8bd60250176a60b84b7f29604ac9882b493

6 years agoMerge "Fix issue with flickering with recents animation"
Jorim Jaggi [Mon, 29 Jan 2018 17:41:16 +0000 (17:41 +0000)]
Merge "Fix issue with flickering with recents animation"

6 years agoMerge "Re-initialize the brightness slider when out of sync."
TreeHugger Robot [Mon, 29 Jan 2018 17:28:26 +0000 (17:28 +0000)]
Merge "Re-initialize the brightness slider when out of sync."

6 years agoMerge "Docs: Removed rogue "(TODO)" note in FLAG_SHOW_LIGHTS member am: f8f6d0a8ec...
Android Build Merger (Role) [Mon, 29 Jan 2018 17:20:56 +0000 (17:20 +0000)]
Merge "Docs: Removed rogue "(TODO)" note in FLAG_SHOW_LIGHTS member am: f8f6d0a8ec am: 753f325909"

6 years agoDocs: Removed rogue "(TODO)" note in FLAG_SHOW_LIGHTS member am: f8f6d0a8ec
Ricardo Loo Foronda [Mon, 29 Jan 2018 17:20:29 +0000 (17:20 +0000)]
Docs: Removed rogue "(TODO)" note in FLAG_SHOW_LIGHTS member am: f8f6d0a8ec
am: 753f325909

Change-Id: Ib6fb6b03669f789a9b0c9dc789cfb371ce1350c4

6 years agoMerge "Update adb backup/restore confirmation activity on new intent"
Annie Meng [Mon, 29 Jan 2018 17:20:09 +0000 (17:20 +0000)]
Merge "Update adb backup/restore confirmation activity on new intent"

6 years agoMerge "Lock screen message alignment"
Lucas Dupin [Mon, 29 Jan 2018 17:15:09 +0000 (17:15 +0000)]
Merge "Lock screen message alignment"

6 years agoDocs: Removed rogue "(TODO)" note in FLAG_SHOW_LIGHTS member
Ricardo Loo Foronda [Mon, 29 Jan 2018 17:12:00 +0000 (17:12 +0000)]
Docs: Removed rogue "(TODO)" note in FLAG_SHOW_LIGHTS member
am: f8f6d0a8ec

Change-Id: I8aabec3ac04c0a732efe705919f53a3cadd8c63a

6 years agoMerge "Reduce pss collection amount, improve logging."
TreeHugger Robot [Mon, 29 Jan 2018 16:52:08 +0000 (16:52 +0000)]
Merge "Reduce pss collection amount, improve logging."

6 years agoMerge changes I423d6df4,I7b8a079b
Winson Chung [Mon, 29 Jan 2018 16:51:16 +0000 (16:51 +0000)]
Merge changes I423d6df4,I7b8a079b

* changes:
  Piping animation signal to onboarding.
  Expose call to start screen pinning on a task.

6 years agoLog additional events in security log.
Pavel Grafov [Wed, 10 Jan 2018 17:14:11 +0000 (17:14 +0000)]
Log additional events in security log.

These events are required for US NIAP MDFPP v3.1 compliance.

Bug: 70886042
Test: manual
Change-Id: I1752469cf4c7ff499eb4356fa1c94f3146d4c9b8

6 years agoAdds generic intent Instant App resolution
Patrick Baumann [Mon, 8 Jan 2018 19:23:38 +0000 (11:23 -0800)]
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

6 years agoMerge "Fix nav keys being tiny on sw600dp devices" am: a20239bf71 am: 38cbc885d1
Jason Monk [Mon, 29 Jan 2018 16:15:42 +0000 (16:15 +0000)]
Merge "Fix nav keys being tiny on sw600dp devices" am: a20239bf71 am: 38cbc885d1
am: 0b922f2dd8

Change-Id: Idae1cdbac391e00e4e2f623017b343ec9de9cb44

6 years agoMerge "Control hidden API toast with a system property" am: 13020490be am: a9b3f91828
David Brazdil [Mon, 29 Jan 2018 16:07:23 +0000 (16:07 +0000)]
Merge "Control hidden API toast with a system property" am: 13020490be am: a9b3f91828
am: 1e1c4fc802

Change-Id: I0b2d898dbdac8ed6ac8995bab521b62adb5d0f2e

6 years agoMerge "Fix nav keys being tiny on sw600dp devices" am: a20239bf71
Jason Monk [Mon, 29 Jan 2018 16:06:51 +0000 (16:06 +0000)]
Merge "Fix nav keys being tiny on sw600dp devices" am: a20239bf71
am: 38cbc885d1

Change-Id: I3ebdf0ad481dcf9e6ec2d12151d591a24c40458a

6 years agoMerge "Control hidden API toast with a system property" am: 13020490be
David Brazdil [Mon, 29 Jan 2018 15:59:49 +0000 (15:59 +0000)]
Merge "Control hidden API toast with a system property" am: 13020490be
am: a9b3f91828

Change-Id: Iac1fdeff968b131e8f3486060dfb7cdeed446157

6 years agoMerge "Fix nav keys being tiny on sw600dp devices"
Jason Monk [Mon, 29 Jan 2018 15:56:06 +0000 (15:56 +0000)]
Merge "Fix nav keys being tiny on sw600dp devices"
am: a20239bf71

Change-Id: I30fbb071d290ff8477560f25216dd1ea04c789a6

6 years agoMerge "Control hidden API toast with a system property"
David Brazdil [Mon, 29 Jan 2018 15:52:46 +0000 (15:52 +0000)]
Merge "Control hidden API toast with a system property"
am: 13020490be

Change-Id: Ib390fd568e4a5d71cdceec3a84b0d55e02b9c45d

6 years agoMerge "Alarms and Media visibly muted in PriorityOnly dnd"
TreeHugger Robot [Mon, 29 Jan 2018 15:45:39 +0000 (15:45 +0000)]
Merge "Alarms and Media visibly muted in PriorityOnly dnd"

6 years agoMerge "MediaSession2/Controller2: Add playlist support"
TreeHugger Robot [Mon, 29 Jan 2018 15:43:19 +0000 (15:43 +0000)]
Merge "MediaSession2/Controller2: Add playlist support"

6 years agoMerge "Remove return value in clearApplicationUserData"
TreeHugger Robot [Mon, 29 Jan 2018 15:41:28 +0000 (15:41 +0000)]
Merge "Remove return value in clearApplicationUserData"

6 years agoMerge changes from topics "sessiontoken2_simpl", "move_binder2", "mediaitem2_updatabl...
TreeHugger Robot [Mon, 29 Jan 2018 15:29:33 +0000 (15:29 +0000)]
Merge changes from topics "sessiontoken2_simpl", "move_binder2", "mediaitem2_updatable", "session2_sendcustomcommand"

* changes:
  MediaSession2: Simplify constructor of SessionToken2
  MediaSession2: Move binder interfaces into the updatable
  MediaSession2: Move MediaItem2 to updatable
  MediaSession2: Implements sendCustomCommand()

6 years agoMerge "readCertsListXml: fix IndexOutofBoundsException and erroneous skip."
TreeHugger Robot [Mon, 29 Jan 2018 15:25:08 +0000 (15:25 +0000)]
Merge "readCertsListXml: fix IndexOutofBoundsException and erroneous skip."

6 years agoMerge "Do not propagate parent bound changes from task as onResize."
Bryce Lee [Mon, 29 Jan 2018 15:24:58 +0000 (15:24 +0000)]
Merge "Do not propagate parent bound changes from task as onResize."

6 years agoMerge "Enable IP callback for Network Watchlist"
Ricky Wai [Mon, 29 Jan 2018 15:24:29 +0000 (15:24 +0000)]
Merge "Enable IP callback for Network Watchlist"

6 years agoRe-initialize the brightness slider when out of sync.
Michael Wright [Mon, 29 Jan 2018 15:17:20 +0000 (15:17 +0000)]
Re-initialize the brightness slider when out of sync.

Whenever the brightness controller stops listening to brightness events,
it could get out of sync and so will animate when next opened and it
re-registers. We want to avoid this animation since it looks odd to the
user so we always re-initialize whenever we might get out of sync.

Bug: 72635553
Test: manual
Change-Id: I3a7e05e18652af33511a5de5a8ebeee01d2f0349

6 years agoMerge "Fix nav keys being tiny on sw600dp devices"
Treehugger Robot [Mon, 29 Jan 2018 14:55:21 +0000 (14:55 +0000)]
Merge "Fix nav keys being tiny on sw600dp devices"

6 years agoMerge "Control hidden API toast with a system property"
David Brazdil [Mon, 29 Jan 2018 14:46:06 +0000 (14:46 +0000)]
Merge "Control hidden API toast with a system property"

6 years agoDefer cross profile animation is the activity is intercepted
Tony Mak [Mon, 22 Jan 2018 13:56:20 +0000 (13:56 +0000)]
Defer cross profile animation is the activity is intercepted
... for work mode / work challenge

Test: Turn off work mode -> invoke the API to switch to work profile
      -> observe the animation is deferred when the original target
      is started
Test: Repeat the above test with work challenge

FIXES: 71840869

Change-Id: I0005b789de17b73e6b89500a183891435b384bdd

6 years agoMediaSession2/Controller2: Add playlist support
Hyundo Moon [Mon, 29 Jan 2018 08:06:03 +0000 (17:06 +0900)]
MediaSession2/Controller2: Add playlist support

This CL does the following:
 - Removes PlaylistParams argument from all playlist related methods.
   (i.e. setPlaylist(List, PlaylistParams) becomes setPlaylist(List))
 - Adds methods (to/fromBundle, to/fromBundleList) into MediaItem2.

Bug: 72537268
Test: Passed MediaSession2Test
Change-Id: I48ef69ad2728fb7de7efab10f4e077aec552dd0b

6 years agoMediaSession2: Simplify constructor of SessionToken2
Jaewan Kim [Mon, 29 Jan 2018 12:49:41 +0000 (21:49 +0900)]
MediaSession2: Simplify constructor of SessionToken2

Test: Run all MediaComponents tests once
Change-Id: Ic99d5916d354815a57fe37d04dfeb625c493076d

6 years agoMediaSession2: Move binder interfaces into the updatable
Jaewan Kim [Mon, 29 Jan 2018 12:37:20 +0000 (21:37 +0900)]
MediaSession2: Move binder interfaces into the updatable

Test: Run all MediaComponents tests once
Change-Id: I29a7aa9d649ea212ad4728ebabff40ec0d47ecb1

6 years agoMediaSession2: Move MediaItem2 to updatable
Jaewan Kim [Mon, 29 Jan 2018 11:27:18 +0000 (20:27 +0900)]
MediaSession2: Move MediaItem2 to updatable

Bug: 72627815
Test: Run all MediaComponents test once
Change-Id: Iced94541233145b928e480f3d062a64cc0814a26

6 years agoMediaSession2: Implements sendCustomCommand()
Jaewan Kim [Mon, 29 Jan 2018 10:36:30 +0000 (19:36 +0900)]
MediaSession2: Implements sendCustomCommand()

Bug: 72543316
Test: Run all MediaComponents tests once
Change-Id: Iad4fff6d6d41fb39f632735244cc7ecbec93fa0f

6 years agoMerge "[Magnifier-17] Decrease magnifier width"
Mihai Popa [Mon, 29 Jan 2018 13:33:24 +0000 (13:33 +0000)]
Merge "[Magnifier-17] Decrease magnifier width"

6 years agoMerge "WorkSource: Mark methods required by GMS as @SystemApi."
Narayan Kamath [Mon, 29 Jan 2018 13:27:05 +0000 (13:27 +0000)]
Merge "WorkSource: Mark methods required by GMS as @SystemApi."

6 years agoUpdate adb backup/restore confirmation activity on new intent
Annie Meng [Thu, 25 Jan 2018 12:46:07 +0000 (12:46 +0000)]
Update adb backup/restore confirmation activity on new intent

Now, if adb backup/restore is currently active and the activity is
passed a new intent, the activity instance would be updated with the new intent.
Same for if the activity is relaunched.

Before, the activity would ignore intent changes and use old tokens and
views, leading to backing up/restoring wrong files.

Bug: 65723308
Test: adb backup -f old.ab -all; ctrl-c; adb backup -f new.ab -all;
gts-tradefed run commandAndExit gts-dev -m GtsBackupHostTestCases
Change-Id: Ifa11efecf82a682a578dab7e5795328ab7d0c054

6 years agoMerge "Javadoc For DA Deprecation"
Eric Sandness [Mon, 29 Jan 2018 12:34:28 +0000 (12:34 +0000)]
Merge "Javadoc For DA Deprecation"

6 years agoMerge "[Magnifier-16] Clamp to surface against distortion"
Mihai Popa [Mon, 29 Jan 2018 12:14:25 +0000 (12:14 +0000)]
Merge "[Magnifier-16] Clamp to surface against distortion"

6 years ago[Magnifier-16] Clamp to surface against distortion
Mihai Popa [Thu, 25 Jan 2018 19:26:30 +0000 (19:26 +0000)]
[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

6 years ago[Magnifier-17] Decrease magnifier width
Mihai Popa [Fri, 26 Jan 2018 20:01:03 +0000 (20:01 +0000)]
[Magnifier-17] Decrease magnifier width

The CL decreases the magnifier width to 100dp, following the UX
feedback.

Bug: 67292315
Bug: 63531115
Test: manual testing
Change-Id: I783f35686e8ebe7401dc07c86b975f841cef0e29

6 years agoMerge "LogoutAction should store current user id before swithcing"
TreeHugger Robot [Mon, 29 Jan 2018 12:03:24 +0000 (12:03 +0000)]
Merge "LogoutAction should store current user id before swithcing"

6 years agoMerge "Remove unnecessary <uses-library> for android.test.runner"
TreeHugger Robot [Mon, 29 Jan 2018 11:40:19 +0000 (11:40 +0000)]
Merge "Remove unnecessary <uses-library> for android.test.runner"

6 years agoMerge "Do not close InputStream from InputStreamSource"
Leon Scroggins [Mon, 29 Jan 2018 11:24:40 +0000 (11:24 +0000)]
Merge "Do not close InputStream from InputStreamSource"

6 years agoMerge "Refactor the PackageBackwardCompatibilityTest"
TreeHugger Robot [Mon, 29 Jan 2018 11:24:36 +0000 (11:24 +0000)]
Merge "Refactor the PackageBackwardCompatibilityTest"

6 years agoControl hidden API toast with a system property
David Brazdil [Fri, 26 Jan 2018 12:23:15 +0000 (12:23 +0000)]
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

6 years agoMerge "MediaController2: Implement get/setPlaylistParams"
TreeHugger Robot [Mon, 29 Jan 2018 09:53:07 +0000 (09:53 +0000)]
Merge "MediaController2: Implement get/setPlaylistParams"

6 years agoMediaController2: Implement get/setPlaylistParams
Hyundo Moon [Mon, 29 Jan 2018 05:04:23 +0000 (14:04 +0900)]
MediaController2: Implement get/setPlaylistParams

Bug: 72537520
Test: Passed MediaController2Test
Change-Id: If9b3107084f3f4b063967f079bf229bb43b95cbd

6 years agoMerge changes from topic "session2_playlist_add_remove"
TreeHugger Robot [Mon, 29 Jan 2018 07:16:34 +0000 (07:16 +0000)]
Merge changes from topic "session2_playlist_add_remove"

* changes:
  MediaSession2: Add listeners for change in session token
  MediaSession2: Add from add/remove an item from playlist

6 years agoMerge "VideoView2: Adds Executor paramter to setFooListener methods"
Insun Kang [Mon, 29 Jan 2018 05:10:12 +0000 (05:10 +0000)]
Merge "VideoView2: Adds Executor paramter to setFooListener methods"

6 years agoMerge "VideoView2: MediaRouter integration with MediaSession"
TreeHugger Robot [Mon, 29 Jan 2018 04:39:03 +0000 (04:39 +0000)]
Merge "VideoView2: MediaRouter integration with MediaSession"

6 years agoDocs: Removed rogue "(TODO)" note in FLAG_SHOW_LIGHTS member
Ricardo Loo Foronda [Thu, 25 Jan 2018 16:42:43 +0000 (08:42 -0800)]
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

6 years agoMerge "Docs: Fixed broken link to Traceview docs" into oc-mr1-dev am: 16a77c54ef
Ricardo Loo Foronda [Mon, 29 Jan 2018 04:18:38 +0000 (04:18 +0000)]
Merge "Docs: Fixed broken link to Traceview docs" into oc-mr1-dev am: 16a77c54ef
am: 223ba4c536

Change-Id: I431ffb4177174cba7258a3a6ad30cfbab130f269

6 years agoMerge "Docs: Fixed broken link to Traceview docs" into oc-mr1-dev
Ricardo Loo Foronda [Mon, 29 Jan 2018 04:11:43 +0000 (04:11 +0000)]
Merge "Docs: Fixed broken link to Traceview docs" into oc-mr1-dev
am: 16a77c54ef

Change-Id: Ifb88d7364a377092509bb9a93def65ccca7dcf41

6 years agoMerge "Docs: Fixed broken link to Traceview docs" into oc-mr1-dev
Ricardo Loo Foronda [Mon, 29 Jan 2018 04:04:09 +0000 (04:04 +0000)]
Merge "Docs: Fixed broken link to Traceview docs" into oc-mr1-dev

6 years agoVideoView2: Adds Executor paramter to setFooListener methods
Insun Kang [Fri, 26 Jan 2018 16:17:49 +0000 (01:17 +0900)]
VideoView2: Adds Executor paramter to setFooListener methods

- Added Executor parameter to setFooListeners
- Removed setFullScreen()
- Renamed OnFullScreenChangedListener --> OnFullScreenRequestListener

Test: build
Change-Id: I1822876ecf55566182281a76ea7919d7c0112146

6 years agoMediaSession2: Add listeners for change in session token
Jaewan Kim [Mon, 29 Jan 2018 02:57:04 +0000 (11:57 +0900)]
MediaSession2: Add listeners for change in session token

Test: Run all MediaComponents tests once
Change-Id: Ic46ad9e4e4c9e1ce43b3dbad904eae7fc30d52a0

6 years agoMerge "docs: Added a missing "be" in ACTION_CONNECTION_STATE_CHANGED" into oc-mr1...
Ricardo Loo Foronda [Mon, 29 Jan 2018 02:47:50 +0000 (02:47 +0000)]
Merge "docs: Added a missing "be" in ACTION_CONNECTION_STATE_CHANGED" into oc-mr1-dev am: 1299d4b0a9
am: d5a62bebc3

Change-Id: Ie138a98a87f9f4fb895d2b9f834d43ac04866b86

6 years agoMerge "docs: Added a missing "be" in ACTION_CONNECTION_STATE_CHANGED" into oc-mr1-dev
Ricardo Loo Foronda [Mon, 29 Jan 2018 02:39:30 +0000 (02:39 +0000)]
Merge "docs: Added a missing "be" in ACTION_CONNECTION_STATE_CHANGED" into oc-mr1-dev
am: 1299d4b0a9

Change-Id: Ib2911651950048305b00df5f26ca5656e205bcee

6 years agoMerge "docs: Added a missing "be" in ACTION_CONNECTION_STATE_CHANGED" into oc-mr1-dev
Ricardo Loo Foronda [Mon, 29 Jan 2018 02:27:48 +0000 (02:27 +0000)]
Merge "docs: Added a missing "be" in ACTION_CONNECTION_STATE_CHANGED" into oc-mr1-dev

6 years agoVideoView2: MediaRouter integration with MediaSession
Sungsoo Lim [Thu, 25 Jan 2018 05:12:35 +0000 (14:12 +0900)]
VideoView2: MediaRouter integration with MediaSession

Bug: 72526814
Test: build
Change-Id: Iace25522b433152022bdd3458b6791a89618464b

6 years agoDo not close InputStream from InputStreamSource
Leon Scroggins III [Tue, 23 Jan 2018 16:38:23 +0000 (11:38 -0500)]
Do not close InputStream from InputStreamSource

Test: I28f82285c0341aff7192eb0157e0de4b97cda577

This is called by public methods that pass along an InputStream. As
such, it is possible that the client was planning to continue reading
from the InputStream, so do not close it.

Change-Id: Iaa53c44d578c1311315616c8fd931bed40290a92

6 years agoMerge "Comment more on component callback order for N+ OS"
TreeHugger Robot [Mon, 29 Jan 2018 00:50:17 +0000 (00:50 +0000)]
Merge "Comment more on component callback order for N+ OS"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 28 Jan 2018 19:38:19 +0000 (19:38 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 28 Jan 2018 19:15:33 +0000 (19:15 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 28 Jan 2018 19:11:25 +0000 (19:11 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "WifiManager: return errors for WPS API calls"
Rebecca Silberstein [Sun, 28 Jan 2018 19:08:24 +0000 (19:08 +0000)]
Merge "WifiManager: return errors for WPS API calls"

6 years agoMerge "WifiManager: update documentation on factoryReset"
Rebecca Silberstein [Sun, 28 Jan 2018 19:07:41 +0000 (19:07 +0000)]
Merge "WifiManager: update documentation on factoryReset"

6 years agoMerge "Add freeze period support in SystemUpdatePolicy"
TreeHugger Robot [Sun, 28 Jan 2018 16:11:37 +0000 (16:11 +0000)]
Merge "Add freeze period support in SystemUpdatePolicy"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 28 Jan 2018 15:35:54 +0000 (07:35 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ib019cc7a7cd6554b73757af48ddca67efc4d60e3
Auto-generated-cl: translation import

6 years agoMediaSession2: Add from add/remove an item from playlist
Jaewan Kim [Sun, 28 Jan 2018 14:16:43 +0000 (23:16 +0900)]
MediaSession2: Add from add/remove an item from playlist

Bug: 72527248, Bug: 72527150
Test: Run all MediaComponents test once
Change-Id: Ie75e1a7fa3cd3bea786445aab827afc62cf189b5

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 28 Jan 2018 13:14:29 +0000 (05:14 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ib683db19ff4cee271db11bdb36956cbec7102804
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 28 Jan 2018 10:58:45 +0000 (02:58 -0800)]
Import translations. DO NOT MERGE

Change-Id: Iac2b17e1de14b34dd61a7dd83c411d154032777a
Auto-generated-cl: translation import

6 years agoWifiManager: return errors for WPS API calls
Rebecca Silberstein [Sat, 20 Jan 2018 01:45:26 +0000 (17:45 -0800)]
WifiManager: return errors for WPS API calls

WPS support in Client mode is deprecated.  Trigger onFailed callbacks
for WPS operations. Added unit tests to check for error callbacks.

Bug: 72168432
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I442afd75b6b3ed3d43488cc2185274e9584352d1