OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Clarify security level default in openSession()"
TreeHugger Robot [Fri, 2 Mar 2018 20:42:52 +0000 (20:42 +0000)]
Merge "Clarify security level default in openSession()"

6 years agoMerge "Take screenshot before hiding the WSA."
Chavi Weingarten [Fri, 2 Mar 2018 20:34:15 +0000 (20:34 +0000)]
Merge "Take screenshot before hiding the WSA."

6 years agoMerge "Preventing accidental misuse of registerReceiver"
TreeHugger Robot [Fri, 2 Mar 2018 20:32:18 +0000 (20:32 +0000)]
Merge "Preventing accidental misuse of registerReceiver"

6 years agoMerge "Copy PermissionChecker from support lib and use in RcognitionService"
TreeHugger Robot [Fri, 2 Mar 2018 20:01:33 +0000 (20:01 +0000)]
Merge "Copy PermissionChecker from support lib and use in RcognitionService"

6 years agoMerge "[Companion] Don't promise call back on javadoc"
TreeHugger Robot [Fri, 2 Mar 2018 20:01:26 +0000 (20:01 +0000)]
Merge "[Companion] Don't promise call back on javadoc"

6 years agoMerge "Camera: another update API for external camera"
TreeHugger Robot [Fri, 2 Mar 2018 19:56:40 +0000 (19:56 +0000)]
Merge "Camera: another update API for external camera"

6 years agoMerge "Reduce statsd binary size from 730KB-> 664KB"
TreeHugger Robot [Fri, 2 Mar 2018 19:41:56 +0000 (19:41 +0000)]
Merge "Reduce statsd binary size from 730KB-> 664KB"

6 years agoMerge "Prevent recent and right navbar icon overlap"
Mike Digman [Fri, 2 Mar 2018 19:21:22 +0000 (19:21 +0000)]
Merge "Prevent recent and right navbar icon overlap"

6 years agoMerge "Power profile improvement: support ambient display"
TreeHugger Robot [Fri, 2 Mar 2018 19:15:34 +0000 (19:15 +0000)]
Merge "Power profile improvement: support ambient display"

6 years agoMerge "Add a HINT_KEYWORDS to Slice"
TreeHugger Robot [Fri, 2 Mar 2018 19:14:26 +0000 (19:14 +0000)]
Merge "Add a HINT_KEYWORDS to Slice"

6 years agoMerge "Add the MetricDimensionKey to the log when anomaly happens."
TreeHugger Robot [Fri, 2 Mar 2018 19:12:18 +0000 (19:12 +0000)]
Merge "Add the MetricDimensionKey to the log when anomaly happens."

6 years agoMerge "Enable ThinLTO for hwui"
TreeHugger Robot [Fri, 2 Mar 2018 19:11:22 +0000 (19:11 +0000)]
Merge "Enable ThinLTO for hwui"

6 years agoMerge "Changing batterystats to use proto values."
TreeHugger Robot [Fri, 2 Mar 2018 19:10:28 +0000 (19:10 +0000)]
Merge "Changing batterystats to use proto values."

6 years agoMerge "Do not show track when scrubing when notification shade is down"
Matthew Ng [Fri, 2 Mar 2018 19:10:14 +0000 (19:10 +0000)]
Merge "Do not show track when scrubing when notification shade is down"

6 years agoMerge "Removing depreciated fn isLockToAppEnabled in ActivityManagerWrapper"
Matthew Ng [Fri, 2 Mar 2018 19:09:34 +0000 (19:09 +0000)]
Merge "Removing depreciated fn isLockToAppEnabled in ActivityManagerWrapper"

6 years agoMerge "Allow debuggable apps to do skp capture"
TreeHugger Robot [Fri, 2 Mar 2018 19:09:31 +0000 (19:09 +0000)]
Merge "Allow debuggable apps to do skp capture"

6 years agoMerge "Clarify javadoc for DevicePolicyManager.KEYGUARD_DISABLE_WIDGETS_ALL"
TreeHugger Robot [Fri, 2 Mar 2018 19:03:25 +0000 (19:03 +0000)]
Merge "Clarify javadoc for DevicePolicyManager.KEYGUARD_DISABLE_WIDGETS_ALL"

