OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "MediaControlView2: Add Support for Ad"
TreeHugger Robot [Fri, 23 Feb 2018 07:53:51 +0000 (07:53 +0000)]
Merge "MediaControlView2: Add Support for Ad"

6 years agoMerge "Add comments according to the API review process." am: e9a215b238 am: b3b458b9ad
Cassie [Fri, 23 Feb 2018 07:07:18 +0000 (07:07 +0000)]
Merge "Add comments according to the API review process." am: e9a215b238 am: b3b458b9ad
am: b1b06cbaf5

Change-Id: Ic90fe7f73ae2442e5bd3c8e7f69e70c1b5332ff6

6 years agoMerge "Add comments according to the API review process." am: e9a215b238
Cassie [Fri, 23 Feb 2018 06:56:56 +0000 (06:56 +0000)]
Merge "Add comments according to the API review process." am: e9a215b238
am: b3b458b9ad

Change-Id: Ie9c3ce9bc67c08d99ea1c1ebfce5fbc78575baea

6 years agoMerge changes from topic "update_mapping"
TreeHugger Robot [Fri, 23 Feb 2018 06:51:31 +0000 (06:51 +0000)]
Merge changes from topic "update_mapping"

* changes:
  Rework how pinning works
  Follow prebuilt/API update

6 years agoMerge "Add comments according to the API review process."
Cassie [Fri, 23 Feb 2018 06:45:24 +0000 (06:45 +0000)]
Merge "Add comments according to the API review process."
am: e9a215b238

Change-Id: I3c079d96e4f8469b3e40eb7e5a9230544c752d57

6 years agoMerge "Revert "Comment out CustomEditTextPreferenceTest which is failing...""
TreeHugger Robot [Fri, 23 Feb 2018 06:29:26 +0000 (06:29 +0000)]
Merge "Revert "Comment out CustomEditTextPreferenceTest which is failing...""

6 years agoMerge "Explicitly restart the killed wallpaper service"
TreeHugger Robot [Fri, 23 Feb 2018 06:17:20 +0000 (06:17 +0000)]
Merge "Explicitly restart the killed wallpaper service"

6 years agoMerge "Reset compat mode settings on settings change."
TreeHugger Robot [Fri, 23 Feb 2018 06:10:21 +0000 (06:10 +0000)]
Merge "Reset compat mode settings on settings change."

6 years agoMerge "DisplayCutout: Fix positioning of NO_LIMITS windows"
TreeHugger Robot [Fri, 23 Feb 2018 06:06:47 +0000 (06:06 +0000)]
Merge "DisplayCutout: Fix positioning of NO_LIMITS windows"

6 years agoMerge "OMS: Make updates to category not reset the overlay's state"
TreeHugger Robot [Fri, 23 Feb 2018 05:48:18 +0000 (05:48 +0000)]
Merge "OMS: Make updates to category not reset the overlay's state"

6 years agoMediaControlView2: Add Support for Ad
Jin Seok Park [Fri, 9 Feb 2018 07:25:46 +0000 (16:25 +0900)]
MediaControlView2: Add Support for Ad

Add APIs for getting/setting MediaMetadata2 in oder to add support
for Advertising media type.

Bug: 73136129
Test: run VideoViewTest.apk
Change-Id: Iab8e23c1f02f4e2df62a6732112b233541f8f35c

