OSDN Git Service

android-x86/frameworks-base.git
6 years agoRevert "Revert "Break down jank between frame drops vs. triple buffered""
John Reck [Mon, 19 Mar 2018 21:06:16 +0000 (14:06 -0700)]
Revert "Revert "Break down jank between frame drops vs. triple buffered""

This reverts commit a6d8fbf4ea634f5f605b2b7db3ca98975f8625b5.

Fixes an out-of-bounds read in COMPARISONS by switching up
how comparisons works. Instead of requiring all jank types
to have an associated COMPARISON's entry, which kHighInputLatency
and kMissedDeadline don't, instead have each
COMPARISON indicate which JankType it applies to so it can
be independently sized from JankTypes.

Bug: 70220906
Bug: 75566601
Test: launching & using maps works
Change-Id: I7fd90daeb320b4627e42c3418c89726d860998c1

6 years agoMerge "Atoms: Mobile Connection" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 20:45:55 +0000 (20:45 +0000)]
Merge "Atoms: Mobile Connection" into pi-dev

6 years agoMerge "SurfaceView: Expose hook for subclass to position child surfaces." into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 20:32:35 +0000 (20:32 +0000)]
Merge "SurfaceView: Expose hook for subclass to position child surfaces." into pi-dev

6 years agoMerge "Fix the test failure of LogSection, don't consider read log msg error as a...
TreeHugger Robot [Mon, 19 Mar 2018 20:29:59 +0000 (20:29 +0000)]
Merge "Fix the test failure of LogSection, don't consider read log msg error as a failure since it is used to signal EOF." into pi-dev

6 years agoMerge "Move default pip position to right above the shelf." into pi-dev
Tracy Zhou [Mon, 19 Mar 2018 20:15:14 +0000 (20:15 +0000)]
Merge "Move default pip position to right above the shelf." into pi-dev

6 years agoMerge "Fixed isVisibleToUserForAutofill() again." into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 19:57:14 +0000 (19:57 +0000)]
Merge "Fixed isVisibleToUserForAutofill() again." into pi-dev

6 years agoMerge "Listen to task stack only when AuthenticationClient is running" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 19:45:23 +0000 (19:45 +0000)]
Merge "Listen to task stack only when AuthenticationClient is running" into pi-dev

6 years agoMerge "Revert "Break down jank between frame drops vs. triple buffered"" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 19:44:14 +0000 (19:44 +0000)]
Merge "Revert "Break down jank between frame drops vs. triple buffered"" into pi-dev

6 years agoMerge "Add ImageDecoder.Source for resources" into pi-dev
Leon Scroggins [Mon, 19 Mar 2018 19:28:09 +0000 (19:28 +0000)]
Merge "Add ImageDecoder.Source for resources" into pi-dev

6 years agoMerge "Update system notification text" into pi-dev
Julia Reynolds [Mon, 19 Mar 2018 19:18:47 +0000 (19:18 +0000)]
Merge "Update system notification text" into pi-dev

6 years agoMerge "Remove unneeded sysui notifications" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 19:16:55 +0000 (19:16 +0000)]
Merge "Remove unneeded sysui notifications" into pi-dev

6 years agoMerge "Disabler AppStateTracker debug log" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 19:10:16 +0000 (19:10 +0000)]
Merge "Disabler AppStateTracker debug log" into pi-dev

6 years agoMerge "Revert "Make PrecomputedText Spannable for supporting selection"" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 19:02:34 +0000 (19:02 +0000)]
Merge "Revert "Make PrecomputedText Spannable for supporting selection"" into pi-dev

6 years agoMerge changes Ifc6355e2,Ia8afa338 into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 18:48:32 +0000 (18:48 +0000)]
Merge changes Ifc6355e2,Ia8afa338 into pi-dev

* changes:
  DisplayCutout: Correctly apply light status bar
  Letterboxing: ensure bar contrast