6 years agoMerge "Add device config to decide which Auto Selection Network UI to use."
TreeHugger Robot [Fri, 2 Mar 2018 18:37:59 +0000 (18:37 +0000)]
Merge "Add device config to decide which Auto Selection Network UI to use."

6 years agoMerge "[AWARE] Update documentation to reflect Aware+Ranging best effort"
Etan Cohen [Fri, 2 Mar 2018 18:36:10 +0000 (18:36 +0000)]
Merge "[AWARE] Update documentation to reflect Aware+Ranging best effort"

6 years agoMerge "Don't draw behind the display cutout in keyguard"
TreeHugger Robot [Fri, 2 Mar 2018 18:33:40 +0000 (18:33 +0000)]
Merge "Don't draw behind the display cutout in keyguard"

6 years agoMerge "Fix QQS drag handle position."
TreeHugger Robot [Fri, 2 Mar 2018 18:09:14 +0000 (18:09 +0000)]
Merge "Fix QQS drag handle position."

6 years agoMerge "More granular logging when proc file not exist"
TreeHugger Robot [Fri, 2 Mar 2018 18:00:22 +0000 (18:00 +0000)]
Merge "More granular logging when proc file not exist"

6 years agoMerge "Read install session attrs before child elements"
TreeHugger Robot [Fri, 2 Mar 2018 17:54:29 +0000 (17:54 +0000)]
Merge "Read install session attrs before child elements"

6 years agoMerge "Add StateTracker."
TreeHugger Robot [Fri, 2 Mar 2018 17:54:08 +0000 (17:54 +0000)]
Merge "Add StateTracker."

6 years agoMerge "Dump input service in bugreport critical section"
TreeHugger Robot [Fri, 2 Mar 2018 17:38:38 +0000 (17:38 +0000)]
Merge "Dump input service in bugreport critical section"

6 years agoMerge "Fix CTS TextViewTest"
TreeHugger Robot [Fri, 2 Mar 2018 17:38:18 +0000 (17:38 +0000)]
Merge "Fix CTS TextViewTest"

6 years agoMerge "Add ViewConfiguration.shouldShowMenuShortcutsWhenKeyboardPresent"
Vladislav Kaznacheev [Fri, 2 Mar 2018 17:34:04 +0000 (17:34 +0000)]
Merge "Add ViewConfiguration.shouldShowMenuShortcutsWhenKeyboardPresent"

6 years agoMerge "Do not always destroy activity when cleaning up."
Bryce Lee [Fri, 2 Mar 2018 17:18:45 +0000 (17:18 +0000)]
Merge "Do not always destroy activity when cleaning up."

6 years agoMerge "Immediately enter transient enabling state in QS."
TreeHugger Robot [Fri, 2 Mar 2018 17:16:24 +0000 (17:16 +0000)]
Merge "Immediately enter transient enabling state in QS."

6 years agoMerge "[AWARE] Update PeerHandle doc to reflect good practice on usage"
TreeHugger Robot [Fri, 2 Mar 2018 17:08:24 +0000 (17:08 +0000)]
Merge "[AWARE] Update PeerHandle doc to reflect good practice on usage"

6 years agoMerge "Log some data when the QS panel starts expanding"
TreeHugger Robot [Fri, 2 Mar 2018 17:01:24 +0000 (17:01 +0000)]
Merge "Log some data when the QS panel starts expanding"

6 years agoFix QQS drag handle position.
Amin Shaikh [Fri, 2 Mar 2018 16:29:07 +0000 (11:29 -0500)]
Fix QQS drag handle position.

Bug: 73312177
Test: visual
Change-Id: I6f92f96755c56fce6dac18f606ba94377e2d6b53

6 years agoMerge "Dump systemUI and notification service in bugreport critical section"
TreeHugger Robot [Fri, 2 Mar 2018 16:20:39 +0000 (16:20 +0000)]
Merge "Dump systemUI and notification service in bugreport critical section"

6 years agoDon't draw behind the display cutout in keyguard
Evan Laird [Fri, 2 Mar 2018 00:39:39 +0000 (19:39 -0500)]
Don't draw behind the display cutout in keyguard

Add layout mode to KeyguardStatusBarView so that it can behave exactly
as it used to when there is no cutout, but have reasonable behavior when
there is.

Test: visual with/without cutout and with/without multi-user switch
Fixes: 72683977
Fixes: 72388285

