OSDN Git Service
Chavi Weingarten [Mon, 5 Feb 2018 23:26:00 +0000 (23:26 +0000)]
Merge "Check if WindowToken is visible before adding dim."
TreeHugger Robot [Mon, 5 Feb 2018 23:09:24 +0000 (23:09 +0000)]
Merge "Revert "Add debug logs""
TreeHugger Robot [Mon, 5 Feb 2018 23:06:05 +0000 (23:06 +0000)]
Merge "Statsd - use AID_STATSD in MetricsManager"
TreeHugger Robot [Mon, 5 Feb 2018 22:26:07 +0000 (22:26 +0000)]
Merge "Use value from XML for Secure.NOTIFICATION_BADGING."
TreeHugger Robot [Mon, 5 Feb 2018 22:17:08 +0000 (22:17 +0000)]
Merge "[P2P] Fix flaky unit test"
TreeHugger Robot [Mon, 5 Feb 2018 22:16:32 +0000 (22:16 +0000)]
Merge "Avoid improperly removing views during transitions"
TreeHugger Robot [Mon, 5 Feb 2018 22:15:23 +0000 (22:15 +0000)]
Merge "Fix RTL in StatusIconContainer"
Bo Zhu [Mon, 5 Feb 2018 22:08:50 +0000 (22:08 +0000)]
Merge "Add the utility functions to parse and validate XML files contains public-key certificates for THM"
TreeHugger Robot [Mon, 5 Feb 2018 21:39:36 +0000 (21:39 +0000)]
Merge "Add DEFAULT dump priority for services"
Daniel Nishi [Mon, 5 Feb 2018 21:38:26 +0000 (21:38 +0000)]
Merge "Update diskstats to break out code & data." into oc-mr1-dev am:
ca589a064e
am:
db8d267527 -s ours
Change-Id: I0cbaff432260c38995aec7f38a59019dbb9c67ed
Hall Liu [Mon, 5 Feb 2018 21:30:51 +0000 (21:30 +0000)]
Merge "Add setting and logging for RTT"
TreeHugger Robot [Mon, 5 Feb 2018 21:16:23 +0000 (21:16 +0000)]
Merge "fix bluetooth puller + bluetooth adapter may be lost, in which case we should try to get it again"
TreeHugger Robot [Mon, 5 Feb 2018 21:13:21 +0000 (21:13 +0000)]
Merge "camera: Extend the multiple capture request requirements"
Vishnu Nair [Thu, 1 Feb 2018 23:14:44 +0000 (15:14 -0800)]
Add DEFAULT dump priority for services
- Adds a new DEFAULT priority for services which is treated the same as NORMAL priority but dumpsys does not send "--dump-priority" arguments to the service.
Bug:
27429130
Test: Manually generate bugrepot (default version) and check for any issues
Test: Load bugreport on ABT
Test: mmm -j56 frameworks/native/cmds/dumpstate && \
adb shell /data/nativetest64/dumpstate_smoke_test/dumpstate_smoke_test && \
printf "\n\n#### ALL TESTS PASSED ####\n"
Change-Id: Ia90ae16d56d0144e679cf39ebfbf4473dd21f167
Daniel Nishi [Mon, 5 Feb 2018 21:04:20 +0000 (21:04 +0000)]
Merge "Update diskstats to break out code & data." into oc-mr1-dev
am:
ca589a064e
Change-Id: Icb380ba195ec25c7eacf2dc4c89639bc2a325fb8
TreeHugger Robot [Mon, 5 Feb 2018 20:54:24 +0000 (20:54 +0000)]
Merge "Add a new flag to dump normal priority content from ActivityManagerService"
Todd Kennedy [Tue, 23 Jan 2018 14:35:10 +0000 (14:35 +0000)]
Revert "Add debug logs"
This reverts commit
f996b76623f2b6e958e76d40d17b17f673ed30b5.
Change-Id: I855a61070411b2a1fa8f1add10998aaabcef43f6
Fixes:
72369036
Test: Manual; builds and runs
TreeHugger Robot [Mon, 5 Feb 2018 20:47:15 +0000 (20:47 +0000)]
Merge "Update diskstats to break out code & data." into oc-mr1-dev
Chavi Weingarten [Mon, 5 Feb 2018 20:41:38 +0000 (20:41 +0000)]
Merge changes Ie6bebede,I21ebbfb0
* changes:
Fixed Dimmer test
Each dimmer can only have one dim layer at a time.
Bookatz [Mon, 5 Feb 2018 20:30:14 +0000 (12:30 -0800)]
Statsd - use AID_STATSD in MetricsManager
MetricsManager needs to know the uid of Statsd. Right now it fetches it,
but it is actually a constant that it can access directly.
Test: manual
Change-Id: I36437136babaf99ecad1fac7c233f7aaf06f380d
TreeHugger Robot [Mon, 5 Feb 2018 20:28:45 +0000 (20:28 +0000)]
Merge "Use the correct prebuilts for lifecycles."
Selim Cinek [Mon, 5 Feb 2018 20:26:02 +0000 (20:26 +0000)]
Merge "Make sure to set-up listener last in NonPhoneDependencyTest."
TreeHugger Robot [Mon, 5 Feb 2018 19:59:52 +0000 (19:59 +0000)]
Merge "Fix QS -> QQS animation."
Hall Liu [Tue, 30 Jan 2018 01:22:02 +0000 (17:22 -0800)]
Add setting and logging for RTT
Add a system setting to store preferred RTT mode for calls. Add logging
for RTT in Telecom base classes.
Bug:
63934808
Test: manual
Change-Id: Ie26fac800931604379bbe7b8abfed7caa8c0236d
chaviw [Fri, 2 Feb 2018 22:51:20 +0000 (14:51 -0800)]
Check if WindowToken is visible before adding dim.
If a window token is set to hidden, we don't want to add dim layers to any
window states for that window token.
For example, if an AWT is set to exit, but one of its windows has a dim,
we don't want the dim to stay while the app is exiting.
Fixes:
72821785
Test: Press home from app with dialog open. Dim should hide immediately
and not wait until exit animation is complete.
Test: atest WindowManagerSmokeTest
Change-Id: I0f87dd3900fc4535f572cf2b876e29d9b27f0b35
TreeHugger Robot [Mon, 5 Feb 2018 19:27:31 +0000 (19:27 +0000)]
Merge "Make QS footer 90% transparent."
TreeHugger Robot [Mon, 5 Feb 2018 19:26:38 +0000 (19:26 +0000)]
Merge "Import translations. DO NOT MERGE"
Jerry Zhang [Mon, 5 Feb 2018 19:25:34 +0000 (19:25 +0000)]
Merge "Move sharedPreferences to DE directory"
TreeHugger Robot [Mon, 5 Feb 2018 19:24:26 +0000 (19:24 +0000)]
Merge "lowpan: Use IBinder for comparison instead of interface"
Chenjie Yu [Fri, 2 Feb 2018 06:27:17 +0000 (22:27 -0800)]
fix bluetooth puller
+ bluetooth adapter may be lost, in which case we should try to get it
again
Test: cts test
Change-Id: I331ab45cea930cb5b8b95885442214d4a410b13b
Fix:
72949299
TreeHugger Robot [Mon, 5 Feb 2018 18:58:45 +0000 (18:58 +0000)]
Merge "Move to "official" app toolkit Make target"
Aurimas Liutikas [Mon, 5 Feb 2018 18:39:54 +0000 (18:39 +0000)]
Use the correct prebuilts for lifecycles.
This change should have no effect on the app. It is simply unifying some of the prebuilts.
Bug:
72566647
Change-Id: I390febb532efca61b06c32135d0c5b82b61b9cc4
Bryce Lee [Mon, 5 Feb 2018 18:30:40 +0000 (18:30 +0000)]
Merge "Properly handle start results when using wait flag."
Ben Lin [Mon, 29 Jan 2018 19:48:20 +0000 (11:48 -0800)]
Use value from XML for Secure.NOTIFICATION_BADGING.
Config config_notificationBadging was created, and it was used for
showing/hiding the toggle in Settings app. However, since there's no
default value for Settings.Secure.NOTIFICATION_BADGING, it is possible
to be in a state where there's no toggle, and the user is stuck having
it turned on. This change pulls in config_notificationBadging for also
the default value of Secure.NOTIFICATION_BADGING.
Bug:
36021111
Test: Build, flashed and confirmed proper config value. Also don't see
the toggle anymore in Settings app.
Change-Id: Idbf162040d29cf2456356e7c628a29b26fef6363
Amin Shaikh [Fri, 2 Feb 2018 20:00:25 +0000 (15:00 -0500)]
Fix QS -> QQS animation.
- Show the "fancy" animation if the user has not scrolled down in QS
- Fix the "second page" animation to fade out the QS tiles as the QQS
tiles appear
Bug:
72736470
Test: visual
Change-Id: I30b7e004aafd8a96a0950499a91b88d887d6270e
TreeHugger Robot [Mon, 5 Feb 2018 18:23:18 +0000 (18:23 +0000)]
Merge "Lazily create AnimatedImageDrawable's runnable"
TreeHugger Robot [Mon, 5 Feb 2018 18:10:37 +0000 (18:10 +0000)]
Merge "STOPSHIP: Add UidCpuPower global setting"
TreeHugger Robot [Mon, 5 Feb 2018 17:45:12 +0000 (17:45 +0000)]
Merge "For null status bar, can still show volume dialog"
Julia Reynolds [Mon, 5 Feb 2018 17:07:13 +0000 (17:07 +0000)]
Merge "Rename broadcast constants"
Richard Ledley [Mon, 5 Feb 2018 17:06:53 +0000 (17:06 +0000)]
Merge "Linkify documentation updates."
Etan Cohen [Mon, 5 Feb 2018 17:03:49 +0000 (09:03 -0800)]
[P2P] Fix flaky unit test
Unit test format for resource leak detection invalid. Probably cause
of flaky unit test.
Bug:
72941646
Test: unit tests pass locally
Change-Id: Ibd7497b92f118338260c0af48706985172423d0a
TreeHugger Robot [Mon, 5 Feb 2018 16:56:45 +0000 (16:56 +0000)]
Merge "Fix missing JavaDoc of IMM#toggleSoftInput()"
Leon Scroggins III [Tue, 30 Jan 2018 22:16:13 +0000 (17:16 -0500)]
Lazily create AnimatedImageDrawable's runnable
Test: manual
This is only necessary for the software case. No need to create it for
the more typical case of drawing in hardware.
Change-Id: I0f041d59445f874160eeea5b13a54fd89fa26df8
TreeHugger Robot [Mon, 5 Feb 2018 16:27:08 +0000 (16:27 +0000)]
Merge "PackageSignatures: Add close bracket for "past signatures" output."
TreeHugger Robot [Mon, 5 Feb 2018 15:59:56 +0000 (15:59 +0000)]
Merge "Updating smart text selection animation"
Bryce Lee [Wed, 31 Jan 2018 00:00:03 +0000 (16:00 -0800)]
Properly handle start results when using wait flag.
Previously, delivering an intent to the foreground activity was
inccorectly classified as START_TASK_TO_FRONT, rather than
START_DELIVERED_TO_TOP. In the direct case, this occurs when the
target activity is already in front. In the indirect case, this
can occur when the target activity is in the background and
launched by a trampoline in the same task. The trampoline launch
will bring forward the task. However, since it is not focusable
(finishing at the time the second launch occurs), the target
activity is already on top.
This changelist rectifies this issue by first handling
START_DELIVERED_TO_TOP in the direct wait case. This includes
setting the who value of result to the started real activity. This
changelist addresses the indirect case by reporting delivered to
top in the case there are waiting activities after a result.
Fixes:
72654906
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerAmStartOptionsTests
Test: atest FrameworksServicesTests:com.android.server.am.ActivityStackSupervisorTests
Change-Id: I65043e35ef8a20f90bf7cccbf4f1caf110cca246
TreeHugger Robot [Mon, 5 Feb 2018 15:43:27 +0000 (15:43 +0000)]
Merge "Revert "OWNERS files don't really work with groups yet.""
Amin Shaikh [Wed, 31 Jan 2018 23:08:34 +0000 (18:08 -0500)]
Make QS footer 90% transparent.
Bug:
70799330
Test: visual
Change-Id: I08cca7fdfcfd7ffa71b1fcd32480f0c30da09377
TreeHugger Robot [Mon, 5 Feb 2018 15:16:23 +0000 (15:16 +0000)]
Merge "Introduce "adb shell dpm force-security-logs""
Richard Ledley [Mon, 29 Jan 2018 11:58:13 +0000 (11:58 +0000)]
Linkify documentation updates.
Test: Building succeeds.
Bug:
72562811
Change-Id: Idf8979107f487ca93fe970b689a16941565c22b5
Julia Reynolds [Mon, 5 Feb 2018 15:02:30 +0000 (10:02 -0500)]
Rename broadcast constants
Test: runtest systemui-notification, cts verifier
Change-Id: I41812e7fa0ae532fbdff5c5ba88887d1b1187b79
Fixes:
72762612
Ricky Wai [Mon, 5 Feb 2018 14:09:59 +0000 (14:09 +0000)]
Merge "Generate network watchlist report as proto"
TreeHugger Robot [Mon, 5 Feb 2018 13:51:47 +0000 (13:51 +0000)]
Merge "MediaSession2: Implement playFromXXX and prepareFromXXX"
Ricky Wai [Mon, 5 Feb 2018 13:36:06 +0000 (13:36 +0000)]
Merge "Turn on network watchlist service by default"
Jan Althaus [Fri, 2 Feb 2018 16:39:22 +0000 (17:39 +0100)]
Updating smart text selection animation
Now animates the highlight itself as opposed to an outline.
Bug:
70540865
Test: Manually tested it with single and multi-line - ltr and rtl
Change-Id: I8afee259c9952fcff0b713bca62c82a1022f2b0d
Eliot Courtney [Mon, 5 Feb 2018 09:39:45 +0000 (18:39 +0900)]
Make sure to set-up listener last in NonPhoneDependencyTest.
It turns out that when the listener is added, a notification could come
in, and then call one of the managers that wasn't set up yet, causing an
NPE. This led to some flaky presubmits.
Bug:
72648842
Test: none
Change-Id: I250e916246ba7ce8aa356e941ad2b5551303c472
TreeHugger Robot [Mon, 5 Feb 2018 10:17:33 +0000 (10:17 +0000)]
Merge "VV2 & MCV2: Move handling MediaControlView2 visibility logic to VV2"
TreeHugger Robot [Mon, 5 Feb 2018 09:55:29 +0000 (09:55 +0000)]
Merge "Autofill compatibility mode."
Jaewan Kim [Mon, 5 Feb 2018 08:27:07 +0000 (17:27 +0900)]
MediaSession2: Implement playFromXXX and prepareFromXXX
Test: Run all MediaComponents tests once
Bug:
72798434
Change-Id: Ib45fea28c3431edc91af5120270275c906df78b6
Insun Kang [Mon, 5 Feb 2018 06:21:28 +0000 (15:21 +0900)]
VV2 & MCV2: Move handling MediaControlView2 visibility logic to VV2
MediaControlView2's setTimeout API is removed and MCV2's visibility
handling logic is moved into VideoView2.
Test: build
Change-Id: I149119148f159c78e86c5061d247f0a434310719
TreeHugger Robot [Mon, 5 Feb 2018 07:08:15 +0000 (07:08 +0000)]
Merge "MediaSession2: Change controller's behavior when connected"
Daichi Hirono [Thu, 1 Feb 2018 01:59:48 +0000 (10:59 +0900)]
Add new callback to customize input event handling
Bug:
63914027
Test: DragDropControllerTests
Change-Id: I7f606ffd7a803e7f884d236bbac9dc3be8da5de1
Yohei Yukawa [Mon, 5 Feb 2018 06:26:25 +0000 (15:26 +0900)]
Fix missing JavaDoc of IMM#toggleSoftInput()
This CL addresses a typo in the JavaDoc of IMM#toggleSoftInput(),
which has prevented it from being treated as a valid JavaDoc.
Note that this CL removes @hide simply because it is too late. The
method in question has already been exposed to developers since API
level 3 (Cupcake) because of the typo.
Bug:
13002424
Test: make -j doc-comment-check-docs
Change-Id: I3e42d433f20c56ee63373bb390aad59e3bd7ec4f
TreeHugger Robot [Mon, 5 Feb 2018 05:11:18 +0000 (05:11 +0000)]
Merge "Exempt sync requests by FG app from app-standby"
Jaewan Kim [Mon, 5 Feb 2018 04:27:58 +0000 (13:27 +0900)]
MediaSession2: Change controller's behavior when connected
This stops calling
MediaController2.ControllerCallback.onPlaybackStateChanged() when the
controller is connected.
This is the preliminary step towards sending session's current values
to a controller when it's connected.
Bug:
72547163
Test: Run all tests once
Change-Id: I4b5b2ec008500cc71679883792b0ef44f1c24aad
TreeHugger Robot [Mon, 5 Feb 2018 02:07:55 +0000 (02:07 +0000)]
Merge "VideoView2: Replace showSubtitle with setSubtitleEnabled"
Hugo Benichi [Mon, 5 Feb 2018 00:54:50 +0000 (00:54 +0000)]
Merge "Update OWNER files for connectivity" am:
771e229a23 am:
ce0c31d392
am:
9a70530107
Change-Id: I1754c7bd602db58bd6c4e72d5f0dd77786d730da
Hugo Benichi [Mon, 5 Feb 2018 00:39:54 +0000 (00:39 +0000)]
Merge "Update OWNER files for connectivity" am:
771e229a23
am:
ce0c31d392
Change-Id: I5a995856aa347874b534312212ca73ffff0193c0
Hugo Benichi [Mon, 5 Feb 2018 00:30:14 +0000 (00:30 +0000)]
Merge "Update OWNER files for connectivity"
am:
771e229a23
Change-Id: I6daf999785a855ab2a7c97f113f5f8ec87a13256
Michael Plass [Sun, 4 Feb 2018 23:19:50 +0000 (23:19 +0000)]
Merge "WifiConfiguration validation improvement"
Hugo Benichi [Sun, 4 Feb 2018 23:18:52 +0000 (23:18 +0000)]
Merge "Update OWNER files for connectivity"
Xiangyu/Malcolm Chen [Sun, 4 Feb 2018 23:12:34 +0000 (23:12 +0000)]
Merge "Update ServiceState to adapt NetworkService change."
Bo Zhu [Fri, 2 Feb 2018 03:35:19 +0000 (19:35 -0800)]
Add the utility functions to parse and validate XML files contains
public-key certificates for THM
Bug:
72524773
Change-Id: Iad30f11d14857bb919343b6a60b3b83cf85f2c52
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Jack Yu [Sun, 4 Feb 2018 04:44:42 +0000 (04:44 +0000)]
Merge "resolve merge conflicts of
c3415d2bc61c52c9dba8cee8f7587580ede53941 to master"
Jack Yu [Sun, 4 Feb 2018 04:42:01 +0000 (20:42 -0800)]
resolve merge conflicts of
c3415d2bc61c52c9dba8cee8f7587580ede53941 to master
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I072c3d46b81dee0a83036ea7d5e91bd1989fa250
TreeHugger Robot [Sun, 4 Feb 2018 04:39:17 +0000 (04:39 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 4 Feb 2018 04:36:03 +0000 (04:36 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 4 Feb 2018 04:35:44 +0000 (04:35 +0000)]
Merge "Import translations. DO NOT MERGE"
Bill Yi [Sun, 4 Feb 2018 02:23:32 +0000 (18:23 -0800)]
Import translations. DO NOT MERGE
Change-Id: I1f50a4b48ff8d6d5e32811b34353f2874ba41142
Auto-generated-cl: translation import
TreeHugger Robot [Sun, 4 Feb 2018 01:39:01 +0000 (01:39 +0000)]
Merge "Assume the worst when EntryManager is missing."
Jack Yu [Sun, 4 Feb 2018 01:29:45 +0000 (01:29 +0000)]
Merge "Added permission for binding data service" am:
0276f4290f am:
f5d3e300b3
am:
325b8bdb3a -s ours
Change-Id: I538de333acf51bc24fa248fc24223fa47598b4a4
Android Build Merger (Role) [Sun, 4 Feb 2018 01:22:41 +0000 (01:22 +0000)]
Merge "Merge "Add function to update LE connection parameters" am:
853628db72 am:
c3afcfc38c am:
a4c600cb03"
Stanley Tng [Sun, 4 Feb 2018 01:20:48 +0000 (01:20 +0000)]
Merge "Add function to update LE connection parameters" am:
853628db72 am:
c3afcfc38c
am:
a4c600cb03
Change-Id: I3bbb6c7a0f51d17690c3ae47a228758a45c155ee
Android Build Merger (Role) [Sun, 4 Feb 2018 01:13:56 +0000 (01:13 +0000)]
Merge "Merge "Add DENSITY_440" am:
6c40bbdc5e am:
a21fa41755 am:
1d64dc96f7"
weijuncheng [Sun, 4 Feb 2018 01:13:30 +0000 (01:13 +0000)]
Merge "Add DENSITY_440" am:
6c40bbdc5e am:
a21fa41755
am:
1d64dc96f7
Change-Id: I54a18f245ebf70d9d1670973e02a318743a4ec3c
Malcolm Chen [Tue, 30 Jan 2018 01:09:21 +0000 (17:09 -0800)]
Update ServiceState to adapt NetworkService change.
SST is re-routed to get cellular registration states from
CellularNetworkService. Updating ServiceState to adapt that
change.
Bug:
64132030
Test: unittest
Change-Id: Ifd557ce50a4419ead6125cda29c79d331508448e
Xiangyu/Malcolm Chen [Sun, 4 Feb 2018 01:11:03 +0000 (01:11 +0000)]
Merge "Add strings and carrier config needed network service."
Beverly [Sun, 4 Feb 2018 01:08:14 +0000 (01:08 +0000)]
Merge "DO NOT MERGE volume shows when status bar is null" am:
b5993cfb8e -s ours am:
9cd12a53b2
am:
548284fb6d -s ours
Change-Id: I87eb5369d0adff1684f2e8ded3e362774f4beac4
Pavel Maltsev [Sun, 4 Feb 2018 01:06:51 +0000 (01:06 +0000)]
Merge "Enable multiple active Ethernet interfaces" am:
0a6c539901 am:
ac908d6728
am:
3379a3eff9
Change-Id: Ibd84c2ba3252e3d65ba4a63a0be912747ea18df9
Hall Liu [Sun, 4 Feb 2018 00:57:17 +0000 (00:57 +0000)]
Merge "Add missing return statement in setTempFileRootDirectory" am:
d281b1a116 am:
a376949816
am:
048b1517b4
Change-Id: I261b953da7e9edb048becbfcfffb3925f2371ec2
Pengquan Meng [Sun, 4 Feb 2018 00:49:55 +0000 (00:49 +0000)]
Merge "Use IntDef for BCD_EXTENDED_TYPE" am:
97246476a7 am:
a2311212a6
am:
a8f341c47a
Change-Id: I5ddcab70828fec9f59de920feb085c867bd0059e
Ruchi Kandoi [Sun, 4 Feb 2018 00:44:02 +0000 (00:44 +0000)]
Merge "Add NFC Transaction Event intent actions and extras" am:
337e2feada am:
8b35111d3e
am:
9750a6f69a
Change-Id: I8c9f734f8e51ecae23cb225a4295e1b6b63be307
Bill Yi [Sun, 4 Feb 2018 00:25:57 +0000 (16:25 -0800)]
Import translations. DO NOT MERGE
Change-Id: Ib5b8a1aba4e9a8433d8f31ee464c70c8354343ab
Auto-generated-cl: translation import
Jeff Sharkey [Sun, 4 Feb 2018 00:12:22 +0000 (00:12 +0000)]
Merge "Media process should run with "write" access."
Bill Yi [Sun, 4 Feb 2018 00:11:51 +0000 (16:11 -0800)]
Import translations. DO NOT MERGE
Change-Id: Ie7f3fbfc079ce84b437c007c87f9612652c05e18
Auto-generated-cl: translation import
Hall Liu [Sun, 4 Feb 2018 00:05:22 +0000 (00:05 +0000)]
Merge "Rename MbmsDownloadSession#getDownloadStatus" am:
a07d895f09 am:
be305be046
am:
c8cb3aad58
Change-Id: I0c5313fef938e6d9dfbb7779f336a3e3b34fe6c2
Jeff Sharkey [Sat, 3 Feb 2018 23:45:45 +0000 (16:45 -0700)]
Assume the worst when EntryManager is missing.
It's somehow missing during pre-submit tests, so try patching over
to help tests pass. It triggers wtf() to help ensure we chase down
to zero.
Test: sure
Bug:
72898411
Change-Id: I8972da72579f2a4d83aecc9255a74ea9406fd64f
Jeff Sharkey [Sat, 3 Feb 2018 23:41:16 +0000 (23:41 +0000)]
Merge "Move bugreport storage enabling into OS."
Jeff Sharkey [Sat, 3 Feb 2018 22:32:31 +0000 (15:32 -0700)]
Media process should run with "write" access.
The WRITE_MEDIA_STORAGE permission had inadvertently been giving apps
the "default" view of storage. This had worked for a long since,
since we also gave them the "sdcard_rw" permission, but a recent
security patch broke this for secondary users.
Apps holding this permission should have been mounted "write" all
along, and relied on that view to access storage devices. This also
means they no longer need the "sdcard_rw" GID.
Test: builds, boots, secondary user media/camera works
Bug:
72732906,
71737806,
72224817
Change-Id: I5cd687a1e128024f33b4acd93c15e75192ed1c85
Jeff Sharkey [Sat, 3 Feb 2018 22:07:34 +0000 (22:07 +0000)]
Merge "Polished rapid data usage alerting."