6 years agoMerge "Cosmetic changes on Field Classification TODOs and docs." into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 18:44:24 +0000 (18:44 +0000)]
Merge "Cosmetic changes on Field Classification TODOs and docs." into pi-dev

6 years agoMerge "Add setting for enabling CPU frequency scaling." into pi-dev
Alice Sheng [Mon, 19 Mar 2018 18:41:40 +0000 (18:41 +0000)]
Merge "Add setting for enabling CPU frequency scaling." into pi-dev

6 years agoMerge "Bluetooth: preserve one advertisement slot for GMS core" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 18:28:28 +0000 (18:28 +0000)]
Merge "Bluetooth: preserve one advertisement slot for GMS core" into pi-dev

6 years agoMerge "Fixed AutofillManager.isAutofillUiShowing()" into pi-dev
Felipe Leme [Mon, 19 Mar 2018 18:27:20 +0000 (18:27 +0000)]
Merge "Fixed AutofillManager.isAutofillUiShowing()" into pi-dev

6 years agoFixed AutofillManager.isAutofillUiShowing()
Felipe Leme [Mon, 19 Mar 2018 18:15:00 +0000 (11:15 -0700)]
Fixed AutofillManager.isAutofillUiShowing()

It was using & instead of &&

Test: not really
Bug: 75652829
Bug: 74527545

Change-Id: Ib8ca79ba6ec35d2fc97f042db2152b03d334ce30

6 years agoMerge "Fix Javadoc of DevicePolicyManager#setStorageEncryption to reflect that it...
Alex Kershaw [Mon, 19 Mar 2018 18:17:23 +0000 (18:17 +0000)]
Merge "Fix Javadoc of DevicePolicyManager#setStorageEncryption to reflect that it's a no-op (and silent fail) when called from a non-system user." into pi-dev

6 years agoMerge "Deletes default allowed_log_sources in statsd." into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 18:14:18 +0000 (18:14 +0000)]
Merge "Deletes default allowed_log_sources in statsd." into pi-dev

6 years agoMerge "Display that MAC is randomized in About Phones" into pi-dev
Jong Wook Kim [Mon, 19 Mar 2018 18:14:08 +0000 (18:14 +0000)]
Merge "Display that MAC is randomized in About Phones" into pi-dev

6 years agoMerge "Fix PackageParser tests" into pi-dev
Adrian Roos [Mon, 19 Mar 2018 18:02:22 +0000 (18:02 +0000)]
Merge "Fix PackageParser tests" into pi-dev

6 years agoMerge "Resolve STATSD and batterystats race condition" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 18:00:40 +0000 (18:00 +0000)]
Merge "Resolve STATSD and batterystats race condition" into pi-dev

6 years agoMerge "Don't use IPC in isolateProcess" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 17:56:14 +0000 (17:56 +0000)]
Merge "Don't use IPC in isolateProcess" into pi-dev

6 years agoRevert "Break down jank between frame drops vs. triple buffered"
Aaron Whyte [Mon, 19 Mar 2018 17:46:54 +0000 (17:46 +0000)]
Revert "Break down jank between frame drops vs. triple buffered"

This reverts commit 09979fbee7201b46158c2c033194529e4284ea13.

Reason for revert: Based on stacktraces and change history, I think this is causing a cluster of P crashes.
https://b.corp.google.com/issues?q=(%22android%22%20%22:uirenderer::JankTracker::finishFrame%22)
Bug: 75566601
Bug: 75811585
Bug: 75407175
Bug: 75736222
Bug: 75391447
Bug: 75659839

Change-Id: I59a8c2d8906d347210c77fb3628f5801bc299bfb

6 years agoMove default pip position to right above the shelf.
Tracy Zhou [Fri, 9 Mar 2018 05:58:36 +0000 (21:58 -0800)]
Move default pip position to right above the shelf.