Change-Id: I72ae5a581dd9d1884ffaf5332f7490d806d319b5

6 years agoMerge "Fix a crash when grContext was deleted"
TreeHugger Robot [Fri, 2 Mar 2018 16:05:37 +0000 (16:05 +0000)]
Merge "Fix a crash when grContext was deleted"

6 years agoMerge "Move primary-split-screen stack forward in some cases."
TreeHugger Robot [Fri, 2 Mar 2018 16:00:29 +0000 (16:00 +0000)]
Merge "Move primary-split-screen stack forward in some cases."

6 years agoMerge "Revert "Revert "Complete [add|remove]OnSessionTokensChangedListener"""
TreeHugger Robot [Fri, 2 Mar 2018 15:57:40 +0000 (15:57 +0000)]
Merge "Revert "Revert "Complete [add|remove]OnSessionTokensChangedListener"""

6 years agoDump input service in bugreport critical section
Vishnu Nair [Fri, 2 Mar 2018 15:56:44 +0000 (07:56 -0800)]
Dump input service in bugreport critical section

- input service data needs to be in sync with window service data
- section is generated in under 20 ms well within guidelines

Bug: 74098479
Test: Take bug report and verify contents
Test: mmm -j56 frameworks/native/cmds/dumpstate && \
 adb sync data && adb shell /data/nativetest64/dumpstate_smoke_test/dumpstate_smoke_test && \
 printf "\n\n#### ALL TESTS PASSED ####\n"

Change-Id: Ida087fa6b0b2e1509b6d9570ab216bacbb1a1863

6 years agoMerge "Addresses API feedback for Intent Discovery change"
TreeHugger Robot [Fri, 2 Mar 2018 15:52:32 +0000 (15:52 +0000)]
Merge "Addresses API feedback for Intent Discovery change"

6 years agoMerge "Add transport tests"
TreeHugger Robot [Fri, 2 Mar 2018 15:51:26 +0000 (15:51 +0000)]
Merge "Add transport tests"

6 years agoClarify javadoc for DevicePolicyManager.KEYGUARD_DISABLE_WIDGETS_ALL
Rubin Xu [Fri, 2 Mar 2018 15:41:53 +0000 (15:41 +0000)]
Clarify javadoc for DevicePolicyManager.KEYGUARD_DISABLE_WIDGETS_ALL

Change-Id: I773336ef85fc268fc8026a9031632ba018833eb6
Fixes: 36847262
Test: builds

6 years agoImmediately enter transient enabling state in QS.
Amin Shaikh [Thu, 1 Mar 2018 20:46:55 +0000 (15:46 -0500)]
Immediately enter transient enabling state in QS.

Toggling bluetooth/wifi/tethering can feel unresponsive due to the time
it takes for these services to become enabled. This change immediately
updates the QS tile UI to reflect the transient enabling state.

Fixes: 73714270
Test: visually tapping on each tile slowly and rapidly
Change-Id: Iec10054f2af4ed78e2ddc2fdcd10245a627ca50a

6 years agoMerge "Show "Work profile" no matter the work mode QS is on or off"
TreeHugger Robot [Fri, 2 Mar 2018 15:35:16 +0000 (15:35 +0000)]
Merge "Show "Work profile" no matter the work mode QS  is on or off"

6 years agoMerge "Don't crash if transitions controller is null"
TreeHugger Robot [Fri, 2 Mar 2018 15:27:19 +0000 (15:27 +0000)]
Merge "Don't crash if transitions controller is null"

6 years agoMerge "MediaMetadata2: Make Javadoc of each key consistent"
TreeHugger Robot [Fri, 2 Mar 2018 15:24:32 +0000 (15:24 +0000)]
Merge "MediaMetadata2: Make Javadoc of each key consistent"

6 years agoLog some data when the QS panel starts expanding
Evan Laird [Wed, 28 Feb 2018 20:31:29 +0000 (15:31 -0500)]
Log some data when the QS panel starts expanding

The main goal is to learn at what x-position users tend to swipe down to
pull the notification/qs shade. To do that, this CL logs the following
data:

- x-location (as 0-100 percent)
- y-location (same)
- device rotation

in PanelView#startOpening(). This should only be logged rarely enough
(once per qs pull) not to spam logs or have any performance impact.

