OSDN Git Service
Victor Hsieh [Thu, 18 Jan 2018 01:31:09 +0000 (01:31 +0000)]
Merge "Reland: Move zygote's seccomp setup to post-fork" am:
7839672e22 am:
4249466562
am:
dec688691d
Change-Id: Ibcf5eeef74b69112f568ebb1f146c2990ffed30a
TreeHugger Robot [Thu, 18 Jan 2018 01:25:58 +0000 (01:25 +0000)]
Merge "Create exception hierarchy for RecoveryController"
TreeHugger Robot [Thu, 18 Jan 2018 01:25:22 +0000 (01:25 +0000)]
Merge "Implements toString in NanoAppMessage/ContextHubMessage"
Victor Hsieh [Thu, 18 Jan 2018 01:23:32 +0000 (01:23 +0000)]
Merge "Reland: Move zygote's seccomp setup to post-fork" am:
7839672e22
am:
4249466562
Change-Id: Idbf4d7add5e41d2d01f4a3c2ff6e8f1b1735faeb
TreeHugger Robot [Thu, 18 Jan 2018 01:21:25 +0000 (01:21 +0000)]
Merge "Fixes null error for quick scrub when there is no home button"
Joseph Pirozzo [Thu, 18 Jan 2018 01:19:19 +0000 (01:19 +0000)]
Merge "Bluetooth in band ring" am:
dbfaf31357 am:
8c73ee91f5
am:
2746e9ab16
Change-Id: I2d43475d33c764b2b0951f7e4ddc969e8fce7c49
Victor Hsieh [Thu, 18 Jan 2018 01:15:05 +0000 (01:15 +0000)]
Merge "Reland: Move zygote's seccomp setup to post-fork"
am:
7839672e22
Change-Id: I93275a50938ed1514fc690fe2e1390054748d361
Abodunrinwa Toki [Thu, 18 Jan 2018 01:11:05 +0000 (01:11 +0000)]
Merge "Implement text baseline attributes for TextView."
Joseph Pirozzo [Thu, 18 Jan 2018 01:09:30 +0000 (01:09 +0000)]
Merge "Bluetooth in band ring" am:
dbfaf31357
am:
8c73ee91f5
Change-Id: I1972da1da7bc0c001dc4525858bdb0e8bd5dd530
Joseph Pirozzo [Thu, 18 Jan 2018 01:02:14 +0000 (01:02 +0000)]
Merge "Bluetooth in band ring"
am:
dbfaf31357
Change-Id: I24b9169afc67e376a22c99f8a1ae7117549401f8
Jorim Jaggi [Thu, 18 Jan 2018 00:19:20 +0000 (00:19 +0000)]
Merge "Add ability to post a message at the front of the queue"
Jorim Jaggi [Thu, 18 Jan 2018 00:19:02 +0000 (00:19 +0000)]
Merge "Wrapping remote app animations"
Jorim Jaggi [Thu, 18 Jan 2018 00:17:26 +0000 (00:17 +0000)]
Merge "Add ability to register remote animation definitions per activity"
Dake Gu [Thu, 18 Jan 2018 00:14:36 +0000 (00:14 +0000)]
Merge "autofill: support dpad/keyboard"
Andy Hung [Thu, 18 Jan 2018 00:12:12 +0000 (00:12 +0000)]
Merge "Watchdog: add media.metrics" am:
6cb33a1b54 am:
701c4cd1cc
am:
039d914a26
Change-Id: Icd718c2eb9b33382f73309738d65a24bb9f92b0b
Andy Hung [Thu, 18 Jan 2018 00:02:14 +0000 (00:02 +0000)]
Merge "Watchdog: add media.metrics" am:
6cb33a1b54
am:
701c4cd1cc
Change-Id: If5fb8cfe18e7fad089b5aec8e3168dab940826ec
Treehugger Robot [Wed, 17 Jan 2018 23:58:10 +0000 (23:58 +0000)]
Merge "Reland: Move zygote's seccomp setup to post-fork"
TreeHugger Robot [Wed, 17 Jan 2018 23:55:47 +0000 (23:55 +0000)]
Merge "Customize user switch dialog"
Andy Hung [Wed, 17 Jan 2018 23:55:25 +0000 (23:55 +0000)]
Merge "Watchdog: add media.metrics"
am:
6cb33a1b54
Change-Id: I24992a0a7e4e4a67fba1c5202fc4e741a3952794
Treehugger Robot [Wed, 17 Jan 2018 23:48:40 +0000 (23:48 +0000)]
Merge "Bluetooth in band ring"
Android Build Merger (Role) [Wed, 17 Jan 2018 23:38:14 +0000 (23:38 +0000)]
Merge "Merge "Add APIs to EuiccCardManager and EuiccCardController." am:
0797f4be58 am:
f09db036e5 am:
56a8d9ad4f"
Holly Jiuyu Sun [Wed, 17 Jan 2018 23:36:27 +0000 (23:36 +0000)]
Merge "Add APIs to EuiccCardManager and EuiccCardController." am:
0797f4be58 am:
f09db036e5
am:
56a8d9ad4f
Change-Id: I02779540eaaf2ad934f5190c88296547c430df1a
TreeHugger Robot [Wed, 17 Jan 2018 23:35:50 +0000 (23:35 +0000)]
Merge "Fix API review javadoc issues in TextView/ExtractedText"
Jack Yu [Wed, 17 Jan 2018 23:31:40 +0000 (23:31 +0000)]
Merge "Added data service interface" am:
3965e3bbc6 am:
5f12e2c76d
am:
d3a8971bac
Change-Id: I6f8d26c56c1d709aa1c53ef49a133deca7555c7e
Holly Jiuyu Sun [Wed, 17 Jan 2018 23:25:13 +0000 (23:25 +0000)]
Merge "Add APIs to EuiccCardManager and EuiccCardController." am:
0797f4be58
am:
f09db036e5
Change-Id: Ifcd39da6aafb4cd1e0b6e9e1baa38342a590fb91
Brad Ebinger [Wed, 17 Jan 2018 23:23:09 +0000 (23:23 +0000)]
Merge "Integrate IMS Registration API" am:
1f00565433 am:
f4d3a4d110
am:
7f47f8e957 -s ours
Change-Id: I23f49a34edb4cfee7bf4733f48e0a4b23943240f
Jack Yu [Wed, 17 Jan 2018 23:18:21 +0000 (23:18 +0000)]
Merge "Added data service interface" am:
3965e3bbc6
am:
5f12e2c76d
Change-Id: Iac4b6e1b86cdfa2e3285a086220b7c7aa921d7ff
yuemingw [Wed, 17 Jan 2018 23:14:19 +0000 (23:14 +0000)]
Merge "Add URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants." am:
b760295764 am:
10f60a740f
am:
0315d12976
Change-Id: I0510b82c525d3dd6b577ece470ba3e82e6b7568e
Brad Ebinger [Wed, 17 Jan 2018 23:13:46 +0000 (23:13 +0000)]
Merge "Integrate IMS Registration API" am:
1f00565433
am:
f4d3a4d110
Change-Id: I19e812368d0afd5bd7934b4e3a2aa575d0c1d3a3
Holly Jiuyu Sun [Wed, 17 Jan 2018 23:07:54 +0000 (23:07 +0000)]
Merge "Add APIs to EuiccCardManager and EuiccCardController."
am:
0797f4be58
Change-Id: Ie96bf09b698718705971bd94cd44f55e74700223
TreeHugger Robot [Wed, 17 Jan 2018 23:07:41 +0000 (23:07 +0000)]
Merge "Use "except-idle" whitelist for force-app-standby"
yuemingw [Wed, 17 Jan 2018 23:05:16 +0000 (23:05 +0000)]
Merge "Add URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants." am:
b760295764
am:
10f60a740f
Change-Id: I7e00f153a147c906fe853c1f98e492a0c381850a
Jack Yu [Wed, 17 Jan 2018 23:04:57 +0000 (23:04 +0000)]
Merge "Added data service interface"
am:
3965e3bbc6
Change-Id: I7543aff2abadb4c6b2556f37cd5e763cb5a8c08c
Arthur Ishiguro [Sat, 6 Jan 2018 00:05:25 +0000 (16:05 -0800)]
Implements toString in NanoAppMessage/ContextHubMessage
Bug:
31069172
Test: Compile only
Change-Id: I1b59bcd0ff75d3824a136b903e5db0c15b55ccf5
Brad Ebinger [Wed, 17 Jan 2018 23:01:03 +0000 (23:01 +0000)]
Merge "Integrate IMS Registration API"
am:
1f00565433
Change-Id: I1bbbdbe612a154c9d13dd5d162e2149d3f94a958
yuemingw [Wed, 17 Jan 2018 22:57:50 +0000 (22:57 +0000)]
Merge "Add URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants."
am:
b760295764
Change-Id: Ib7ff0f0854c164eb5044649a63bb113ec473609c
TreeHugger Robot [Wed, 17 Jan 2018 22:47:44 +0000 (22:47 +0000)]
Merge "pm: Verify shared-user priv-app install location"
TreeHugger Robot [Wed, 17 Jan 2018 22:45:45 +0000 (22:45 +0000)]
Merge "Add feature flag for suggestions UI v2."
Dake Gu [Wed, 27 Dec 2017 19:48:08 +0000 (11:48 -0800)]
autofill: support dpad/keyboard
To make autofill works on non-touch device such as TV, allow
fill ui window to gain window focus. Fill ui window does not
need IME. When IME and fill ui window are both shown, fill ui
window will intercept keyevent before IME.
Since autofill window will steal window focus from app window,
we no longer uses View.onWindowFocused() for enter/exit event.
Switched to use Activity onResume/onPause. When view
notifyViewEntered or notifyViewExited called when Activity is paused,
it will be ignored. Before Activity goes to pause state,
notifyViewExited() is fired on focus view, after Activity leaves
pause state, notifyViewEntered() is fired on focus view.
In CTS testDatasetAuthTwoFieldsUserCancelsFirstAttempt, the
authentication activity finishes itself in onCreate() which will not
produce onPause/onResume in app activity, but it will produce window
focus loss/gain event. Since we switch from window focus to activity
onResume/onPause, we will be missing a show fill ui when return from
the never shown authentication activity. To solve this problem,
we added special code when receive ActivityResult from authentication
activity where we check if the authenticate activity never causes
onStop event, where we should issue an extra ACTION_VIEW_ENTERED
event to show fill ui.
Test: passed all existing autofilltest CTS on sailfish
atest CtsAutoFillServiceTestCases
Bug:
70181616
Change-Id: Iafe4dca3be8f049fa6dfd34bac13ccb030c583b6
Andy Hung [Wed, 17 Jan 2018 22:33:53 +0000 (22:33 +0000)]
Merge "Watchdog: add media.metrics"
Holly Jiuyu Sun [Wed, 17 Jan 2018 22:26:58 +0000 (22:26 +0000)]
Merge "Add APIs to EuiccCardManager and EuiccCardController."
TreeHugger Robot [Wed, 17 Jan 2018 22:15:52 +0000 (22:15 +0000)]
Merge "Create Settings.Global.ENABLE_SMART_REPLIES_IN_NOTIFICATIONS setting"
Jack Yu [Wed, 17 Jan 2018 22:12:29 +0000 (22:12 +0000)]
Merge "Added data service interface"
Bryce Lee [Wed, 17 Jan 2018 22:03:04 +0000 (22:03 +0000)]
Merge "Add more logging to Activity Lifecycler."
Jorim Jaggi [Wed, 17 Jan 2018 21:59:33 +0000 (22:59 +0100)]
Add ability to post a message at the front of the queue
Used for remote animations to minimize latency.
Test: Boots
Bug:
64674361
Change-Id: Id07295a852edf4fbc308a4e4616077275f35f0f7
TreeHugger Robot [Wed, 17 Jan 2018 21:55:29 +0000 (21:55 +0000)]
Merge "Move BackupManagerServiceTest to Robolectric framework"
TreeHugger Robot [Wed, 17 Jan 2018 21:54:20 +0000 (21:54 +0000)]
Merge "Switch to SkAndroidCodec::computeSampleSize"
TreeHugger Robot [Wed, 17 Jan 2018 21:52:31 +0000 (21:52 +0000)]
Merge "Fix NPE when registering gesture support"
Robert Berry [Wed, 17 Jan 2018 14:43:09 +0000 (14:43 +0000)]
Create exception hierarchy for RecoveryController
Sets up a sensible exception hierarchy. Consolidates two error codes
that both represented some kind of internal error into a single code.
Fixed some cases where the wrong error codes were used to signal.
Test: adb shell am instrument -w -e package
com.android.server.locksettings.recoverablekeystore
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I6b1f97715cdc28a4be79912abb6f48e6657b048b
Antoan Angelov [Wed, 17 Jan 2018 21:32:15 +0000 (21:32 +0000)]
Merge "Add metadata to validate incoming administrator during transfer of ownership."
Winson Chung [Tue, 5 Dec 2017 20:33:52 +0000 (12:33 -0800)]
Wrapping remote app animations
For use by launcher.
Test: Use it in launcher.
Bug:
64674361
Change-Id: Iaa67b349fc62ee2c636e27c270e336a767bec030
jackqdyulei [Wed, 17 Jan 2018 21:29:43 +0000 (21:29 +0000)]
Merge "Add metric for anomaly detection" into oc-mr1-dev am:
9b1211b353 -s ours
am:
839b467183 -s ours
Change-Id: Ibef8518a5a14537971a0d4bbc058e136d54d30af
jackqdyulei [Wed, 17 Jan 2018 21:21:57 +0000 (21:21 +0000)]
Merge "Add metric for anomaly detection" into oc-mr1-dev
am:
9b1211b353 -s ours
Change-Id: I1c7830ed2c956ed22682e7d0d03860f5fa7c7886
Jorim Jaggi [Tue, 16 Jan 2018 13:17:59 +0000 (14:17 +0100)]
Add ability to register remote animation definitions per activity
This introduces a more stable way of setting a remote animation
than using overridePendingTransition: An activity can register
a set of remote animations which is broke down by transition type.
Whenever the activity is involved into such a transition, the
remote animation will be started.
Remote animations take precedence over regular animations, and
prefixOrderIndex in the hierarchy decides precedence within
multiple apps that set remote animation definitions such that
higher apps override lower apps.
Bug:
64674361
Test: go/wm-smoke
Test: Use with launcher
Change-Id: Id300ff62d9f60966ea2609168f6a02860b3de7af
Android Build Merger (Role) [Wed, 17 Jan 2018 20:58:41 +0000 (20:58 +0000)]
Merge "Merge "new carrier id APIs" am:
3d23b90874 am:
7537309843 am:
ea5e2ad900 -s ours"
Chen Xu [Wed, 17 Jan 2018 20:57:31 +0000 (20:57 +0000)]
Merge "new carrier id APIs" am:
3d23b90874 am:
7537309843
am:
ea5e2ad900 -s ours
Change-Id: I9c157b38bbf8c942bafdb1467d49091a7c3c7264
Evan Rosky [Wed, 17 Jan 2018 20:56:24 +0000 (20:56 +0000)]
Merge "Enable new initial-focus behavior for P"
TreeHugger Robot [Wed, 17 Jan 2018 20:53:40 +0000 (20:53 +0000)]
Merge "Report more specific error if codec creation fails"
TreeHugger Robot [Wed, 17 Jan 2018 20:53:35 +0000 (20:53 +0000)]
Merge "Update the AID -> UID mapping."
nharold [Wed, 17 Jan 2018 20:50:14 +0000 (20:50 +0000)]
Merge "IpSec - API Tweak for removeTransportModeTransform" am:
6725ff729b am:
d58b237445
am:
723d0f061a
Change-Id: I479c24d9ac5d4b022ec6310395fdb4274cfd5598
Chen Xu [Wed, 17 Jan 2018 20:49:04 +0000 (20:49 +0000)]
Merge "new carrier id APIs" am:
3d23b90874
am:
7537309843
Change-Id: I8b64968ddb59304543eee89eb1e2dcb4d66517e3
nharold [Wed, 17 Jan 2018 20:39:29 +0000 (20:39 +0000)]
Merge "IpSec - API Tweak for removeTransportModeTransform" am:
6725ff729b
am:
d58b237445
Change-Id: Id9e9ab09669a53f53f03e5a6e0e4757434c3f3f3
Chen Xu [Wed, 17 Jan 2018 20:38:27 +0000 (20:38 +0000)]
Merge "new carrier id APIs"
am:
3d23b90874
Change-Id: Ifaa9e4e2f4ec3ef9703c4bf58e8452a9920b350a
TreeHugger Robot [Wed, 17 Jan 2018 20:36:06 +0000 (20:36 +0000)]
Merge "Add metric for anomaly detection" into oc-mr1-dev
nharold [Wed, 17 Jan 2018 20:31:15 +0000 (20:31 +0000)]
Merge "IpSec - API Tweak for removeTransportModeTransform"
am:
6725ff729b
Change-Id: I0ed7128014bbca8973f84d719449dcf70da45fa2
Brad Ebinger [Wed, 17 Jan 2018 20:29:54 +0000 (20:29 +0000)]
Merge "Integrate IMS Registration API"
Matthew Ng [Wed, 17 Jan 2018 20:28:41 +0000 (12:28 -0800)]
Fixes null error for quick scrub when there is no home button
Change-Id: I60c43009681d3e81442150f3c756eaa191619a67
Fixes:
72094006
Test: manual
Craig Donner [Wed, 17 Jan 2018 20:20:51 +0000 (20:20 +0000)]
Merge "Deprecate android.software.vr.mode"
TreeHugger Robot [Wed, 17 Jan 2018 20:20:29 +0000 (20:20 +0000)]
Merge "aapt2: Fix issue with Manifest duplicate handling"
Julia Reynolds [Wed, 17 Jan 2018 20:16:52 +0000 (20:16 +0000)]
Merge "Fix flaky schedule tests"
TreeHugger Robot [Wed, 17 Jan 2018 20:04:55 +0000 (20:04 +0000)]
Merge "Use better names for associated classes of RecoveryManager"
Treehugger Robot [Wed, 17 Jan 2018 19:50:40 +0000 (19:50 +0000)]
Merge "Add URL_DPC, URL_FILTERED and URL_ENFORCE_MANAGED as constants."
TreeHugger Robot [Wed, 17 Jan 2018 19:45:50 +0000 (19:45 +0000)]
Merge "Follow up I1f0c56651eaa59f0ce90cdb08c71e89a96c48dd4"
Leon Scroggins III [Sat, 13 Jan 2018 16:40:42 +0000 (11:40 -0500)]
Switch to SkAndroidCodec::computeSampleSize
Bug:
63909536
Test: CtsGraphicsTestCases(ImageDecoderTest) and Skia
Depends on https://skia-review.googlesource.com/94620 in Skia.
Move the code for determining the actual sample size to Skia.
That code includes tests which caught bugs that are hard to
test for from the Java API. (Previously, we could end up using
the wrong sample size and then scaling unnecessarily.)
Change-Id: Ib3a5d70e4845e95b18af77668383d38746cb21fc
Arthur Hsu [Wed, 17 Jan 2018 19:30:01 +0000 (19:30 +0000)]
Merge "Skip SystemUI check in BluetoothServiceManager if noHome." am:
fc3b50e9b6 am:
65d0549fde
am:
e27e95e7d5
Change-Id: Ifa668bfd7d1381c2072e21feeaed383e9fbaaa87
Arthur Hsu [Wed, 17 Jan 2018 19:21:39 +0000 (19:21 +0000)]
Merge "Skip SystemUI check in BluetoothServiceManager if noHome." am:
fc3b50e9b6
am:
65d0549fde
Change-Id: Ia42f33a0d7becd5a4f3f3f81fc077d13863f94ed
Arthur Hsu [Wed, 17 Jan 2018 19:15:47 +0000 (19:15 +0000)]
Merge "Skip SystemUI check in BluetoothServiceManager if noHome."
am:
fc3b50e9b6
Change-Id: Icf53fb7a223e64a3f73cea475fb0a522b3f96ece
Chen Xu [Wed, 17 Jan 2018 19:09:34 +0000 (19:09 +0000)]
Merge "new carrier id APIs"
TreeHugger Robot [Wed, 17 Jan 2018 19:07:21 +0000 (19:07 +0000)]
Merge "Add BackupManager#isBackupServiceActive() system API"
nharold [Wed, 17 Jan 2018 19:07:10 +0000 (19:07 +0000)]
Merge "IpSec - API Tweak for removeTransportModeTransform"
Makoto Onuki [Tue, 16 Jan 2018 22:15:44 +0000 (14:15 -0800)]
Use "except-idle" whitelist for force-app-standby
Bug:
71911050
Test: Manual test with:
- dumpsys alarm | grep 'Whitelist appids'
- dumpsys deviceidle except-idle-whitelist +com.android.chrome
- dumpsys deviceidle except-idle-whitelist +com.google.android.dialer
- dumpsys deviceidle except-idle-whitelist reset
Change-Id: I6d5d8c350bad53a22adf247eb82a0e7f0d664c19
Yao Chen [Wed, 17 Jan 2018 18:56:48 +0000 (10:56 -0800)]
Update the AID -> UID mapping.
Test: statsd_test
Change-Id: I43c004b765b0cc221ec2e02c9979890e5d55d570
Nancy Zheng [Wed, 17 Jan 2018 19:00:10 +0000 (19:00 +0000)]
Merge "Add setting/experiment for small battery devices to have all forced app standby enabled except for when the device is charging."
TreeHugger Robot [Wed, 17 Jan 2018 18:58:27 +0000 (18:58 +0000)]
Merge changes from topics "SliceDesc", "SliceCleanup"
* changes:
Add SliceManager#getSliceDescendants
Update slice APIs
Alex Chau [Thu, 11 Jan 2018 15:10:12 +0000 (15:10 +0000)]
Customize user switch dialog
- Introduced DevicePolicyManager to set messaging for switching out of and into user 0
- Introduced coressponeding API to get the message
Bug:
71787514
Test: Set start and end session message with TestDPC, change is reflected
Test: Restart the device, switch message is still enforced
Test: Clear the message with TestDPC, reverted back to default
Change-Id: I527eca6f151cee35459abad7ae9dcdeef486148f
Holly Jiuyu Sun [Fri, 22 Dec 2017 02:44:59 +0000 (18:44 -0800)]
Add APIs to EuiccCardManager and EuiccCardController.
Move CancelReason from EuiccCard to EuiccCardManager.
part 2.
Bug:
38206971
Test: test on phone
Change-Id: Iab61be59b7130a5336dffbc965eefefcfa3eccf6
Julia Reynolds [Wed, 17 Jan 2018 18:14:58 +0000 (18:14 +0000)]
Merge "Volume dialog redesign"
TreeHugger Robot [Wed, 17 Jan 2018 18:08:45 +0000 (18:08 +0000)]
Merge "Ensure a user's SP does't change."
Petr Cermak [Tue, 16 Jan 2018 16:37:22 +0000 (16:37 +0000)]
Create Settings.Global.ENABLE_SMART_REPLIES_IN_NOTIFICATIONS setting
This will allow us to toggle and experiment with the feature.
Bug:
67765414
Test: atest SettingsBackupTest
Change-Id: I28d0a817561cb6811966d229e8367adb4eb6d40b
Brad Stenning [Wed, 17 Jan 2018 18:02:21 +0000 (10:02 -0800)]
Fix NPE when registering gesture support
Car implementation does no support gestures thus this installs a null
object pattern version of the gesture plug in.
This is a temp solution while the class hierarchy is being refactored.
Bug:
72094006
Test: deploy and check
Change-Id: I7cbca3d77546d62e3e78d8c73faa8ef5cd8803f0
Jack Yu [Tue, 28 Nov 2017 01:36:29 +0000 (17:36 -0800)]
Added data service interface
The interface for mobile data service. This is the base class
for vendor or first party data service provider to implement
the data service for cellular or IWLAN data support.
Test: Manual
bug:
64132030
Change-Id: I3e5f48b88905f4533cac60975802d4da3746e7f8
Treehugger Robot [Wed, 17 Jan 2018 17:33:41 +0000 (17:33 +0000)]
Merge "Skip SystemUI check in BluetoothServiceManager if noHome."
Philip P. Moltmann [Wed, 17 Jan 2018 17:33:14 +0000 (09:33 -0800)]
Follow up I1f0c56651eaa59f0ce90cdb08c71e89a96c48dd4
Beside addressing the comments on this change, this adds a check that
the token in end( is correct and prints a message if not. This is useful
when creating new dumping methods.
Test: adb shell dumpsys print
Change-Id: Ic2e6152cbd82f98d9d305a15edffc69c55fd1fd3
Victor Hsieh [Mon, 8 Jan 2018 20:43:00 +0000 (12:43 -0800)]
Reland: Move zygote's seccomp setup to post-fork
Before this change, seccomp filter setup is as early as in zygote's main
function. To make it possible to split app and system server's filter,
this postpone the setup to after fork. It also starts to call app
specific and system server specific setup function.
The filter setup is done in Zygote's ForkAndSpecializeCommon. This is
because adding a seccomp filter must be done when either the caller has
CAP_SYS_ADMIN or after the PR_SET_NO_NEW_PRIVS bit is set. Given that
setting PR_SET_NO_NEW_PRIVS breaks SELinux domain transition
(b/
71859146), this must be done after Zygote forks but before
CAP_SYS_ADMIN is droppped.
Test: (cts) -m CtsSecurityTestCases -t android.security.cts.SeccompTest
Test: no selinux denial flood in dmesg with selinux enforced
Test: debuggerd -b `pidof com.android.phone` # logcat shows tombstoned
received crash request
Bug:
63944145
Bug:
71859146
Change-Id: I8215c8530d3d0de504a270488f8e29635805e8b0
TreeHugger Robot [Wed, 17 Jan 2018 17:22:31 +0000 (17:22 +0000)]
Merge "Temporary affordance for blocking helper"
TreeHugger Robot [Wed, 17 Jan 2018 17:15:42 +0000 (17:15 +0000)]
Merge "One time permission grant to default noti assistant"
fionaxu [Tue, 28 Nov 2017 06:53:42 +0000 (22:53 -0800)]
new carrier id APIs
1. New telephony APIs to getCurrentCarrierId
and getCurrentCarrierName
2. New broadcast intent to notify carrier id changed
Bug:
64131637
Test: Build
Change-Id: I9a240ba7df313ad701f98bb3982f29c3d5317da8
(cherry picked from commit
fff6f59a63304be50e7a251fb4fca38ae0090fc4)
Merged-in: I9a240ba7df313ad701f98bb3982f29c3d5317da8
TreeHugger Robot [Wed, 17 Jan 2018 16:58:00 +0000 (16:58 +0000)]
Merge "Switch to write_non_chained interface to avoid allocating temp objects."
Annie Meng [Tue, 16 Jan 2018 14:30:59 +0000 (14:30 +0000)]
Move BackupManagerServiceTest to Robolectric framework
Bug:
71988336
Test: m -j ROBOTEST_FILTER=BackupManagerServiceRoboTest RunFrameworksServicesRoboTests
Change-Id: I81c45267ef98b66c05383bfdca9a1b5ab4ccbfbd
TreeHugger Robot [Wed, 17 Jan 2018 16:44:15 +0000 (16:44 +0000)]
Merge "Only have one way of dumping print manager state"