This change takes care of the flow from WindowManagerService to
PinnedStackController, all the way to PipTouchHandler. It also
introduces a WindowManager hook that allows Launcher to pass in
shelf visibility and height. A separate change is made to send
signals from Launcher to SysUI. (ag/3724896)

Bug: 73961893
Change-Id: I2ff54e78bc2dc35c806b902464048b051a4d6394
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests

6 years agoMerge changes I72119772,I124e4cc0,I462d4dfc into pi-dev
Chavi Weingarten [Mon, 19 Mar 2018 17:40:31 +0000 (17:40 +0000)]
Merge changes I72119772,I124e4cc0,I462d4dfc into pi-dev

* changes:
  Clear all options from Task when any ActivityRecord consumes the options.
  Revert "Set options on startingActivity instead of topActivity"
  Revert "Set options for activity being brought to front."

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 17:24:17 +0000 (17:24 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 17:22:52 +0000 (17:22 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Fix KeyButtonDrawable dark intensity logic error" into pi-dev
Mike Digman [Mon, 19 Mar 2018 17:22:39 +0000 (17:22 +0000)]
Merge "Fix KeyButtonDrawable dark intensity logic error" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 17:17:52 +0000 (17:17 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 17:17:12 +0000 (17:17 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Add disable2 flag for rotate suggestions" into pi-dev
Mike Digman [Mon, 19 Mar 2018 17:13:30 +0000 (17:13 +0000)]
Merge "Add disable2 flag for rotate suggestions" into pi-dev

6 years agoMerge "Light greylist additions." into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 17:08:45 +0000 (17:08 +0000)]
Merge "Light greylist additions." into pi-dev

6 years agoRevert "Make PrecomputedText Spannable for supporting selection"
Seigo Nonaka [Mon, 19 Mar 2018 17:04:30 +0000 (17:04 +0000)]
Revert "Make PrecomputedText Spannable for supporting selection"

Crash on Sheets APp
This reverts commit 80ed5a35a90b62b8070d861b9755e230bd679951.

Bug: 75652829
Change-Id: I40ddd1b9754e74fbd90d7a029cce9c6a7ede0777
Test: Manual

6 years agoAdd ImageDecoder.Source for resources
Leon Scroggins III [Fri, 16 Mar 2018 19:04:04 +0000 (15:04 -0400)]
Add ImageDecoder.Source for resources

Bug: 74545298
Test: Ibc283c2e8aee999e951de51f3a43b581a765aaf5

Although resources can already be accessed with ContentResolver + URI,
this allows a simple method to do the same.

Change-Id: I1bf698f36d5540f6de7cb9957e4223123d0f4331

6 years agoMerge "Update mobile data off dialog." into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 16:58:23 +0000 (16:58 +0000)]
Merge "Update mobile data off dialog." into pi-dev

6 years agoFixed isVisibleToUserForAutofill() again.
Felipe Leme [Sat, 17 Mar 2018 01:02:16 +0000 (18:02 -0700)]
Fixed isVisibleToUserForAutofill() again.

This method should return false when the accessibility provider does not have
an accessibility info for a node. Otherwise, the Save UI is not triggered on
compat mode.

Bug: 75017711
Test: manual verification

Change-Id: Ic1759520a43b4333aef9f8f0e1d93f8d378b131c

6 years agoDisplayCutout: Correctly apply light status bar
Adrian Roos [Mon, 19 Mar 2018 16:47:12 +0000 (17:47 +0100)]
DisplayCutout: Correctly apply light status bar

Fixes an issue where light navigation bar was not
properly applied in landscape where the letterbox
does not overlap with the status bar.

This removes a hack that is no longer necessary
now that we track exactly if the letterbox overlaps
the system bars and put them into black-background
mode if so.

Bug: 72696928
Test: Open API Demos > Activity > Max Aspect Ratio > Any; rotate to landscape, verify that status bar is light.
Change-Id: Ifc6355e2eeadf0821c9ac82ce78c812916de5034

6 years agoMerge "Enable cleartext for captive portal apps" into pi-dev
Lorenzo Colitti [Mon, 19 Mar 2018 16:49:47 +0000 (16:49 +0000)]
Merge "Enable cleartext for captive portal apps" into pi-dev

6 years agoAtoms: Mobile Connection
Tej Singh [Thu, 8 Mar 2018 03:28:05 +0000 (19:28 -0800)]
Atoms: Mobile Connection

Atom definitions for MobileConnectionStateChanged and
MobileRadioTechnologyChanged

Also cleans up batterystats.

Bug: b/72320589
Test: verified logs appear in adb logcat -b stats
Change-Id: I9feb258cf6dd4a8c8bf1cffc9566b5d0a851a9fa

6 years agoMerge "Frameworks: Make MockUtils more robust" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 16:47:30 +0000 (16:47 +0000)]
Merge "Frameworks: Make MockUtils more robust" into pi-dev

6 years agoMerge "Removed flaky annotation from testFocusedWindowMultipleDisplays" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 16:46:19 +0000 (16:46 +0000)]
Merge "Removed flaky annotation from testFocusedWindowMultipleDisplays" into pi-dev