It also currently doesn't collect any data when expanding qs from the
keyguard, but I'm assuming that that particular case is much less
common. Logging could be added later though.

Fixes: 74012876
Test: adb logcat -b events | grep sysui_multi_action; pull notification
shade when device is unlocked and see lines like this:

02-28 12:41:42.060 31783 31783 I sysui_multi_action: [757,1324,758,4,826,413,827,12769,1322,91,1323,0,1325,0]

Change-Id: I9154a808552656d3fe02b1a8f732a4fbba3b09e6

6 years agoMerge "Keep ringer changes in priority only dnd"
Beverly Tai [Fri, 2 Mar 2018 15:21:02 +0000 (15:21 +0000)]
Merge "Keep ringer changes in priority only dnd"

6 years agoMerge "Revert "Revert "Follow prebuilt/API update"""
Alan Viverette [Fri, 2 Mar 2018 15:08:14 +0000 (15:08 +0000)]
Merge "Revert "Revert "Follow prebuilt/API update"""

6 years agoFix a crash when grContext was deleted
Stan Iliev [Thu, 1 Mar 2018 20:51:17 +0000 (15:51 -0500)]
Fix a crash when grContext was deleted

Fix a crash when trimMemory has occurred and then a java
VectorDrawable object is deleted.

Test: Ran Camera app
Bug: 72837472
Change-Id: I4bdc5975a9ceccc09af17edd9905345f97c2660f

6 years agoAdd transport tests
Bernardo Rufino [Fri, 2 Mar 2018 09:32:28 +0000 (09:32 +0000)]
Add transport tests

Some tests that were lacking.

Test: m -j RunFrameworksServicesRoboTests
Change-Id: Ia6800e950e96d7481d5c74f62147ad3b9b1493ba

6 years agoMerge "Add more fields in the light greylist."
Nicolas Geoffray [Fri, 2 Mar 2018 13:49:42 +0000 (13:49 +0000)]
Merge "Add more fields in the light greylist."

6 years agoMerge "Merge "Give apps with NETWORK_SETTINGS right to see any VPN." am: 6001f72478...
Android Build Merger (Role) [Fri, 2 Mar 2018 13:25:40 +0000 (13:25 +0000)]
Merge "Merge "Give apps with NETWORK_SETTINGS right to see any VPN." am: 6001f72478 am: e5e819f078 am: 1be320a494"

6 years agoMerge "Give apps with NETWORK_SETTINGS right to see any VPN." am: 6001f72478 am:...
Chalard Jean [Fri, 2 Mar 2018 13:25:02 +0000 (13:25 +0000)]
Merge "Give apps with NETWORK_SETTINGS right to see any VPN." am: 6001f72478 am: e5e819f078
am: 1be320a494

Change-Id: I9a9d0eb212f6de105abc070a1eb5ff698b4e67bc

6 years agoMarked some WM tests as flaky
Wale Ogunwale [Fri, 2 Mar 2018 13:21:36 +0000 (05:21 -0800)]
Marked some WM tests as flaky

Bug: 74078662
Test: bit me!
Change-Id: I8dde8239107baeb85b97109a0f130b01a5fe9a0a

6 years agoMerge "Give apps with NETWORK_SETTINGS right to see any VPN." am: 6001f72478
Chalard Jean [Fri, 2 Mar 2018 13:17:23 +0000 (13:17 +0000)]
Merge "Give apps with NETWORK_SETTINGS right to see any VPN." am: 6001f72478
am: e5e819f078

Change-Id: I7f08217c5abc86a8784b91145f1b02d6693b3919

6 years agoMerge "Give apps with NETWORK_SETTINGS right to see any VPN."
Chalard Jean [Fri, 2 Mar 2018 13:10:45 +0000 (13:10 +0000)]
Merge "Give apps with NETWORK_SETTINGS right to see any VPN."
am: 6001f72478

Change-Id: Iab9c8df6071e6dec35b5f492eb8344ba370e0036

6 years agoMove primary-split-screen stack forward in some cases.
Wale Ogunwale [Thu, 1 Mar 2018 21:05:30 +0000 (13:05 -0800)]
Move primary-split-screen stack forward in some cases.