6 years agoMerge "Add comments according to the API review process."
Treehugger Robot [Fri, 23 Feb 2018 05:32:35 +0000 (05:32 +0000)]
Merge "Add comments according to the API review process."

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 23 Feb 2018 05:27:01 +0000 (05:27 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Dump last 24 hours of UsageStats events"
TreeHugger Robot [Fri, 23 Feb 2018 04:11:13 +0000 (04:11 +0000)]
Merge "Dump last 24 hours of UsageStats events"

6 years agoMerge "Implement brightness slider spec."
TreeHugger Robot [Fri, 23 Feb 2018 03:57:05 +0000 (03:57 +0000)]
Merge "Implement brightness slider spec."

6 years agoMerge "Dismiss PIP window when PIP is disabled from settings."
Tracy Zhou [Fri, 23 Feb 2018 03:51:02 +0000 (03:51 +0000)]
Merge "Dismiss PIP window when PIP is disabled from settings."

6 years agoMerge "Fixed an issue with a test that didn't work properly"
Selim Cinek [Fri, 23 Feb 2018 03:35:40 +0000 (03:35 +0000)]
Merge "Fixed an issue with a test that didn't work properly"

6 years agoFixed an issue with a test that didn't work properly
Selim Cinek [Fri, 23 Feb 2018 02:35:53 +0000 (18:35 -0800)]
Fixed an issue with a test that didn't work properly

This was causing tool failures.

Change-Id: Ia29b2b22dc1e0bf53dfd664280fd69dc110e020b
Fixes: 73791701
Test: runtest systemui

6 years agoMerge "MediaPlayer2: use long type for media time."
TreeHugger Robot [Fri, 23 Feb 2018 03:21:27 +0000 (03:21 +0000)]
Merge "MediaPlayer2: use long type for media time."

6 years agoMerge "Allow callers to synchronously block for shutdown" am: 9121322ce7 am: a49db4d080
Erik Kline [Fri, 23 Feb 2018 03:08:02 +0000 (03:08 +0000)]
Merge "Allow callers to synchronously block for shutdown" am: 9121322ce7 am: a49db4d080
am: d389a22391

Change-Id: Idf60c16ac8003503f33130ddc6276a17fed75108

6 years agoMerge "Allow callers to synchronously block for shutdown" am: 9121322ce7
Erik Kline [Fri, 23 Feb 2018 02:57:42 +0000 (02:57 +0000)]
Merge "Allow callers to synchronously block for shutdown" am: 9121322ce7
am: a49db4d080

Change-Id: Icd7df06784a0ecf14c8b9b35d579179ffce65ffc

6 years agoMerge "Allow callers to synchronously block for shutdown"
Erik Kline [Fri, 23 Feb 2018 02:46:11 +0000 (02:46 +0000)]
Merge "Allow callers to synchronously block for shutdown"
am: 9121322ce7

Change-Id: Ic0293bf12688e785f4942f0985a8470155fe062b

6 years agoMerge "Bringing back assistant on long press home button (1/2)"
TreeHugger Robot [Fri, 23 Feb 2018 02:43:24 +0000 (02:43 +0000)]
Merge "Bringing back assistant on long press home button (1/2)"

6 years agoMerge "autofill: pass keyevent from fillui to app"
Dake Gu [Fri, 23 Feb 2018 01:35:55 +0000 (01:35 +0000)]
Merge "autofill: pass keyevent from fillui to app"

6 years agoDismiss PIP window when PIP is disabled from settings.
Tracy Zhou [Fri, 23 Feb 2018 01:08:53 +0000 (17:08 -0800)]
Dismiss PIP window when PIP is disabled from settings.

The app ops call comes in on a binder thread so we need to post dismissPip() to the main thread.

Bug: 73625696
Test: atest
CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests

Change-Id: I365947934155d0d29ac67ebedc0b35b6d377cb84

6 years agoMerge "Move metadata key from Slice to SliceManager"
Jason Monk [Fri, 23 Feb 2018 01:03:33 +0000 (01:03 +0000)]
Merge "Move metadata key from Slice to SliceManager"

6 years agoRevert "Comment out CustomEditTextPreferenceTest which is failing..."
Justin Klaassen [Fri, 23 Feb 2018 00:36:59 +0000 (00:36 +0000)]
Revert "Comment out CustomEditTextPreferenceTest which is failing..."

This reverts commit 4dce2510f3fe76c2b883de5cca80f9d421cf9370.

Reason for revert: Breakage fixed by ag/3647277.

Change-Id: I827ea4a66b6b083040ae88f57e79bf6de728ad5e

6 years agoRework how pinning works
Jason Monk [Fri, 23 Feb 2018 00:28:12 +0000 (19:28 -0500)]
Rework how pinning works

pin/unpin don't require special permissions, just permissions to the
slice, and they stop when the app dies.

Test: uiservicestests
Change-Id: I1d1b6afc7e5577091e55c9cbb58f56337b470acf

6 years agoMerge "Use accessibility pane API in keyguard"
Phil Weaver [Fri, 23 Feb 2018 00:31:48 +0000 (00:31 +0000)]
Merge "Use accessibility pane API in keyguard"

6 years agoMerge "Disabled presubmit for flakey test"
Selim Cinek [Fri, 23 Feb 2018 00:18:38 +0000 (00:18 +0000)]
Merge "Disabled presubmit for flakey test"

6 years agoMerge "Give shell CONTROL_KEYGUARD permission."
Wale Ogunwale [Fri, 23 Feb 2018 00:15:30 +0000 (00:15 +0000)]
Merge "Give shell CONTROL_KEYGUARD permission."

6 years agoDisabled presubmit for flakey test
Selim Cinek [Fri, 23 Feb 2018 00:13:11 +0000 (16:13 -0800)]
Disabled presubmit for flakey test

Test: runtest systemui
Change-Id: If772052b2c172e62a22958f9996436914d8e8e1b

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 23 Feb 2018 00:13:01 +0000 (00:13 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoReset compat mode settings on settings change.
Felipe Leme [Fri, 23 Feb 2018 00:03:43 +0000 (16:03 -0800)]
Reset compat mode settings on settings change.

Test: manual verification
Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest

Bug: 73786629

Change-Id: Id77084fe38e75eaedba828d8737e6e465c015400

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 23:41:24 +0000 (23:41 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Fixes home button from moving off its origin position after rotation"
TreeHugger Robot [Thu, 22 Feb 2018 23:25:27 +0000 (23:25 +0000)]
Merge "Fixes home button from moving off its origin position after rotation"

6 years agoMerge "Add AudioManager.setHearingAidDeviceConnectionState" am: c3e842fde8 am: 670ecc2279
Andre Eisenbach [Thu, 22 Feb 2018 23:18:27 +0000 (23:18 +0000)]
Merge "Add AudioManager.setHearingAidDeviceConnectionState" am: c3e842fde8 am: 670ecc2279
am: 54f104e84c

Change-Id: I145b732008e979b7c9762e366620f9fd6c15a97f

6 years agoOMS: Make updates to category not reset the overlay's state
Adam Lesinski [Thu, 22 Feb 2018 21:32:53 +0000 (13:32 -0800)]
OMS: Make updates to category not reset the overlay's state

- Also change how default overlays are applied. Apply them if no other
overlay is enabled for the same category as the default overlay.

Bug: 73740686
Test: manual
Test: adb shell rm /data/system/overlays.xml && adb reboot #verify that colors are blue
Test: adb pull /data/system/overlays.xml \
          && <edit overlay to remove categories> \
          && adb push overlays.xml /data/system/overlays.xml \
          && adb reboot # verify that colors are blue

Change-Id: If42afd287703e2e159d0087e477c19409f724124

6 years agoMerge "Add more hidden APIs seen in use to light greylist"
TreeHugger Robot [Thu, 22 Feb 2018 23:12:34 +0000 (23:12 +0000)]
Merge "Add more hidden APIs seen in use to light greylist"

6 years agoMerge "Add AudioManager.setHearingAidDeviceConnectionState" am: c3e842fde8
Andre Eisenbach [Thu, 22 Feb 2018 23:02:15 +0000 (23:02 +0000)]
Merge "Add AudioManager.setHearingAidDeviceConnectionState" am: c3e842fde8
am: 670ecc2279

Change-Id: I9a7a7712d750581cec4131489bca7071ad64ceee

6 years agoMerge "Comment out CustomEditTextPreferenceTest which is failing..."
Makoto Onuki [Thu, 22 Feb 2018 22:55:09 +0000 (22:55 +0000)]
Merge "Comment out CustomEditTextPreferenceTest which is failing..."

6 years agoMerge "Improve AM lifecycle event logs"
Andrii Kulian [Thu, 22 Feb 2018 22:54:53 +0000 (22:54 +0000)]
Merge "Improve AM lifecycle event logs"

6 years agoComment out CustomEditTextPreferenceTest which is failing...
Makoto Onuki [Thu, 22 Feb 2018 16:32:05 +0000 (08:32 -0800)]
Comment out CustomEditTextPreferenceTest which is failing...

... due to robo.

Until robo gets fixed.

Bug: 73744580
Test: treehuggger
Change-Id: If182ce10a8f24188443d6ed6e3e3ff8228d101d0

6 years agoMerge "Add AudioManager.setHearingAidDeviceConnectionState"
Andre Eisenbach [Thu, 22 Feb 2018 22:44:11 +0000 (22:44 +0000)]
Merge "Add AudioManager.setHearingAidDeviceConnectionState"
am: c3e842fde8

Change-Id: I22a01bb4170b126c59593f938f95bf382beb3dd6

6 years agoMerge "Resume when keyguard start going away"
Andrii Kulian [Thu, 22 Feb 2018 22:15:36 +0000 (22:15 +0000)]
Merge "Resume when keyguard start going away"

6 years agoMerge "RTT bugfixes, part 5" am: de3eeac84d am: 69b0d8bc97
Hall Liu [Thu, 22 Feb 2018 22:11:31 +0000 (22:11 +0000)]
Merge "RTT bugfixes, part 5" am: de3eeac84d am: 69b0d8bc97
am: 786012b229  -s ours

Change-Id: Ifb2e1384a935046b3272d05b2707a63b5e75b734

6 years agoMerge "Allow callers to synchronously block for shutdown"
Erik Kline [Thu, 22 Feb 2018 22:05:31 +0000 (22:05 +0000)]
Merge "Allow callers to synchronously block for shutdown"

6 years agoMerge "RTT bugfixes, part 5" am: de3eeac84d
Hall Liu [Thu, 22 Feb 2018 21:58:59 +0000 (21:58 +0000)]
Merge "RTT bugfixes, part 5" am: de3eeac84d
am: 69b0d8bc97

Change-Id: I766c0dab4e6b234f14d46193a84b1b970bb8473a

6 years agoMediaPlayer2: use long type for media time.
Wei Jia [Tue, 20 Feb 2018 23:01:52 +0000 (15:01 -0800)]
MediaPlayer2: use long type for media time.

add getAudioAttributes
add srcId for DRM callbacks
remove setNextMediaPlayer
Test: MediaPlayer2 plays
Bug: 63934228
Change-Id: Ibc890a9cb2a29ab58ae7eed25f41e96e04ccafcc

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 21:45:45 +0000 (21:45 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "RTT bugfixes, part 5"
Hall Liu [Thu, 22 Feb 2018 21:37:09 +0000 (21:37 +0000)]
Merge "RTT bugfixes, part 5"
am: de3eeac84d

Change-Id: I2e8db964b551f7ab1cc7c286b8fedc553f1e1b8f

6 years agoFollow prebuilt/API update
Jason Monk [Thu, 22 Feb 2018 21:32:16 +0000 (16:32 -0500)]
Follow prebuilt/API update

Test: make
Change-Id: Ie93a29118d1a767174c0364764de61558b274ef5

6 years agoMerge "Better javadoc for DevicePolicyManager#getTransferOwnershipBundle."
TreeHugger Robot [Thu, 22 Feb 2018 21:17:02 +0000 (21:17 +0000)]
Merge "Better javadoc for DevicePolicyManager#getTransferOwnershipBundle."

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 21:14:48 +0000 (21:14 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 21:10:28 +0000 (21:10 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 21:06:53 +0000 (21:06 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoImplement brightness slider spec.
Amin Shaikh [Wed, 21 Feb 2018 20:52:36 +0000 (15:52 -0500)]
Implement brightness slider spec.

Bug: 72991368
Test: visual
Change-Id: I5168f0a30d8a325c3c8d84ff26419240db18a634

6 years agoMerge "Add AudioManager.setHearingAidDeviceConnectionState"
Andre Eisenbach [Thu, 22 Feb 2018 20:49:03 +0000 (20:49 +0000)]
Merge "Add AudioManager.setHearingAidDeviceConnectionState"

6 years agoGive shell CONTROL_KEYGUARD permission.
Wale Ogunwale [Thu, 22 Feb 2018 20:36:55 +0000 (12:36 -0800)]
Give shell CONTROL_KEYGUARD permission.

Follow-up to ag/3614843 where we started to enforce the permission in
window manager.

Bug: 67109817
Test: builds
Change-Id: Id5712d2ed4c537da3a443f9c51aa15e3c84d670b

6 years agoBringing back assistant on long press home button (1/2)
Matthew Ng [Wed, 21 Feb 2018 23:38:21 +0000 (15:38 -0800)]
Bringing back assistant on long press home button (1/2)

Triggering assistant should have the home button animations run.
Prevent long press to start quickscrub.

Bug: 70180755
Test: long press home with quick step enabled
Change-Id: I8bb75210b1bd15eeb97a8b2bf9bbe022f1822dfe

6 years agoAdd AudioManager.setHearingAidDeviceConnectionState
Jakub Pawlowski [Wed, 21 Feb 2018 21:28:46 +0000 (13:28 -0800)]
Add AudioManager.setHearingAidDeviceConnectionState

This will be used by Bluetooth to notify audio framework when Hearing
Aid is connected or disconnected.

Bug: 69623109
Test: mm
Change-Id: I5664d8bd20e36601eea815c0d6e55c3b1d49e4ea

6 years agoMerge "Bugreport SAF provider isn't "advanced.""
Jeff Sharkey [Thu, 22 Feb 2018 20:19:25 +0000 (20:19 +0000)]
Merge "Bugreport SAF provider isn't "advanced.""

6 years agoMerge "Add device capabilities."
Jiuyu Sun [Thu, 22 Feb 2018 20:16:39 +0000 (20:16 +0000)]
Merge "Add device capabilities."

6 years agoMerge "Split query permission from update permission"
TreeHugger Robot [Thu, 22 Feb 2018 19:58:38 +0000 (19:58 +0000)]
Merge "Split query permission from update permission"

6 years agoMerge "Populate hiddenapi whitelist." am: 2519de11c3 am: 37d670a083
Mathew Inwood [Thu, 22 Feb 2018 19:26:19 +0000 (19:26 +0000)]
Merge "Populate hiddenapi whitelist." am: 2519de11c3 am: 37d670a083
am: ca7e42317f

Change-Id: I9549a42daaf469d286b92b249881838b3a50fab6

6 years agoMerge "Fixed a NP when replying to a message"
Selim Cinek [Thu, 22 Feb 2018 19:20:47 +0000 (19:20 +0000)]
Merge "Fixed a NP when replying to a message"

6 years agoMerge "Start UsbService in emulator"
Yahan Zhou [Thu, 22 Feb 2018 19:17:49 +0000 (19:17 +0000)]
Merge "Start UsbService in emulator"

6 years agoMerge "RTT bugfixes, part 5"
Hall Liu [Thu, 22 Feb 2018 19:16:41 +0000 (19:16 +0000)]
Merge "RTT bugfixes, part 5"

6 years agoAllow callers to synchronously block for shutdown
Erik Kline [Wed, 21 Feb 2018 22:47:09 +0000 (14:47 -0800)]
Allow callers to synchronously block for shutdown

Add a simple CountDownLatch and a public method that callers can use
to block until IpClient has cleanly shutdown the state machine.

In cases where IpClients are created and destroyed dynamically for
the same interface name, this can be used to make sure only one
IpClient at a time is touching the given interface.

Test: as follows
    - built
    - flashed
    - booted
    - OTG ethernet works (i.e. client mode)
    - removing and reinserting the ethernet dongle continues
      to show the <-> Ethernet sysui icon and basic network
      connectivity works
    - removing and reinserting the cable (link up/down events)
      also shows the <-> Ethernet sysui icon and basic network
      connectivity works
Bug: 62476366

Change-Id: If4bffd54b7ebc088ec07cac10251e451f8161b6c

6 years agoMerge "NetworkCapabilities needs UID to be satisfied."
Jeff Sharkey [Thu, 22 Feb 2018 19:10:24 +0000 (19:10 +0000)]
Merge "NetworkCapabilities needs UID to be satisfied."

6 years agoMerge "Populate hiddenapi whitelist." am: 2519de11c3
Mathew Inwood [Thu, 22 Feb 2018 19:05:33 +0000 (19:05 +0000)]
Merge "Populate hiddenapi whitelist." am: 2519de11c3
am: 37d670a083

Change-Id: Ic859a5b988ad88430c95590e10439f24f2dfecea

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 19:02:27 +0000 (19:02 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Populate hiddenapi whitelist."
Mathew Inwood [Thu, 22 Feb 2018 18:56:44 +0000 (18:56 +0000)]
Merge "Populate hiddenapi whitelist."
am: 2519de11c3

Change-Id: I0b6139661f07352acdbd62a83cff2bba2b667b9b

6 years agoMediaMuxer: clear file content when writing to existing file
Chong Zhang [Fri, 16 Feb 2018 19:57:09 +0000 (11:57 -0800)]
MediaMuxer: clear file content when writing to existing file

bug: 73546869
Change-Id: I7f38ecef1035f1190effae38634d21a3a18cc09f

6 years agoMerge "Start target package by binding to Service, not starting Activity"
TreeHugger Robot [Thu, 22 Feb 2018 18:49:15 +0000 (18:49 +0000)]
Merge "Start target package by binding to Service, not starting Activity"

6 years agoMerge "DisplayCutout: Cache inflations from resources"
TreeHugger Robot [Thu, 22 Feb 2018 18:34:37 +0000 (18:34 +0000)]
Merge "DisplayCutout: Cache inflations from resources"

6 years agoBetter javadoc for DevicePolicyManager#getTransferOwnershipBundle.
arangelov [Thu, 22 Feb 2018 12:36:23 +0000 (12:36 +0000)]
Better javadoc for DevicePolicyManager#getTransferOwnershipBundle.

Test: None
Bug: 73751387
Change-Id: I627fe9825823191e3853deba9bb08da09fbf7c5e

6 years agoMerge "More consistent controller logging."
Jeff Sharkey [Thu, 22 Feb 2018 18:19:06 +0000 (18:19 +0000)]
Merge "More consistent controller logging."

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 18:13:42 +0000 (18:13 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 18:08:59 +0000 (18:08 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Deprecates methods on WearableExtender.Builder which have not been honored...
Gus Prevas [Thu, 22 Feb 2018 18:06:54 +0000 (18:06 +0000)]
Merge "Deprecates methods on WearableExtender.Builder which have not been honored since Wear 1.0."

6 years agoMove metadata key from Slice to SliceManager
Mady Mellor [Wed, 21 Feb 2018 19:42:31 +0000 (11:42 -0800)]
Move metadata key from Slice to SliceManager

Bug: 73741418
Test: make -j20
Change-Id: Ia22b47d8b6d278944566641b07fcfb0fb7662d07

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 22 Feb 2018 18:01:42 +0000 (18:01 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoFixed a NP when replying to a message
Selim Cinek [Thu, 22 Feb 2018 17:39:41 +0000 (09:39 -0800)]
Fixed a NP when replying to a message

The visbilityChanged listener is only set up later,
so we'll have to add a nullcheck for it.

Change-Id: I1f5843f02fd9c8fc20e26f1de47911e5eb533471
Fixes: 73758799
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/RemoteInputViewTest.java

6 years agoUse accessibility pane API in keyguard
Phil Weaver [Wed, 14 Feb 2018 00:02:35 +0000 (16:02 -0800)]
Use accessibility pane API in keyguard

Using the new accessibility pane title API
to identify the pattern, pin, and password unlock
screens.

Bug: 73131182
Test: Verified that accessibility events are properly
sent when unlocking the phone with each of the lock
methods.
Change-Id: I32594f4736b503e7f9e3be96e9f77a84ffcadc54

6 years agoAdd more hidden APIs seen in use to light greylist
David Brazdil [Thu, 22 Feb 2018 17:32:33 +0000 (17:32 +0000)]
Add more hidden APIs seen in use to light greylist

Found in a bugreport.

Bug: 73539503
Test: make
Change-Id: Ie8f1a1974412b86675ac1c197b20dda1736c94e4

6 years agoMerge "Populate hiddenapi whitelist."
Mathew Inwood [Thu, 22 Feb 2018 17:36:20 +0000 (17:36 +0000)]
Merge "Populate hiddenapi whitelist."

6 years agoMerge "Fixed issue with relaunching activity in the stopped state"
Wale Ogunwale [Thu, 22 Feb 2018 17:20:44 +0000 (17:20 +0000)]
Merge "Fixed issue with relaunching activity in the stopped state"

6 years agoAdd comments according to the API review process.
Cassie [Thu, 22 Feb 2018 16:51:03 +0000 (08:51 -0800)]
Add comments according to the API review process.

 * Explain what developers should use instead in the @deprecated note for Telephony#BEARER
 * Please add more documentation for network type bitmask - reference to just TelephonyManager is not sufficient because it has so much stuff in it.
 * Also remove the @hide tag for private constants in ServiceState.

Bug: 73751228
Test: Basic telephony sanity
Change-Id: Ie7405a961db4494104750bf406f20b1b4fb8191a

6 years agoDisplayCutout: Fix positioning of NO_LIMITS windows
Adrian Roos [Wed, 21 Feb 2018 16:32:44 +0000 (17:32 +0100)]
DisplayCutout: Fix positioning of NO_LIMITS windows

Fixes an issue where popup windows (which are clipped to the display, but not
the parent frame) would extend under the cutout in landscape.

Change-Id: Id4927f6152e207985eb7d20b26faffbe6a6e5bbc
Fixes: 73012958
Test: Enable cutout emulation > go to gmail > landscape > open email > open overflow menu for a single email > verify it does not extend into cutout
Test: atest PhoneWindowManagerLayoutTest

6 years agoMerge "Factor out telephony permission checks into a helper class."
Jeff Davidson [Thu, 22 Feb 2018 16:48:53 +0000 (16:48 +0000)]
Merge "Factor out telephony permission checks into a helper class."

6 years agoMerge "New small volume dialog"
TreeHugger Robot [Thu, 22 Feb 2018 16:41:31 +0000 (16:41 +0000)]
Merge "New small volume dialog"

6 years agoBugreport SAF provider isn't "advanced."
Jeff Sharkey [Thu, 22 Feb 2018 16:41:17 +0000 (09:41 -0700)]
Bugreport SAF provider isn't "advanced."

UX churn over the years has turned FLAG_ADVANCED into "show internal
storage" which means it's super confusing.

When the Bugreport SAF provider is enabled, just show it.

Test: sure
Bug: 32540478
Change-Id: Id11278c27da8f5f1d1346b208d85b5db59a9e174

6 years agoMerge "Remove package name parameter from setRecoveryStatus"
Robert Berry [Thu, 22 Feb 2018 16:40:12 +0000 (16:40 +0000)]
Merge "Remove package name parameter from setRecoveryStatus"

6 years agoMerge "Implement UNLIMITED_SHORTCUTS_API_CALLS permission."
Makoto Onuki [Thu, 22 Feb 2018 16:37:30 +0000 (16:37 +0000)]
Merge "Implement UNLIMITED_SHORTCUTS_API_CALLS permission."

6 years agoMerge changes I8e432950,Id325b8cf am: 919ff2268b am: 9eec0a5c0e
Paul Duffin [Thu, 22 Feb 2018 16:27:28 +0000 (16:27 +0000)]
Merge changes I8e432950,Id325b8cf am: 919ff2268b am: 9eec0a5c0e
am: cb77fb7c9a  -s ours

Change-Id: I2625d4a671a6a50f99ab99ffd72b96b83c601538

6 years agoMerge "Fix task animations"
Jorim Jaggi [Thu, 22 Feb 2018 16:13:44 +0000 (16:13 +0000)]
Merge "Fix task animations"

6 years agoMerge "Add ability to show wallpaper during animation"
Jorim Jaggi [Thu, 22 Feb 2018 16:10:56 +0000 (16:10 +0000)]
Merge "Add ability to show wallpaper during animation"

6 years agoMerge "Make default entity lists flag configurable"
TreeHugger Robot [Thu, 22 Feb 2018 16:08:51 +0000 (16:08 +0000)]
Merge "Make default entity lists flag configurable"

6 years agoMerge "Package whitelist for hiddenapi checks." am: 9a50d75795 am: 3d2a3e25d3
Mathew Inwood [Thu, 22 Feb 2018 16:02:50 +0000 (16:02 +0000)]
Merge "Package whitelist for hiddenapi checks." am: 9a50d75795 am: 3d2a3e25d3
am: 60b6925bdb  -s ours

Change-Id: Icc96c28fd9289268398c71f82ac83038a606550d