6 years agoMerge "Whitelist FullBackupDataOutput" into pi-dev
Sarah Edris [Mon, 19 Mar 2018 16:42:39 +0000 (16:42 +0000)]
Merge "Whitelist FullBackupDataOutput" into pi-dev

6 years agoDisabler AppStateTracker debug log
Makoto Onuki [Mon, 19 Mar 2018 16:39:56 +0000 (09:39 -0700)]
Disabler AppStateTracker debug log

Bug: 75934261
Change-Id: I0c09472073b90366441e6f63f8621c12b99265b2
Fix: 75934261
Test: boot
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/AppStateTrackerTest.java

6 years agoUpdate system notification text
Julia Reynolds [Sun, 18 Mar 2018 19:25:19 +0000 (15:25 -0400)]
Update system notification text

Test: atest SystemUITests
Bug: 75436062
Change-Id: I91dbc9d02d9997133bb9001de493a28b8afbbb2e

6 years agoRemove unneeded sysui notifications
Julia Reynolds [Sun, 18 Mar 2018 18:54:27 +0000 (14:54 -0400)]
Remove unneeded sysui notifications

Test: atest SystemUITests
Bug: 75436062
Change-Id: I45810c494f9f55595d3b0aeda7f23493411f4f71

6 years agoMerge "Softens one of the battery strings per UI request" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 16:27:41 +0000 (16:27 +0000)]
Merge "Softens one of the battery strings per UI request" into pi-dev

6 years agoMerge "StatsManager log lines should be in logcat" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 16:18:53 +0000 (16:18 +0000)]
Merge "StatsManager log lines should be in logcat" into pi-dev

6 years agoDisplay that MAC is randomized in About Phones
Jong Wook Kim [Wed, 14 Mar 2018 18:16:06 +0000 (11:16 -0700)]
Display that MAC is randomized in About Phones

When Connected MAC Randomization is enabled and the device is
disconnected, there isn't a valid MAC address to display since we don't
know what the device's next MAC address is going to be.

In such cases, display "MAC address is randomized" instead of an invalid
MAC address in About Phones page.

Bug: 73663275
Test: make RunSettingsLibRoboTests -j40
Change-Id: I0a4df2b1b0823632b26f90e097c26f47dd5a0a67

6 years agoMerge "Insert correct app transition events for recents anim" into pi-dev
Jorim Jaggi [Mon, 19 Mar 2018 15:36:05 +0000 (15:36 +0000)]
Merge "Insert correct app transition events for recents anim" into pi-dev

6 years agoMerge "Fix SyncResutl.delayUntil javadoc" into pi-dev
Makoto Onuki [Mon, 19 Mar 2018 15:12:36 +0000 (15:12 +0000)]
Merge "Fix SyncResutl.delayUntil javadoc" into pi-dev