If we are moving a stack in split-screen seconardy mode forward, we
need to make sure we move the primary split-screen stack forward in
the case it is current behind a fulscreen stack so both halves of the
split-screen appear on-top and the fullscreen stack isn't cutting
between them.
Mostly a workaround until fix can fix b/70677280 where we would have
a stack as a parent of another stack.

Change-Id: I7d030b80c12771e0370a1fea8e1abf96560a9029
Fixes: 71899050
Bug: 70677280
Test: atest ActivityStackTests#testSplitScreenMoveToFront

6 years agoMerge "Give VPNs the INTERNET capability when they route most of the IP space" am...
Chalard Jean [Fri, 2 Mar 2018 12:54:29 +0000 (12:54 +0000)]
Merge "Give VPNs the INTERNET capability when they route most of the IP space" am: 20013384dc am: 18e51821b1
am: 207b8e2b4e

Change-Id: Ifd77149ca2c45249b8776c878c6fac46ae81c2a4

6 years agoMerge "Give VPNs the INTERNET capability when they route most of the IP space" am...
Chalard Jean [Fri, 2 Mar 2018 12:46:46 +0000 (12:46 +0000)]
Merge "Give VPNs the INTERNET capability when they route most of the IP space" am: 20013384dc
am: 18e51821b1

Change-Id: I33c6fcc72753e00af601cf915aa78416174a3871

6 years agoMerge "Give VPNs the INTERNET capability when they route most of the IP space"
Chalard Jean [Fri, 2 Mar 2018 12:34:25 +0000 (12:34 +0000)]
Merge "Give VPNs the INTERNET capability when they route most of the IP space"
am: 20013384dc

Change-Id: Icd1466c79d2593fcab5bd2e31a1acb3a36a705da

6 years agoMerge "Give apps with NETWORK_SETTINGS right to see any VPN."
Chalard Jean [Fri, 2 Mar 2018 11:52:15 +0000 (11:52 +0000)]
Merge "Give apps with NETWORK_SETTINGS right to see any VPN."

6 years agoMerge "Give VPNs the INTERNET capability when they route most of the IP space"
Chalard Jean [Fri, 2 Mar 2018 11:18:10 +0000 (11:18 +0000)]
Merge "Give VPNs the INTERNET capability when they route most of the IP space"

6 years agoMerge "Add HIDDEN_API_BLACKLIST_EXEMPTIONS to @TestApi."
TreeHugger Robot [Fri, 2 Mar 2018 09:57:14 +0000 (09:57 +0000)]
Merge "Add HIDDEN_API_BLACKLIST_EXEMPTIONS to @TestApi."

6 years agoAdd HIDDEN_API_BLACKLIST_EXEMPTIONS to @TestApi.
Mathew Inwood [Tue, 27 Feb 2018 16:36:11 +0000 (16:36 +0000)]
Add HIDDEN_API_BLACKLIST_EXEMPTIONS to @TestApi.

It's used by a CGTS test.

Bug: 64382372
Test: It builds
Change-Id: I4bde625a89896140b2e8bf585d16074d290c0fc9

6 years agoMediaMetadata2: Make Javadoc of each key consistent
Hyundo Moon [Fri, 2 Mar 2018 08:38:22 +0000 (17:38 +0900)]
MediaMetadata2: Make Javadoc of each key consistent

This CL makes the Javadoc of METADATA_KEY_* to be consistent.

Bug: 73877547
Test: Builds successfully
Change-Id: Icb68d62230bb4e523da2015db76d5aeaa098c69a

6 years agoMerge "Check the public-key signature of the whole certificate file before accepting...
Bo Zhu [Fri, 2 Mar 2018 08:52:36 +0000 (08:52 +0000)]
Merge "Check the public-key signature of the whole certificate file before accepting the certificates"

6 years agoMerge "Move MediaItem2 Builder to updatable"
Hyundo Moon [Fri, 2 Mar 2018 08:22:20 +0000 (08:22 +0000)]
Merge "Move MediaItem2 Builder to updatable"

6 years agoGive apps with NETWORK_SETTINGS right to see any VPN.
Chalard Jean [Wed, 21 Feb 2018 09:43:54 +0000 (18:43 +0900)]
Give apps with NETWORK_SETTINGS right to see any VPN.

...not only the ones that apply to them.

Bug: 73217368
Test: runtest frameworks-net and CTS
Change-Id: I436972a3e51e98bdd815771b451bcedadf684763

