OSDN Git Service
TreeHugger Robot [Sat, 3 Mar 2018 00:02:52 +0000 (00:02 +0000)]
Merge "Modifying proto csv output to include privacy levels."
TreeHugger Robot [Fri, 2 Mar 2018 23:59:51 +0000 (23:59 +0000)]
Merge "Remove work mode tile if it is no longer available"
TreeHugger Robot [Fri, 2 Mar 2018 23:58:14 +0000 (23:58 +0000)]
Merge "MediaSession2: Add reset() to the MediaPlayerBase"
Tony Mak [Fri, 2 Mar 2018 17:24:10 +0000 (17:24 +0000)]
Remove work mode tile if it is no longer available
BUG:
72328528
Test: Remove work profile and observe the QS tile is gone.
Change-Id: I3467d0ecbeb3f6a79cdcce3c73dbef12b7519aca
TreeHugger Robot [Fri, 2 Mar 2018 23:56:45 +0000 (23:56 +0000)]
Merge "Add appops shell cmd for start/stop op"
TreeHugger Robot [Fri, 2 Mar 2018 23:38:21 +0000 (23:38 +0000)]
Merge "Add API to let metrics directly drop data without writing to an output."
Bryce Lee [Fri, 2 Mar 2018 23:22:25 +0000 (23:22 +0000)]
Merge "Wait to pause activity if translucent activity is waiting."
TreeHugger Robot [Fri, 2 Mar 2018 22:59:16 +0000 (22:59 +0000)]
Merge "Do not show 'no sims' icon in status bar."
Tri Vo [Fri, 2 Mar 2018 22:39:52 +0000 (22:39 +0000)]
Merge "Revert "Add stats logging in appDiedLocked.""
Adam Lesinski [Fri, 2 Mar 2018 22:38:46 +0000 (22:38 +0000)]
Merge "Change ownership of AAPT2 and libandroidfw"
Tri Vo [Fri, 2 Mar 2018 22:36:23 +0000 (22:36 +0000)]
Revert "Add stats logging in appDiedLocked."
This reverts commit
e2b4c876284eb5e58f1a58cb23ee967e7d2e965b.
Reason for revert: git_master broken
Change-Id: I88e613fec4bdb3a5423770edc3f298867b44cd94
TreeHugger Robot [Fri, 2 Mar 2018 22:36:22 +0000 (22:36 +0000)]
Merge "AAPT2: Allow to inline XML into custom attribute"
TreeHugger Robot [Fri, 2 Mar 2018 22:09:03 +0000 (22:09 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 2 Mar 2018 22:07:47 +0000 (22:07 +0000)]
Merge "Fix reference to missing string"
TreeHugger Robot [Fri, 2 Mar 2018 22:07:47 +0000 (22:07 +0000)]
Merge "AAPT2: Remove resources that define locales but no default values."
Adam Lesinski [Fri, 2 Mar 2018 22:05:45 +0000 (22:05 +0000)]
Merge "Refactor AssetManager"
TreeHugger Robot [Fri, 2 Mar 2018 21:56:30 +0000 (21:56 +0000)]
Merge "pm: SharedUserId: Assign seinfo using actual targetSdkVersion"
TreeHugger Robot [Fri, 2 Mar 2018 21:32:34 +0000 (21:32 +0000)]
Merge "Add resources and hooks required for custom wear global actions."
TreeHugger Robot [Fri, 2 Mar 2018 21:32:34 +0000 (21:32 +0000)]
Merge "Add hooks for custom global actions handling without a status bar."
Lucas Dupin [Fri, 2 Mar 2018 21:28:26 +0000 (21:28 +0000)]
Merge "Don't animate when state is immediate"
Rajeev Kumar [Fri, 2 Mar 2018 21:28:05 +0000 (21:28 +0000)]
Merge "Add stats logging in appDiedLocked."
TreeHugger Robot [Fri, 2 Mar 2018 21:20:47 +0000 (21:20 +0000)]
Merge "Re-enable cross-profile use of spell checker APIs"
Calin Juravle [Fri, 2 Mar 2018 21:13:52 +0000 (21:13 +0000)]
Merge "Ensure the profile descriptor gets closed after posting the result"
TreeHugger Robot [Fri, 2 Mar 2018 20:58:34 +0000 (20:58 +0000)]
Merge "Fix toast lifetime"
TreeHugger Robot [Fri, 2 Mar 2018 20:42:52 +0000 (20:42 +0000)]
Merge "Clarify security level default in openSession()"
Chavi Weingarten [Fri, 2 Mar 2018 20:34:15 +0000 (20:34 +0000)]
Merge "Take screenshot before hiding the WSA."
TreeHugger Robot [Fri, 2 Mar 2018 20:32:18 +0000 (20:32 +0000)]
Merge "Preventing accidental misuse of registerReceiver"
Amin Shaikh [Fri, 2 Mar 2018 20:30:27 +0000 (15:30 -0500)]
Do not show 'no sims' icon in status bar.
Bug:
72540392
Test: visual
Change-Id: I604b4af937753655b3ed4c5e1e4b9973a95126b2
Adam Lesinski [Fri, 2 Mar 2018 20:10:25 +0000 (12:10 -0800)]
Change ownership of AAPT2 and libandroidfw
toddke@ is now the new owner of these projects.
Test: none
Change-Id: Ie92b020e0ba063f48ce8a76ebaef768fe0d554f1
TreeHugger Robot [Fri, 2 Mar 2018 20:01:33 +0000 (20:01 +0000)]
Merge "Copy PermissionChecker from support lib and use in RcognitionService"
TreeHugger Robot [Fri, 2 Mar 2018 20:01:26 +0000 (20:01 +0000)]
Merge "[Companion] Don't promise call back on javadoc"
TreeHugger Robot [Fri, 2 Mar 2018 19:56:40 +0000 (19:56 +0000)]
Merge "Camera: another update API for external camera"
Adam Lesinski [Fri, 2 Mar 2018 19:40:50 +0000 (11:40 -0800)]
Fix reference to missing string
AAPT2 is about to be fixed to remove strings with no default
specified, which is always intended to be a string removal, where the
translations are left behind to be cleaned up at a later translation
update.
Fix this breakage introduced by ag/
3646913
Bug:
36572857
Test: builds
Change-Id: I21030aa174daeff6841e9255d490bbd6c9a2aee7
Rajeev Kumar [Tue, 27 Feb 2018 02:20:11 +0000 (18:20 -0800)]
Add stats logging in appDiedLocked.
Note:
On the device which doesn't have Cgroup log LmkStateChanged which is used as a signal
for pulling memory stats of other running processes when this process died.
This feature would be available on production builds.
To know more about this see: http://go/android-p-memory-metrics
Bug:
73660232
Test: Tested manually
Change-Id: I88c881353ce9e9cdc4201f70731cbd12c79a488a
TreeHugger Robot [Fri, 2 Mar 2018 19:41:56 +0000 (19:41 +0000)]
Merge "Reduce statsd binary size from 730KB-> 664KB"
Mike Digman [Fri, 2 Mar 2018 19:21:22 +0000 (19:21 +0000)]
Merge "Prevent recent and right navbar icon overlap"
TreeHugger Robot [Fri, 2 Mar 2018 19:15:34 +0000 (19:15 +0000)]
Merge "Power profile improvement: support ambient display"
TreeHugger Robot [Fri, 2 Mar 2018 19:14:26 +0000 (19:14 +0000)]
Merge "Add a HINT_KEYWORDS to Slice"
TreeHugger Robot [Fri, 2 Mar 2018 19:12:18 +0000 (19:12 +0000)]
Merge "Add the MetricDimensionKey to the log when anomaly happens."
TreeHugger Robot [Fri, 2 Mar 2018 19:11:22 +0000 (19:11 +0000)]
Merge "Enable ThinLTO for hwui"
TreeHugger Robot [Fri, 2 Mar 2018 19:10:28 +0000 (19:10 +0000)]
Merge "Changing batterystats to use proto values."
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"
Matthew Ng [Fri, 2 Mar 2018 19:09:34 +0000 (19:09 +0000)]
Merge "Removing depreciated fn isLockToAppEnabled in ActivityManagerWrapper"
TreeHugger Robot [Fri, 2 Mar 2018 19:09:31 +0000 (19:09 +0000)]
Merge "Allow debuggable apps to do skp capture"
TreeHugger Robot [Fri, 2 Mar 2018 19:03:25 +0000 (19:03 +0000)]
Merge "Clarify javadoc for DevicePolicyManager.KEYGUARD_DISABLE_WIDGETS_ALL"
Lucas Dupin [Wed, 28 Feb 2018 01:23:41 +0000 (17:23 -0800)]
Don't animate when state is immediate
Avoid extending animation for states that are
immediate. Also cleaning up a little bit and
avoiding unecessary repaint.
Change-Id: I1644ce0b539cf92083b47cf3587b01f92b239095
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Test: brightness mirror
Test: receive notification on keyguard while dragging
Test: unlock with fp
Fixes:
73784491
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."
Etan Cohen [Fri, 2 Mar 2018 18:36:10 +0000 (18:36 +0000)]
Merge "[AWARE] Update documentation to reflect Aware+Ranging best effort"
TreeHugger Robot [Fri, 2 Mar 2018 18:33:40 +0000 (18:33 +0000)]
Merge "Don't draw behind the display cutout in keyguard"
TreeHugger Robot [Fri, 2 Mar 2018 18:09:14 +0000 (18:09 +0000)]
Merge "Fix QQS drag handle position."
TreeHugger Robot [Fri, 2 Mar 2018 18:00:22 +0000 (18:00 +0000)]
Merge "More granular logging when proc file not exist"
TreeHugger Robot [Fri, 2 Mar 2018 17:54:29 +0000 (17:54 +0000)]
Merge "Read install session attrs before child elements"
TreeHugger Robot [Fri, 2 Mar 2018 17:54:08 +0000 (17:54 +0000)]
Merge "Add StateTracker."
TreeHugger Robot [Fri, 2 Mar 2018 17:38:38 +0000 (17:38 +0000)]
Merge "Dump input service in bugreport critical section"
TreeHugger Robot [Fri, 2 Mar 2018 17:38:18 +0000 (17:38 +0000)]
Merge "Fix CTS TextViewTest"
Vladislav Kaznacheev [Fri, 2 Mar 2018 17:34:04 +0000 (17:34 +0000)]
Merge "Add ViewConfiguration.shouldShowMenuShortcutsWhenKeyboardPresent"
Bryce Lee [Fri, 2 Mar 2018 17:18:45 +0000 (17:18 +0000)]
Merge "Do not always destroy activity when cleaning up."
TreeHugger Robot [Fri, 2 Mar 2018 17:16:24 +0000 (17:16 +0000)]
Merge "Immediately enter transient enabling state in QS."
TreeHugger Robot [Fri, 2 Mar 2018 17:08:24 +0000 (17:08 +0000)]
Merge "[AWARE] Update PeerHandle doc to reflect good practice on usage"
TreeHugger Robot [Fri, 2 Mar 2018 17:01:24 +0000 (17:01 +0000)]
Merge "Log some data when the QS panel starts expanding"
Bryce Lee [Wed, 28 Feb 2018 22:21:07 +0000 (14:21 -0800)]
Wait to pause activity if translucent activity is waiting.
A recent change moved an activity to paused if it was stopped and
became visible. However, there are situations where this is not
desired, such as when waiting for translucent activity to become
visible. The extra binder calls from pausing during this time
leads to visible jank. Therefore should avoid moving states until
after this operation has completed.
Change-Id: I7bbab002cbee479f436515e7cc5db6f3a1f10b16
Fixes:
73832787
Test: atest FrameworksServicesTests:com.android.server.am.ActivityRecordTests#testPausingWhenVisibleFromStopped
Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests#testPausedWithTranslucentOnTop
Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests#testPausedWhenReturningWithTranslucentOnTop
Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests#testPausedWhenRecreatedFromInNonFocusedStack
Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests#testPausedWhenRestartedFromInNonFocusedStack
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
TreeHugger Robot [Fri, 2 Mar 2018 16:20:39 +0000 (16:20 +0000)]
Merge "Dump systemUI and notification service in bugreport critical section"
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
TreeHugger Robot [Fri, 2 Mar 2018 16:05:37 +0000 (16:05 +0000)]
Merge "Fix a crash when grContext was deleted"
TreeHugger Robot [Fri, 2 Mar 2018 16:00:29 +0000 (16:00 +0000)]
Merge "Move primary-split-screen stack forward in some cases."
TreeHugger Robot [Fri, 2 Mar 2018 15:57:40 +0000 (15:57 +0000)]
Merge "Revert "Revert "Complete [add|remove]OnSessionTokensChangedListener"""
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
TreeHugger Robot [Fri, 2 Mar 2018 15:52:32 +0000 (15:52 +0000)]
Merge "Addresses API feedback for Intent Discovery change"
TreeHugger Robot [Fri, 2 Mar 2018 15:51:26 +0000 (15:51 +0000)]
Merge "Add transport tests"
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
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
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"
TreeHugger Robot [Fri, 2 Mar 2018 15:27:19 +0000 (15:27 +0000)]
Merge "Don't crash if transitions controller is null"
TreeHugger Robot [Fri, 2 Mar 2018 15:24:32 +0000 (15:24 +0000)]
Merge "MediaMetadata2: Make Javadoc of each key consistent"
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
Beverly Tai [Fri, 2 Mar 2018 15:21:02 +0000 (15:21 +0000)]
Merge "Keep ringer changes in priority only dnd"
Alan Viverette [Fri, 2 Mar 2018 15:08:14 +0000 (15:08 +0000)]
Merge "Revert "Revert "Follow prebuilt/API update"""
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
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
Nicolas Geoffray [Fri, 2 Mar 2018 13:49:42 +0000 (13:49 +0000)]
Merge "Add more fields in the light greylist."
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"
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
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
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
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
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
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
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
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
Chalard Jean [Fri, 2 Mar 2018 11:52:15 +0000 (11:52 +0000)]
Merge "Give apps with NETWORK_SETTINGS right to see any VPN."
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"
TreeHugger Robot [Fri, 2 Mar 2018 09:57:14 +0000 (09:57 +0000)]
Merge "Add 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
Jaewan Kim [Fri, 2 Mar 2018 00:12:16 +0000 (09:12 +0900)]
MediaSession2: Add reset() to the MediaPlayerBase
This would be used in response to
- MediaController2#play()
- KEYCODE_MEDIA_STOP
Bug:
64098437
Test: passed MediaComponentTest
Change-Id: I7cd4d855d5e1bf8e4260a9b920f30dfe2eea44e1
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
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"
Hyundo Moon [Fri, 2 Mar 2018 08:22:20 +0000 (08:22 +0000)]
Merge "Move MediaItem2 Builder to updatable"
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
Calin Juravle [Fri, 2 Mar 2018 03:42:45 +0000 (19:42 -0800)]
Ensure the profile descriptor gets closed after posting the result
We need to close the descriptor after posting the result on the
handler, otherwise we might risk sending in a close descriptor.
Bug:
73505439
Test: gts ArtManagerHostTest
Change-Id: I469683e323940ac88ea9e8c16e3df7a526ca77b3