6 years agoLetterboxing: ensure bar contrast
Adrian Roos [Thu, 15 Mar 2018 14:41:13 +0000 (15:41 +0100)]
Letterboxing: ensure bar contrast

Ensures that any bars that draw over a letterbox draw their own
background such that they always have contrast.

This fixes an issue, where if a light status / navigation bar app was
letterboxed, the bar would still draw dark icons over the now black
letterbox, making the icons unreadable.

To do so, splits the letterbox into a layout and an apply surface
changes phase.

Change-Id: Ia8afa3386d75d9a72434d701b867c3ebc35cc36f
Fixes: 72696928
Test: Open a letterboxed app with a white navigation bar, verify it is visible
Test: ApiDemos > App > Activity > Max Aspect Ratio > 1:1, verify navbar is visible

6 years agoInsert correct app transition events for recents anim
Jorim Jaggi [Thu, 15 Mar 2018 14:51:32 +0000 (15:51 +0100)]
Insert correct app transition events for recents anim

The transition delay will be the latency until all the leashes
were created etc. Thus, the actual latency is going to be in
WINDOWS_DRAWN_DELAY.

Also fix an issue where we inadvertently started a transition,
and then the transition logger was hanging.

Bug: 72967764
Test: Swipe up from home button, observe eventlog
Change-Id: I2b1fb7d9d694a629a33653c1fa3d5ed47f53de6b

6 years agoUpdate mobile data off dialog.
Amin Shaikh [Fri, 9 Mar 2018 19:50:59 +0000 (14:50 -0500)]
Update mobile data off dialog.

Show the mobile data turn off dialog until the user taps the turn off
button. All subsequent toggles will immediately toggle data on/off. Also
update the message copy.

Fixes: 74072757
Test: runtest systemui && manual
Change-Id: I489d5c3c19d52a6f531b1b925b3210019412243b

6 years agoLight greylist additions.
Mathew Inwood [Mon, 19 Mar 2018 14:31:17 +0000 (14:31 +0000)]
Light greylist additions.

Gathered from dogfood bugreports.

Test: m

Bug: 74940461
Change-Id: I08a450f987ae0e87ab6f7306e9d89a7ca3368f70

6 years agoFix PackageParser tests
Adrian Roos [Mon, 19 Mar 2018 13:51:02 +0000 (14:51 +0100)]
Fix PackageParser tests

Also adds the well-known-fields test to presubmit to prevent
similar breakage in the future.

Change-Id: I717396802b5978b2da9de78a6203303082663d38
Fixes: 75450512
Test: atest PackageParserTest

6 years agoRemoved flaky annotation from testFocusedWindowMultipleDisplays
Wale Ogunwale [Mon, 19 Mar 2018 14:35:32 +0000 (07:35 -0700)]
Removed flaky annotation from testFocusedWindowMultipleDisplays

No longer flaky

https://dashboards.corp.google.com/google::_550f6bcf_09dd_4963_b94c_d243e37d002f?f=class_name:in:com.android.server.wm.DisplayContentTests&f=test_name:in:com.android.server.wm.DisplayContentTests.testFocusedWindowMultipleDisplays&f=run_date_usec:eq:(null)&f=presubmit:in:false&f=build_id:eq:(null)

Change-Id: I10504a24144e7636ab7205a079415f6d4eeba043
Fixes: 37908381
Test: self

6 years agoMerge "ConfirmationDialog: Fail if accessibility services are running." into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 14:27:16 +0000 (14:27 +0000)]
Merge "ConfirmationDialog: Fail if accessibility services are running." into pi-dev

6 years agoWhitelist FullBackupDataOutput
Sarah Edris [Mon, 19 Mar 2018 12:48:28 +0000 (12:48 +0000)]
Whitelist FullBackupDataOutput