6 years agoGive VPNs the INTERNET capability when they route most of the IP space
Chalard Jean [Mon, 26 Feb 2018 02:52:46 +0000 (11:52 +0900)]
Give VPNs the INTERNET capability when they route most of the IP space

Test: manual, plus wrote some new tests for this
Bug: 72765718
Change-Id: I9759da72b752fd8eeb1d0647db9ab341f04c0528

6 years agoMerge "MediaMetadata2: Supplement Javadoc of each key"
TreeHugger Robot [Fri, 2 Mar 2018 06:20:24 +0000 (06:20 +0000)]
Merge "MediaMetadata2: Supplement Javadoc of each key"

6 years agoMerge "Remove cell info from legacy apps without location on" am: 6b0e7370e2 am:...
Hall Liu [Fri, 2 Mar 2018 02:43:46 +0000 (02:43 +0000)]
Merge "Remove cell info from legacy apps without location on" am: 6b0e7370e2 am: 1c1b58432b
am: 85f47b72b8

Change-Id: I4bb4fcb6549772ced86030d0ed8cdc3d0ef0eacc

6 years agoPower profile improvement: support ambient display
Mike Ma [Wed, 28 Feb 2018 00:41:54 +0000 (16:41 -0800)]
Power profile improvement: support ambient display

Add ambient display power to power usage calculation.
Corresponding field in power_profile is "ambient.on"

Bug: 70531652
Test: PowerProfileTest
Test: BatteryStatsHelperTest
Change-Id: I4dfad12875af42de9d517c917b6c1e99323c9fbf

6 years agoMerge "Remove cell info from legacy apps without location on" am: 6b0e7370e2
Hall Liu [Fri, 2 Mar 2018 02:29:06 +0000 (02:29 +0000)]
Merge "Remove cell info from legacy apps without location on" am: 6b0e7370e2
am: 1c1b58432b

Change-Id: I0b6e2889788123f7b73de697098f44e324587477

6 years agoRevert "Revert "Complete [add|remove]OnSessionTokensChangedListener""
Sungsoo Lim [Fri, 2 Mar 2018 01:17:08 +0000 (10:17 +0900)]
Revert "Revert "Complete [add|remove]OnSessionTokensChangedListener""

This reverts commit 65a186755a27cb34681599c5a5772235c42b680e.

Bug: 73226650
Test: runtest-MediaComponents
Change-Id: Id0efcc6517735024c650548e4042630b26611ac9

6 years agoMerge "Remove cell info from legacy apps without location on"
Hall Liu [Fri, 2 Mar 2018 02:18:16 +0000 (02:18 +0000)]
Merge "Remove cell info from legacy apps without location on"
am: 6b0e7370e2

Change-Id: I6f0b5391b7a49232fc8bebd38047af0d77e333e1

6 years agoChanging batterystats to use proto values.
Kweku Adams [Thu, 22 Feb 2018 01:49:26 +0000 (17:49 -0800)]
Changing batterystats to use proto values.

This should help make sure the two stay in sync, and that the values
don't get rearranged.

Bug: 67013665
Test: N/A
Change-Id: I43f617b69d8c8107755c13dbfa8f071ef2c7c554

6 years agoPreventing accidental misuse of registerReceiver
Suprabh Shukla [Thu, 1 Mar 2018 04:55:40 +0000 (20:55 -0800)]
Preventing accidental misuse of registerReceiver

A new BroadcastFilter was being created even when the caller called
registerReceiver with the same receiver and intent filters as an earlier
call. While resolving, only the first object added was being used.
Also, limiting the number of receivers that an app can register, so
badly written code does not end up causing memory or computational
pressure on the system.

Test: Manual, and
atest android.content.BroadcastReceiverTests#testReceiverLimit

Bug: 70677313
Change-Id: I04342b94d00cab3451aca4c884e15039448a760a

6 years agoMerge "Fixed incorrect annotation Flaky to FlakyTest"
Chavi Weingarten [Fri, 2 Mar 2018 01:39:23 +0000 (01:39 +0000)]
Merge "Fixed incorrect annotation Flaky to FlakyTest"

6 years agoFixed incorrect annotation Flaky to FlakyTest
chaviw [Fri, 2 Mar 2018 01:29:21 +0000 (17:29 -0800)]
Fixed incorrect annotation Flaky to FlakyTest

