OSDN Git Service
Jeff Sharkey [Tue, 28 Nov 2017 02:36:17 +0000 (02:36 +0000)]
Merge "Deeper sanity checking of emitted types."
TreeHugger Robot [Tue, 28 Nov 2017 02:03:52 +0000 (02:03 +0000)]
Merge "Fix race between AnimationListener and DragState"
TreeHugger Robot [Tue, 28 Nov 2017 01:59:57 +0000 (01:59 +0000)]
Merge "statsd informs incidentd of anomalies"
Jordan Liu [Tue, 28 Nov 2017 01:50:56 +0000 (01:50 +0000)]
Merge "Add carrier config variable to hide manage IMS conference call button"
TreeHugger Robot [Tue, 28 Nov 2017 01:19:48 +0000 (01:19 +0000)]
Merge "Fix removal of IME target."
TreeHugger Robot [Tue, 28 Nov 2017 01:17:44 +0000 (01:17 +0000)]
Merge "Statsd anomaly detection - fixes"
Dianne Hackborn [Tue, 28 Nov 2017 01:02:23 +0000 (01:02 +0000)]
Merge "Add documentation for O and O_MR1 target SDK changes." into oc-mr1-dev am:
b94e697dcf
am:
532c2f8a36
Change-Id: I27d9a43ec394fd9634d380b385b7317d1d92d89c
TreeHugger Robot [Tue, 28 Nov 2017 00:55:46 +0000 (00:55 +0000)]
Merge "Applies last scroll position in recents after rotation"
TreeHugger Robot [Tue, 28 Nov 2017 00:54:26 +0000 (00:54 +0000)]
Merge "Check for /dev/memcg/system/tasks before writing to it"
Dianne Hackborn [Tue, 28 Nov 2017 00:50:13 +0000 (00:50 +0000)]
Merge "Add documentation for O and O_MR1 target SDK changes." into oc-mr1-dev
am:
b94e697dcf
Change-Id: I40ef78ee243cbb2f5967115e40740a3f36b253ef
TreeHugger Robot [Tue, 28 Nov 2017 00:42:46 +0000 (00:42 +0000)]
Merge "Fix issue #
68002319: Allow current VoiceInteractionService to avoid..."
TreeHugger Robot [Tue, 28 Nov 2017 00:28:07 +0000 (00:28 +0000)]
Merge "Add documentation for O and O_MR1 target SDK changes." into oc-mr1-dev
TreeHugger Robot [Tue, 28 Nov 2017 00:21:07 +0000 (00:21 +0000)]
Merge "Reject the config if condition config has errors. And add log tag."
TreeHugger Robot [Tue, 28 Nov 2017 00:14:29 +0000 (00:14 +0000)]
Merge "Don't show the battery saver toast when the screen turns on"
TreeHugger Robot [Tue, 28 Nov 2017 00:12:54 +0000 (00:12 +0000)]
Merge "Fix nine patch scaling"
Jeff Sharkey [Mon, 27 Nov 2017 22:02:10 +0000 (15:02 -0700)]
Deeper sanity checking of emitted types.
When emitting a method or field, verify that we're able to reference
all mentioned types. This ensures that we don't accidentally
reference undefined classes/interfaces.
Test: manual inspection of API files
Bug:
69791141
Change-Id: I84e0c87fe83daa118661f61dbdf17b58ea5282d4
Bookatz [Wed, 22 Nov 2017 23:21:03 +0000 (15:21 -0800)]
statsd informs incidentd of anomalies
When an anomaly is detected by statsd, it passes to incidentd the
information specified in the config.
Test: manual (using the fake config) saw in logcat that incidentd was
called (reportIncident)
Change-Id: I0a257b49db706d7b14a2976fb7e62c3c3535725f
Bookatz [Tue, 21 Nov 2017 22:36:23 +0000 (14:36 -0800)]
Statsd anomaly detection - fixes
Fixes a few items in AnomalyTracker, especially to do with what happens
when an anomaly alarm fires.
Test: unit tests still pass
Change-Id: Ia89bd617442e952e587336b890c3ca67430b5e21
TreeHugger Robot [Mon, 27 Nov 2017 23:14:07 +0000 (23:14 +0000)]
Merge "Migrate some preference theme attributes from SettingsLib"
TreeHugger Robot [Mon, 27 Nov 2017 23:06:55 +0000 (23:06 +0000)]
Merge "Fix a bug in StorageManager."
Pierre Lecesne [Mon, 27 Nov 2017 23:04:33 +0000 (23:04 +0000)]
Merge "AAPT2 - Make raw files of type unknown."
Matthew Ng [Mon, 20 Nov 2017 23:30:47 +0000 (15:30 -0800)]
Applies last scroll position in recents after rotation
Record the scroll position whenever recents scrolls. When screen is
rotated, reapply the same position to match it from last orientation.
Test: manual - rotate screen
Change-Id: I129bb91a01161c512736a17738a52e5b6bd0e35e
Fixes:
64291223
Jason Monk [Mon, 27 Nov 2017 22:47:47 +0000 (22:47 +0000)]
Merge "More dimming tweaks (for accessibility)" into oc-mr1-dev am:
dbb448a3d7
am:
6f69e55970
Change-Id: Ia93bb8ee554f23c9c4bd29e5178275314bdac327
Nikolas Bravo [Mon, 27 Nov 2017 22:38:11 +0000 (22:38 +0000)]
Fixes javadoc documentation of PackageInstaller.SessionParams#setOriginatingUid(int) am:
8aaf928fcd
am:
cde72f1be7
Change-Id: I87bae6c7c5f1cb426c337520c9140bc5738c5228
Jason Monk [Mon, 27 Nov 2017 22:35:55 +0000 (22:35 +0000)]
Merge "More dimming tweaks (for accessibility)" into oc-mr1-dev
am:
dbb448a3d7
Change-Id: I94fe9f6055a48cdc596fe333a3f6d304cb7e33da
Stan Iliev [Mon, 27 Nov 2017 20:59:05 +0000 (15:59 -0500)]
Fix nine patch scaling
Fix nine patch scaling for assets that don't match the DPI.
Sometimes nine patches were scaled up with divs bigger than
width/height. This is fixing incorrect SearchView control draw
for 213dpi material theme in ThemeHostTest.
Test: Ran CtsGraphicsTestCases, CtsUiRenderingTestCases tests
Change-Id: Ifb8037e8ece97b802e723f911d9b74ccd8fe5400
Nikolas Bravo [Mon, 27 Nov 2017 22:29:21 +0000 (22:29 +0000)]
Fixes javadoc documentation of PackageInstaller.SessionParams#setOriginatingUid(int)
am:
8aaf928fcd
Change-Id: I4a2efd6052b1bcc5344fd23722745b3532fb01c9
TreeHugger Robot [Mon, 27 Nov 2017 22:26:26 +0000 (22:26 +0000)]
Merge "libandroidfw: Support loading ApkAssets from a file descriptor"
TreeHugger Robot [Mon, 27 Nov 2017 22:21:09 +0000 (22:21 +0000)]
Merge "More dimming tweaks (for accessibility)" into oc-mr1-dev
Yao Chen [Mon, 27 Nov 2017 19:31:55 +0000 (11:31 -0800)]
Reject the config if condition config has errors. And add log tag.
Test: added unit test.
Change-Id: I7108350978f7c1d0e8e87f22082e19fc76a75631
Fyodor Kupolov [Mon, 27 Nov 2017 22:14:38 +0000 (22:14 +0000)]
Merge "Use the root case to set remote stack trace for"
TreeHugger Robot [Mon, 27 Nov 2017 22:13:20 +0000 (22:13 +0000)]
Merge "Fix a bug in test that cause the flakyness in SimpleConditionTracker_test."
Dianne Hackborn [Tue, 21 Nov 2017 23:04:57 +0000 (15:04 -0800)]
Add documentation for O and O_MR1 target SDK changes.
Whoops, forgot to do this!
Bug:
69805350
Test: built and looked
Change-Id: Ic42cbcb7a62e7474c4864d66944452fed2e9005c
Makoto Onuki [Mon, 27 Nov 2017 22:05:53 +0000 (14:05 -0800)]
Don't show the battery saver toast when the screen turns on
Bug
68769804
Test: manual test
Change-Id: I4eca183f5e61d31d162d3d0914fe2dc94bb8a11e
Yao Chen [Mon, 27 Nov 2017 22:02:29 +0000 (22:02 +0000)]
Merge "Revert "Reject the config if condition config has errors. And add log tag.""
Yao Chen [Mon, 27 Nov 2017 21:52:34 +0000 (21:52 +0000)]
Revert "Reject the config if condition config has errors. And add log tag."
This reverts commit
c9fa2f6d4ea5c3f6730bee67646c0423f5693640.
Change-Id: I91de13f8a102c58bbd3dfc37b09c977e78119854
Jeff Sharkey [Mon, 27 Nov 2017 21:48:46 +0000 (21:48 +0000)]
Merge "Clarify docs, sanity check roaming state." am:
419ec05284 am:
63b5615b2a
am:
f8590d1f79
Change-Id: I59fbe09afc74e94e2f56cb6fd833fc2deb7023e5
Jeff Sharkey [Mon, 27 Nov 2017 21:39:56 +0000 (21:39 +0000)]
Merge "Clarify docs, sanity check roaming state." am:
419ec05284
am:
63b5615b2a
Change-Id: If4f09f8a0e32c245552f025f1a61d67f842b1841
Jeff Sharkey [Mon, 27 Nov 2017 21:30:57 +0000 (21:30 +0000)]
Merge "Clarify docs, sanity check roaming state."
am:
419ec05284
Change-Id: Ic30d5aaadf2c59978162c53d7e7781847244ce52
TreeHugger Robot [Mon, 27 Nov 2017 21:29:12 +0000 (21:29 +0000)]
Merge "Reject the config if condition config has errors. And add log tag."
Neil Fuller [Mon, 27 Nov 2017 21:26:22 +0000 (21:26 +0000)]
Merge "Explicitly exclude com.android.server from docs"
Jeff Sharkey [Mon, 27 Nov 2017 21:19:40 +0000 (21:19 +0000)]
Merge "Clarify docs, sanity check roaming state."
TreeHugger Robot [Mon, 27 Nov 2017 21:06:52 +0000 (21:06 +0000)]
Merge "New Autofill API: SaveCallback.onSuccess(IntentSender)."
TreeHugger Robot [Mon, 27 Nov 2017 21:00:34 +0000 (21:00 +0000)]
Merge "Add StatsdStats and guardrail."
Stefan Lafon [Mon, 27 Nov 2017 20:54:21 +0000 (12:54 -0800)]
Fix a bug in StorageManager.
Test: Ran statsd and statsd_test.
Change-Id: I2390c6d2c493981177b08d3861d7bee621253af3
TreeHugger Robot [Mon, 27 Nov 2017 20:42:32 +0000 (20:42 +0000)]
Merge "Expose methods to invoke split screen."
Jack Yu [Mon, 27 Nov 2017 19:50:46 +0000 (19:50 +0000)]
Merge "Moved DataProfile from telephony internal hidden API to System API"
Nikolas Bravo [Tue, 7 Nov 2017 21:07:15 +0000 (21:07 +0000)]
Fixes javadoc documentation of PackageInstaller.SessionParams#setOriginatingUid(int)
* Current "See also" link in https://developer.android.com/reference/android/content/pm/PackageInstaller.SessionParams.html#setOriginatingUid(int) is not only wrong, but also broken
* Added a missing "the"
Bug:
69799046
Fixes:
69799046
Test: make ds-docs (run by asolovay@)
Change-Id: I90410ed3393b5c37afdf0476eb70821fae9f63fd
(cherry picked from commit
6283100a87b7be5fb1aad9a258ebba9faf74b061)
Jeff Sharkey [Thu, 9 Nov 2017 20:11:50 +0000 (13:11 -0700)]
Clarify docs, sanity check roaming state.
Update public docs to hide the fact that NetworkCapabilities is only
used inside NetworkRequest as an implementation detail.
Take up less room on the wire when passing NetworkCapabilities around
via NetworkRequest.
Sanity check that the roaming state between NetworkInfo and
NetworkCapabilities is in agreement.
Test: bit FrameworksNetTests:android.net.,com.android.server.net.,com.android.server.connectivity.,com.android.server.ConnectivityServiceTest
Bug:
67040695
Change-Id: I982b4c3c41a140934bbad3b8ca8f12dc3814e86c
Yao Chen [Mon, 27 Nov 2017 19:40:45 +0000 (11:40 -0800)]
Fix a bug in test that cause the flakyness in SimpleConditionTracker_test.
Test: statsd_test
Change-Id: I9f785d26c857023fbe44d71eb3490a50fcc6139a
TreeHugger Robot [Mon, 27 Nov 2017 19:36:37 +0000 (19:36 +0000)]
Merge "tidy up the metrics proto"
Yao Chen [Mon, 27 Nov 2017 19:31:55 +0000 (11:31 -0800)]
Reject the config if condition config has errors. And add log tag.
Test: added unit test.
Change-Id: I5a9d6de2492b94bc5f1c88524f743607e60226c1
Pierre Lecesne [Mon, 27 Nov 2017 19:29:42 +0000 (19:29 +0000)]
AAPT2 - Make raw files of type unknown.
Bug:
69791607
Test: Manual.
Change-Id: I6ee5ef37fb447ab79d46b57e0dc4eaad84eec723
TreeHugger Robot [Mon, 27 Nov 2017 19:31:44 +0000 (19:31 +0000)]
Merge "Only update the task description when the task/description changes"
Bryce Lee [Mon, 27 Nov 2017 19:15:06 +0000 (19:15 +0000)]
Merge "Store bounds in WindowConfiguration."
Winson Chung [Fri, 17 Nov 2017 21:04:07 +0000 (13:04 -0800)]
Expose methods to invoke split screen.
- Also remove duplicate code in shortcut key dispatcher.
Bug:
67510855
Test: Drag and dock in Recents
Change-Id: I46634ab0585d29edd2068a6149cffa928f729d33
Signed-off-by: Winson Chung <winsonc@google.com>
Yao Chen [Wed, 22 Nov 2017 02:07:17 +0000 (18:07 -0800)]
Add StatsdStats and guardrail.
+ StatsdStats is the global class that tracks the stats about statsd.
+ Added guardrail for classes that have a map which could potentially grow
unboundedly with the number of logs.
TODO: add unit tests & CTS for StatsdStats, and guardrail
add stats for pulled atoms.
Test: statsd_test
Change-Id: I0ea562de4dd3f6162f7923a9c193420b482c1d51
Felipe Leme [Wed, 22 Nov 2017 00:47:13 +0000 (16:47 -0800)]
New Autofill API: SaveCallback.onSuccess(IntentSender).
This overloaded method is useful for cases where the service needs to launch
an activity (for example, to unlock the user's vault), in which case it's
launched from the context of the activity being filled.
Test: atest CtsAutoFillServiceTestCases:SimpleSaveActivityTest#testSave_launchIntent
Test: atest CtsAutoFillServiceTestCases
Fixes:
69458616
Change-Id: I41bf5fd4954c38051e3275f2e8500a00dcf24724
Chenjie Yu [Wed, 22 Nov 2017 20:36:41 +0000 (12:36 -0800)]
skeleton for cts testing for atoms
Test: cts test
Change-Id: Ic5b6d68445a61d7c77cb9cbeefe66c36407ff61a
Fyodor Kupolov [Mon, 27 Nov 2017 18:40:46 +0000 (10:40 -0800)]
Use the root case to set remote stack trace for
Otherwise it may cause ISE if a cause has already been set like
in ParcelableException.
Test: manual install/uninstall an app on secondary user
Bug:
69704045
Change-Id: Ia8631ea76d5acf38e60fc609eef65f010ade21b5
TreeHugger Robot [Mon, 27 Nov 2017 18:32:41 +0000 (18:32 +0000)]
Merge "Battery Saver master case changes"
Antony Sargent [Mon, 16 Oct 2017 16:43:08 +0000 (09:43 -0700)]
Migrate some preference theme attributes from SettingsLib
We've moved some preference style definitions from SettingsLib into the
Support Library, with a goal of letting us use them in more places and
avoid duplication.
Bug:
64689839
Test: manual
Change-Id: I49eca13943eb15d2c3f4fb099f439060f9c60cff
Chris Wren [Mon, 27 Nov 2017 17:54:14 +0000 (12:54 -0500)]
tidy up the metrics proto
add a default value for TextSelectionInvocationMethod
retain some O comments to aid analysis in the future.
add a P end comment to aid the automergers.
Test: mmm frameworks/base/proto
Change-Id: Ia28eaac44856ca21b4590fa46c736266c3541453
TreeHugger Robot [Mon, 27 Nov 2017 17:51:23 +0000 (17:51 +0000)]
Merge "Fix some bugs in duration tracker."
Jack Yu [Mon, 20 Nov 2017 19:14:23 +0000 (11:14 -0800)]
Moved DataProfile from telephony internal hidden API to System API
This is the preliminary change in order to make the new data call
setup API for IWLAN refactoring.
Test: Telephony sanity tests + unit tests
bug:
64132030
Change-Id: Ib96dc3dd577def0a428e2f5cdb5fb7f742120020
TreeHugger Robot [Mon, 27 Nov 2017 17:25:44 +0000 (17:25 +0000)]
Merge "Add meta-data constant for activity->slice"
Bryce Lee [Tue, 14 Nov 2017 22:53:06 +0000 (14:53 -0800)]
Store bounds in WindowConfiguration.
This changelist consolidates the usage of frame bounds in containers
into the WindowConfiguration. As a result, the bounds are now shared
across AM and WM. Any changes to the bounds on one side are
propagated to the other via override configuration changes. Previous
instrumentation to synchronize the two sides is no longer necessary.
This changelist does not attempt to consolidate common logic shared
between WM or AM components for setting bounds.
Bug:
68719294
Test: go/wm-smoke
Change-Id: Ia8978dba8525b83201640e159caefe16e626b7c1
TreeHugger Robot [Mon, 27 Nov 2017 16:48:51 +0000 (16:48 +0000)]
Merge "Change dump priority for meminfo - change meminfo dump priority to HIGH (temp workaround until parallel dump is implemented) - pass in -a args to meminfo dump"
Neil Fuller [Mon, 27 Nov 2017 10:32:07 +0000 (10:32 +0000)]
Explicitly exclude com.android.server from docs
With the move to OpenJDK 9 the packages under
com.android are not automatically hidden. There's
only two which show up, one of which
(com.android.internal.util) was already present.
com.android.server can just be explicitly hidden.
Test: make docs / diff
Bug:
69736344
Bug:
69736236
Change-Id: I44fb16e86a8d87152eba4e53a7b2d2290662bb63
Evan Laird [Mon, 27 Nov 2017 16:09:47 +0000 (16:09 +0000)]
Merge "Remove unused strings from sysui"
TreeHugger Robot [Mon, 27 Nov 2017 10:17:25 +0000 (10:17 +0000)]
Merge "Add @Presubmit back to SettingsBackupTest"
TreeHugger Robot [Mon, 27 Nov 2017 04:12:38 +0000 (04:12 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 26 Nov 2017 22:39:16 +0000 (22:39 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 26 Nov 2017 22:37:17 +0000 (22:37 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 26 Nov 2017 22:36:13 +0000 (22:36 +0000)]
Merge "Import translations. DO NOT MERGE"
Bill Yi [Sun, 26 Nov 2017 19:45:16 +0000 (11:45 -0800)]
Import translations. DO NOT MERGE
Change-Id: I7ca2a7f0a9f8280d1c48a0c1ecb9c68553b8b7d9
Auto-generated-cl: translation import
Bill Yi [Sun, 26 Nov 2017 17:33:19 +0000 (09:33 -0800)]
Import translations. DO NOT MERGE
Change-Id: I0bbc89008d10bee8530c7e2ad2b81df9fa87846e
Auto-generated-cl: translation import
Bill Yi [Sun, 26 Nov 2017 17:05:00 +0000 (09:05 -0800)]
Import translations. DO NOT MERGE
Change-Id: I1c1b8d2908d542f4b1a26bc7e61e07ce634d53cf
Auto-generated-cl: translation import
Bill Yi [Sun, 26 Nov 2017 17:02:03 +0000 (09:02 -0800)]
Import translations. DO NOT MERGE
Change-Id: Icc0a96079b89c483a584c5ead08850a3328caedb
Auto-generated-cl: translation import
Bill Yi [Sun, 26 Nov 2017 16:45:29 +0000 (08:45 -0800)]
Import translations. DO NOT MERGE
Change-Id: I056b783ab3288a98a4615a0d4634f3a7e0341cbe
Auto-generated-cl: translation import
Yao Chen [Sun, 26 Nov 2017 03:54:01 +0000 (19:54 -0800)]
Fix some bugs in duration tracker.
There are some bugs in the previous big anomaly detection cl, which I didn't catch.
Test: statsd_test
Change-Id: I2ca22e0f112e5cff8fb204c0c94141188659fdba
Yao Chen [Sat, 25 Nov 2017 23:33:09 +0000 (15:33 -0800)]
Fix statsd crash caused by non-existing data folder.
Test: manual
Change-Id: Ie470279929ff6ce40c4828a3cdda6d78542a3caa
Christine Franks [Fri, 24 Nov 2017 23:21:57 +0000 (23:21 +0000)]
Merge "Add owner for ColorDisplayService"
Neil Fuller [Fri, 24 Nov 2017 19:46:00 +0000 (19:46 +0000)]
Merge "Fix checkapi for OpenJDK 9 builds"
Neil Fuller [Fri, 24 Nov 2017 15:58:38 +0000 (15:58 +0000)]
Fix checkapi for OpenJDK 9 builds
This change explitly hides com.android.okhttp
from doclava. The public.txt generation was
previously relying on a package.html in
com.android to hide all subpackages, which
doesn't work with javadoc 9.
Test: make droid (with both OpenJDK 8 and OpenJDK 9)
Bug:
69709687
Change-Id: If61b69f913be044adb4cd34867459bde6330ea2c
Bryan Mawhinney [Fri, 24 Nov 2017 16:12:08 +0000 (16:12 +0000)]
Add @Presubmit back to SettingsBackupTest
Test: runtest --path frameworks/base/core/tests/coretests/src/android/provider/SettingsBackupTest.java
Change-Id: I5b43bf58bca39cc7393f37d7c3ce6a26aff6d858
Bryan Mawhinney [Fri, 24 Nov 2017 15:49:09 +0000 (15:49 +0000)]
Merge "Make SettingsBackupTest pass again"
Andrei Stingaceanu [Fri, 24 Nov 2017 14:27:21 +0000 (14:27 +0000)]
Merge "[Magnifier - 10] Make it public"
Bryan Mawhinney [Fri, 24 Nov 2017 13:44:48 +0000 (13:44 +0000)]
Make SettingsBackupTest pass again
Test: runtest --path frameworks/base/core/tests/coretests/src/android/provider/SettingsBackupTest.java
Change-Id: I2c783bae9146adc9c4538bc34795da4e6e9573ee
TreeHugger Robot [Fri, 24 Nov 2017 13:31:05 +0000 (13:31 +0000)]
Merge "Binding on-demand #2: PerformFullTransportBackupTask usage"
Andrei Stingaceanu [Tue, 21 Nov 2017 14:53:38 +0000 (14:53 +0000)]
[Magnifier - 10] Make it public
* moves the Magnifier from com.android.internal.widget to
android.widget
* removes useless public getters; useless for now because we have
no magnifier configuration but the hardcoded one
Bug:
67839742
Bug:
63531115
Test: bit CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Ie6f474c4c781038650007a15937d61c650ee5fdd
Bernardo Rufino [Wed, 15 Nov 2017 17:21:42 +0000 (17:21 +0000)]
Binding on-demand #2: PerformFullTransportBackupTask usage
Migrate the full-backup task to use binding on-demand
Ref: http://go/br-binding-on-demand
Bug:
17140907
Test: make RunFrameworksServicesRoboTests
Test: runtest -p com.android.server.backup frameworks-services
Test: adb shell bmgr backupnow <packages>
With transports manually unbound and also canceled the operation a
few times. Then inspected TransportClient logcat
Test: gts-tradefed run commandAndExit gts-dev -m GtsBackupTestCases
Test: gts-tradefed run commandAndExit gts-dev -m GtsBackupHostTestCases
Test: cts-tradefed run commandAndExit cts-dev -m CtsBackupTestCases
Test: Manually unbound before GTS/CTS above.
Change-Id: I15abe970db0b9858e0e2e4eb666358db3a9d50ad
TreeHugger Robot [Thu, 23 Nov 2017 17:50:20 +0000 (17:50 +0000)]
Merge "WM: Move WindowManagerPolicy, DisplayFrames and WindowManagerInternal into services"
TreeHugger Robot [Thu, 23 Nov 2017 16:59:22 +0000 (16:59 +0000)]
Merge "Disable window tracing on user builds. - Make window trace shell commands fail gracefully in user builds. - Dont start the trace thread on user builds."
Adrian Roos [Mon, 20 Nov 2017 16:55:31 +0000 (17:55 +0100)]
WM: Move WindowManagerPolicy, DisplayFrames and WindowManagerInternal into services
Splits WindowManagerPolicy into a framework and a services part, preventing concepts that are
internal to the window manager from leaking out into the framework.
Test: make droid
Change-Id: I7b6a54f55f76f6fbb5f27090981b8f1d4d8be88b
Rubin Xu [Thu, 23 Nov 2017 15:40:52 +0000 (15:40 +0000)]
Merge "Let keyguard UI procced as soon as user password is validated"
Jeff Vander Stoep [Thu, 23 Nov 2017 07:09:23 +0000 (23:09 -0800)]
Check for /dev/memcg/system/tasks before writing to it
Fixes the following errors in the logs on devices without /dev/memcg
mounted:
09-08 10:07:22.991 732 732 E Zygote : couldn't write 1124 to
/dev/memcg/system/tasks
09-08 10:07:22.986 732 732 W main : type=1400 audit(0.0:8):
avc: denied { create } for name="tasks" scontext=u:r:zygote:s0
tcontext=u:object_r:cgroup:s0 tclass=file permissive=0
Bug:
67860826
Test: boot Taimen, no more error/denial in the logs.
Change-Id: I37f481fa4e9e9116688cca4f090aa26f96f602c9
Rubin Xu [Wed, 15 Nov 2017 11:55:35 +0000 (11:55 +0000)]
Let keyguard UI procced as soon as user password is validated
Notify the callback as soon as first stage password verification passes,
leaving the decryption of synthetic password in the background. This should
reduce the perceived latency of device unlock UI wise.
Bug:
68380673
Test: Measured time manually, unlock on marlin now takes 70ms, and taimen
takes 90ms.
Change-Id: Ibb787251f8fea776c6745d45ee2d8ab60515a5f4
Alan Stokes [Thu, 23 Nov 2017 12:09:52 +0000 (12:09 +0000)]
Merge "Add unit tests for DexLogger."
Peter Visontay [Thu, 23 Nov 2017 11:06:46 +0000 (11:06 +0000)]
Merge "Fix outdated docs of permission protection levels."