Bug: 74424953
Test: N/A
Change-Id: I3b0386fa004352ef32cb03ba2c53a53bd0f6e1f1

6 years agoMerge "Fix test failure" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 14:02:13 +0000 (14:02 +0000)]
Merge "Fix test failure" into pi-dev

6 years agoMerge "Add more hidden APIs on the light greylist" into pi-dev
David Brazdil [Mon, 19 Mar 2018 13:31:55 +0000 (13:31 +0000)]
Merge "Add more hidden APIs on the light greylist" into pi-dev

6 years agoMerge "Fix lockscreen notification launch animation" into pi-dev
Jorim Jaggi [Mon, 19 Mar 2018 13:23:30 +0000 (13:23 +0000)]
Merge "Fix lockscreen notification launch animation" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Mar 2018 13:12:52 +0000 (06:12 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Icb81b9c2336d04310365592f1cccb53dad0c0403

6 years agoMerge "Trace currently resumed app" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 13:06:30 +0000 (13:06 +0000)]
Merge "Trace currently resumed app" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Mar 2018 12:57:48 +0000 (05:57 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I43866a852ad32c8acdcbd994e24f1604d32ee2af

6 years agoMerge "Close file descriptors of ProfilerInfo" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 12:53:21 +0000 (12:53 +0000)]
Merge "Close file descriptors of ProfilerInfo" into pi-dev

6 years agoMerge "Don't allow focus on activity in minimized split-screen." into pi-dev
Wale Ogunwale [Mon, 19 Mar 2018 12:30:08 +0000 (12:30 +0000)]
Merge "Don't allow focus on activity in minimized split-screen." into pi-dev

6 years agoMerge "DPM: Fix isActivePasswordSufficient for non-FBE devices" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 11:20:27 +0000 (11:20 +0000)]
Merge "DPM: Fix isActivePasswordSufficient for non-FBE devices" into pi-dev

6 years agoFix Javadoc of DevicePolicyManager#setStorageEncryption to reflect that
Alex Kershaw [Fri, 16 Mar 2018 14:31:04 +0000 (14:31 +0000)]
Fix Javadoc of DevicePolicyManager#setStorageEncryption to reflect that
it's a no-op (and silent fail) when called from a non-system user.

DevicePolicyManagerService#setStorageEncryption also has its Javadoc
fixed.

Bug: 74591983
Change-Id: Ie191ad255cbfcade921d172641f134d6c49a17b1
Fixes: 74591983
Test: N/A - just javadoc changed

6 years agoAdd more hidden APIs on the light greylist
David Brazdil [Fri, 16 Mar 2018 17:24:51 +0000 (17:24 +0000)]
Add more hidden APIs on the light greylist

Uses reported by the public.

Bug: 64382372
Bug: 74524607
Bug: 74271830
Bug: 74498446
Bug: 74272004
Bug: 74322289
Bug: 74278847
Bug: 74175716
Bug: 74131602
Bug: 74357020
Bug: 74265544
Bug: 74130810
Bug: 74537180
Bug: 74496079
Bug: 74600951
Test: make
Change-Id: I884e76101bdd3d6b08a690810a5b4f5e09306980

6 years agoMerge "MediaSession2: Implement fastForward() / rewind()" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 10:45:03 +0000 (10:45 +0000)]
Merge "MediaSession2: Implement fastForward() / rewind()" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Mar 2018 09:49:10 +0000 (02:49 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ic2f2032f012221333c28ad0793693f2575434e54

6 years agoMediaSession2: Implement fastForward() / rewind()
Jaewan Kim [Thu, 15 Mar 2018 11:31:06 +0000 (20:31 +0900)]
MediaSession2: Implement fastForward() / rewind()

Bug: 74724709
Test: Run CTS with MediaComponents/runcts.sh
Change-Id: Ibd313dc6eed82a5d7cc9fc156f7851aba13f9e29

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Mar 2018 08:34:02 +0000 (01:34 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I689307250cc85c025fca7fd0a0ffbfe30f909fb1

6 years agoMerge "Delete TODO about renumbering statd atoms" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 05:54:22 +0000 (05:54 +0000)]
Merge "Delete TODO about renumbering statd atoms" into pi-dev

6 years agoMerge changes I3ffb6e97,I689df136,Ia67a8eb6 into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 05:49:27 +0000 (05:49 +0000)]
Merge changes I3ffb6e97,I689df136,Ia67a8eb6 into pi-dev