Also marked WindowConfigurationTests as flaky

Bug: 74078662
Change-Id: I9902fc566f348b63cb5b2fdf04954ea9b031440d
Test: Self

6 years agoAllow debuggable apps to do skp capture
John Reck [Fri, 2 Mar 2018 01:28:35 +0000 (17:28 -0800)]
Allow debuggable apps to do skp capture

Change-Id: Ibb56887b28eb8260bf2ca0b38dbe78233e9cfaf4
Fixes: 74086676
Test: verified can still capture an skp

6 years agoMerge "Create a pushed atom that gets logged when the ActivityManagerService detects...
Rajeev Kumar [Fri, 2 Mar 2018 01:09:02 +0000 (01:09 +0000)]
Merge "Create a pushed atom that gets logged when the ActivityManagerService detects that an app died."

6 years agoAdd a HINT_KEYWORDS to Slice
Mady Mellor [Fri, 2 Mar 2018 00:46:56 +0000 (16:46 -0800)]
Add a HINT_KEYWORDS to Slice

Want to be able to support allowing a Slice to specify some keywords
associated with it; need a new hint to identify these.

Bug: 74086214
Test: make
Change-Id: I79d3f1806eecf416f5e3ae09451b90507b382c24

6 years agoMerge "Remove cell info from legacy apps without location on"
Hall Liu [Fri, 2 Mar 2018 00:49:33 +0000 (00:49 +0000)]
Merge "Remove cell info from legacy apps without location on"

6 years agoRead install session attrs before child elements
Philip P. Moltmann [Thu, 1 Mar 2018 17:14:44 +0000 (09:14 -0800)]
Read install session attrs before child elements

As otherwise the ATTR_INSTALL_REASON attribute would be read from the
TAG_GRANTED_RUNTIME_PERMISSION element.

Test: Restarted right after SUW was done and saw apps getting restored
      after reboot.
Change-Id: I53f37d8fee54b3cc2a000971d7244fa47f3509f2
Fixes: 70826795

6 years agoMerge "Mark wm tests as flaky"
Wale Ogunwale [Fri, 2 Mar 2018 00:17:40 +0000 (00:17 +0000)]
Merge "Mark wm tests as flaky"

6 years agoMerge "Attempts to optimistically bind to AIA resolver"
TreeHugger Robot [Fri, 2 Mar 2018 00:03:38 +0000 (00:03 +0000)]
Merge "Attempts to optimistically bind to AIA resolver"

6 years agoMerge "Pass forward listeners when using existing builder"
TreeHugger Robot [Thu, 1 Mar 2018 23:51:26 +0000 (23:51 +0000)]
Merge "Pass forward listeners when using existing builder"

6 years agoMark wm tests as flaky
chaviw [Thu, 1 Mar 2018 23:47:56 +0000 (15:47 -0800)]
Mark wm tests as flaky

Bug: 74078662
Test: self
Change-Id: I286cde4d5f00591a049c3d972436e81ed815c36c

6 years agoShow "Work profile" no matter the work mode QS is on or off
Tony Mak [Thu, 22 Feb 2018 18:22:32 +0000 (18:22 +0000)]
Show "Work profile" no matter the work mode QS  is on or off

BUG: 72848208

Test: Toggle work mode and observe the string

Change-Id: I768af89f286af41d7bf2bac3aa3a9730340c5b8e

6 years agoMore granular logging when proc file not exist
Mike Ma [Thu, 1 Mar 2018 22:50:02 +0000 (14:50 -0800)]
More granular logging when proc file not exist

KernelCpuProcReader records a horrifying exception when the proc file
does not exist, creating confusion that this is the source of error.
Bug: 74074575
Test: KernelCpuProcReaderTest

Change-Id: Ib35e114cd78e1e9f424adf66da5eb85da9f6fe5f

6 years ago[Companion] Don't promise call back on javadoc
Eugene Susla [Thu, 1 Mar 2018 22:45:23 +0000 (14:45 -0800)]
[Companion] Don't promise call back on javadoc

We only stop scanning on timeout but don't limit the time the
user has to select a device.
So timeout != failure. Cleaning that up from javadoc to avoid confusion

Fixes: 74080737
Test: proofread
Change-Id: I36b2d96f85c3c15c20742b954a0b34956f23d6f8