* changes:
  Statsd: remove DurationAnomalyTracker.resetStorage
  Statsd AnomalyDetection stopAlarm also checks old
  Statsd AnomalyDetection improvements

6 years agoMerge "Disable scrim focus on AOD" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 05:03:50 +0000 (05:03 +0000)]
Merge "Disable scrim focus on AOD" into pi-dev

6 years agoMerge "Remove Context requirement from updatable" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 04:02:29 +0000 (04:02 +0000)]
Merge "Remove Context requirement from updatable" into pi-dev

6 years agoMerge changes Ia438f4a2,I356c2d57 into pi-dev
Lucas Dupin [Mon, 19 Mar 2018 03:11:51 +0000 (03:11 +0000)]
Merge changes Ia438f4a2,I356c2d57 into pi-dev

* changes:
  Bouncer notification and QS scrim
  Fix bouncer not showing on top of QS or notif

6 years agoMerge "SystemUI: Temporarily disable test" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 01:18:22 +0000 (01:18 +0000)]
Merge "SystemUI: Temporarily disable test" into pi-dev

6 years agoFrameworks: Make MockUtils more robust
Andreas Gampe [Sun, 18 Mar 2018 23:46:24 +0000 (16:46 -0700)]
Frameworks: Make MockUtils more robust

Avoid a NullPointerException.

Bug: 75459260
Test: mmma frameworks/base/services/tests/servicestests
Change-Id: I2e273b3bd808226507e5e50b537d70edb25950a6

6 years agoMerge "Writes the resource table proto out when writing a LoadedApk." into pi-dev
Cory Smith [Sun, 18 Mar 2018 22:59:27 +0000 (22:59 +0000)]
Merge "Writes the resource table proto out when writing a LoadedApk." into pi-dev

6 years agoSystemUI: Temporarily disable test
Andreas Gampe [Sun, 18 Mar 2018 22:35:39 +0000 (15:35 -0700)]
SystemUI: Temporarily disable test

Bug: 75329085
Test: none
Exempt-From-Owner-Approval: Let TH pass while investigating
Change-Id: I4c007e5162502f0064b65a89408882e4c348e0db

6 years agoWrites the resource table proto out when writing a LoadedApk.
corysmith@google.com [Tue, 13 Mar 2018 16:04:10 +0000 (12:04 -0400)]
Writes the resource table proto out when writing a LoadedApk.

Small fixes for consistancy to use constants instead of strings.

Change-Id: I33439c376e1634b7957730ce16e241b0f5bb92f8
Fixes: 74594854
Test: Manual, tested against blaze test //javatests/com/google/devtools/build/android:UnitTests

6 years agoStatsManager log lines should be in logcat
Bookatz [Sat, 17 Mar 2018 00:13:33 +0000 (17:13 -0700)]
StatsManager log lines should be in logcat

Change the Slog.d to Slog.w and enable them, so that we can see them.
They seem to represent important failure events when people call the
public API into StatsManager.

Bug: 74997752
Test: none
Change-Id: I1c577b32358158f73453a8a3066013e0f3733d87

6 years agoBouncer notification and QS scrim
Lucas Dupin [Tue, 13 Mar 2018 21:00:24 +0000 (14:00 -0700)]
Bouncer notification and QS scrim

Show front scrim when the notification panel is expanded,
otherwise pin would be overlayed on top of notifications.