6 years agoFix CTS TextViewTest
Seigo Nonaka [Thu, 1 Mar 2018 22:29:34 +0000 (14:29 -0800)]
Fix CTS TextViewTest

Id65a7e36487375f0e3a2c2da44ad8d7c5ea49734 changes the typeface
associated with the TextView. It used be null if no attribute was set,
but after above change, it is now Typeface.DEFAULT.

The typeface is null means Typeface.DEFAULT but there is an expectations
in CTS that getTypeface must return null if no attribute was set.

To keep this behavior, call setTypeface with null if no font weight value
was set.

Bug: 74080879
Test: atest CtsWidgetTestCases:EditTextTest
    CtsWidgetTestCases:TextViewFadingEdgeTest
    FrameworksCoreTests:TextViewFallbackLineSpacingTest
    FrameworksCoreTests:TextViewTest FrameworksCoreTests:TypefaceTest
    CtsGraphicsTestCases:TypefaceTest CtsWidgetTestCases:TextViewTest
    CtsTextTestCases FrameworksCoreTests:android.text

Change-Id: Ic91827bbeed8a3a4b148dd8d305c78e384407ab0

6 years agoMerge "Added indication update mode support" am: 03664c94ae am: 3ab2a5bced
Jack Yu [Thu, 1 Mar 2018 21:44:15 +0000 (21:44 +0000)]
Merge "Added indication update mode support" am: 03664c94ae am: 3ab2a5bced
am: 1b7ce444f2  -s ours

Change-Id: I0b5382db36999e65f56b738acb92c4e24dd7e076

6 years agoMerge "Bluetooth: Remove adjustAvrcpAbsoluteVolume" am: 2cd2a6aef0 am: ad2f9017ad
Ajay Panicker [Thu, 1 Mar 2018 21:35:34 +0000 (21:35 +0000)]
Merge "Bluetooth: Remove adjustAvrcpAbsoluteVolume" am: 2cd2a6aef0 am: ad2f9017ad
am: d8185da227

Change-Id: Id99f889cb15789f36bc2c9c57ebdc58f730eb800

6 years agoMerge "Added indication update mode support" am: 03664c94ae
Jack Yu [Thu, 1 Mar 2018 21:34:24 +0000 (21:34 +0000)]
Merge "Added indication update mode support" am: 03664c94ae
am: 3ab2a5bced

Change-Id: I82fc7c5e7b439dd202c48dddbb1e788612aa613c

6 years agoCreate a pushed atom that gets logged when the ActivityManagerService detects that...
Rajeev Kumar [Thu, 1 Mar 2018 20:18:26 +0000 (12:18 -0800)]
Create a pushed atom that gets logged when the ActivityManagerService detects that an app died.

Test: Manual
Bug: 73660232
Change-Id: I8e1fda35deb1e6876da0b6638fefea9f1b92b641

6 years agoMerge "Bluetooth: Remove adjustAvrcpAbsoluteVolume" am: 2cd2a6aef0
Ajay Panicker [Thu, 1 Mar 2018 21:27:16 +0000 (21:27 +0000)]
Merge "Bluetooth: Remove adjustAvrcpAbsoluteVolume" am: 2cd2a6aef0
am: ad2f9017ad

Change-Id: I2526a89c6f366a77dbbeb0b3310438cbef2af857

6 years agoMerge "Added indication update mode support"
Jack Yu [Thu, 1 Mar 2018 21:26:34 +0000 (21:26 +0000)]
Merge "Added indication update mode support"
am: 03664c94ae

Change-Id: I17685418cc44e78e3bdbd69d68591efe7d2922e5

6 years agoMerge "Recommend res/animator/ for animator style res in AVD"
Doris Liu [Thu, 1 Mar 2018 21:21:02 +0000 (21:21 +0000)]
Merge "Recommend res/animator/ for animator style res in AVD"

6 years agoMerge "Bluetooth: Remove adjustAvrcpAbsoluteVolume"
Ajay Panicker [Thu, 1 Mar 2018 21:15:29 +0000 (21:15 +0000)]
Merge "Bluetooth: Remove adjustAvrcpAbsoluteVolume"
am: 2cd2a6aef0

Change-Id: I133d1167c01d6f8433bdc63fba21f113e8098d8e