Change-Id: Ia438f4a2794eb9510ec05ad86cc8c19e2e716358
Fixes: 74550013
Test: double tap on notification when locked
Test: tap on QS edit button when locked
Test: unlock by swipping up
Test: fling quickly on keyguard

6 years agoMerge "Modify time only mode flag into set of values instead of just one." into pi-dev
Michael Kwan [Sat, 17 Mar 2018 22:05:38 +0000 (22:05 +0000)]
Merge "Modify time only mode flag into set of values instead of just one." into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 17 Mar 2018 15:22:58 +0000 (15:22 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Add placeholder on DND settings screen." into pi-dev
Julia Reynolds [Sat, 17 Mar 2018 14:28:41 +0000 (14:28 +0000)]
Merge "Add placeholder on DND settings screen." into pi-dev

6 years agoRemove Context requirement from updatable
Christofer Ã…kersten [Thu, 15 Mar 2018 11:24:39 +0000 (20:24 +0900)]
Remove Context requirement from updatable

Bug: 74843539
Test: runtest-cts-MediaComponents && atest VideoView2Test
Change-Id: Iba5422f8d092205316ec3fa2c10da6d3f983fde6

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 17 Mar 2018 06:33:48 +0000 (23:33 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I4f0cac1ca19646cb5e45c5d84814883a3c11c1d6

6 years agoMerge "Docstring Updates for applyTransportModeTransform" into pi-dev
TreeHugger Robot [Sat, 17 Mar 2018 03:44:46 +0000 (03:44 +0000)]
Merge "Docstring Updates for applyTransportModeTransform" into pi-dev

6 years agoMerge "Don't truncate empty text on low density" into pi-dev
Julia Reynolds [Sat, 17 Mar 2018 01:36:04 +0000 (01:36 +0000)]
Merge "Don't truncate empty text on low density" into pi-dev

6 years agoMerge "Add new semantic Person fields" into pi-dev
Julia Reynolds [Sat, 17 Mar 2018 01:35:20 +0000 (01:35 +0000)]
Merge "Add new semantic Person fields" into pi-dev

6 years agoAdd placeholder on DND settings screen.
Julia Reynolds [Thu, 15 Mar 2018 13:27:31 +0000 (09:27 -0400)]
Add placeholder on DND settings screen.

Test: make
Bug: 74321426
Change-Id: Ie457b3c994a0d851d835a56a01c28a0acbf102e3

6 years agoMerge "Add cycle-clean option in AppLaunch" into pi-dev
Gopinath Elanchezhian [Sat, 17 Mar 2018 00:55:05 +0000 (00:55 +0000)]
Merge "Add cycle-clean option in AppLaunch" into pi-dev

6 years agoDocstring Updates for applyTransportModeTransform
Nathan Harold [Tue, 6 Mar 2018 21:22:22 +0000 (13:22 -0800)]
Docstring Updates for applyTransportModeTransform

-Add anotations to usages of PolicyDirection for
 apply...() methods.
-Update the comments on DIRECTION_IN and DIRECTION_OUT
 to better reflect their current usage.
-Add a better explanation to the rekey procedure doc.
-Remove disused createTunnelInterface() stub.

Bug: 73751066
Test: make docs
Merged-In: I9f2ec864466148a18899f1e952c74a525902ccbc
Change-Id: I9f2ec864466148a18899f1e952c74a525902ccbc
(cherry picked from commit f4cdf25a906d0f52ffd76508d660b843b13b3ff8)

6 years agoDon't use IPC in isolateProcess
John Reck [Sat, 17 Mar 2018 00:27:17 +0000 (17:27 -0700)]
Don't use IPC in isolateProcess

Fixes: 74395652
Test: hwuiunit passes in 'shell stop' state (pseudo-isolated process),
      manually checked non-isolated processes still have working vsync
      via systrace of RT animations demo

Change-Id: I630ea011dc7eb2efa265b25673d3304b3b2510d3