OSDN Git Service
TreeHugger Robot [Tue, 20 Mar 2018 02:47:50 +0000 (02:47 +0000)]
Merge "Expose remaining READ_PHONE_STATE and SEND_SMS APIs to carrier apps." into pi-dev
Sunny Goyal [Tue, 20 Mar 2018 02:07:48 +0000 (02:07 +0000)]
Merge "Updating java doc for requestPinAppWidget" into pi-dev
Chavi Weingarten [Tue, 20 Mar 2018 01:10:53 +0000 (01:10 +0000)]
Merge "Ensure pause when turnScreenOn flag is removed" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 00:16:57 +0000 (00:16 +0000)]
Merge changes I0c466350,I09a9cd43,I8b2a0819 into pi-dev
* changes:
Reset dummy stack view tasks after computing transition into Recents
Don't update onboarding if there is no valid running task.
Only check screen pinning state on touch down.
Chris Tate [Tue, 20 Mar 2018 00:09:59 +0000 (00:09 +0000)]
Merge "Don't ANR if a broadcast recipient is sitting at a breakpoint" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 23:17:00 +0000 (23:17 +0000)]
Merge "Add metric for battery tip action" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 23:07:06 +0000 (23:07 +0000)]
Merge "Fix a UidMap crash." into pi-dev
Karthik Ravi Shankar [Mon, 19 Mar 2018 22:55:52 +0000 (22:55 +0000)]
Merge "Fix the binder calling identity in setVrMode" into pi-dev
Alice Sheng [Mon, 19 Mar 2018 22:38:25 +0000 (22:38 +0000)]
Merge "Revert "Add setting for enabling CPU frequency scaling."" into pi-dev
Alice Sheng [Mon, 19 Mar 2018 22:36:12 +0000 (22:36 +0000)]
Revert "Add setting for enabling CPU frequency scaling."
This reverts commit
2e8afd8736cba3352bcbf585461becb20a7c7600.
Reason for revert: SELinux Boot crash
Bug:
75974893
Change-Id: I4751530a1b460842130a495efe688aaf19b92638
TreeHugger Robot [Mon, 19 Mar 2018 22:24:04 +0000 (22:24 +0000)]
Merge "Settings: Remove unused bg scan throttle settings" into pi-dev
Winson Chung [Mon, 19 Mar 2018 22:08:13 +0000 (15:08 -0700)]
Reset dummy stack view tasks after computing transition into Recents
- Also clear up references from the app transition spec future to the
parent implementation, which can also leak memory.
Bug:
73961798
Test: Enter recents, ensure that dummy stack view holds no task refs
Change-Id: I0c466350c1c1dd490f8776ca23f13de0d698e060
Siyamed Sinir [Mon, 19 Mar 2018 22:15:31 +0000 (22:15 +0000)]
Merge "Fix rounding error related to autoSize" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 22:15:11 +0000 (22:15 +0000)]
Merge "Removing the settings-based IncidentReportArgs method." into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 22:10:31 +0000 (22:10 +0000)]
Merge "Work around incorrect Skia gamma" into pi-dev
Winson Chung [Mon, 19 Mar 2018 22:04:56 +0000 (15:04 -0700)]
Don't update onboarding if there is no valid running task.
Bug:
75974298
Test: Manual, just a null check
Change-Id: I09a9cd435854846c62ea2ef42e8c91e727a81f04
TreeHugger Robot [Mon, 19 Mar 2018 22:02:58 +0000 (22:02 +0000)]
Merge "Camera2: Use Set for physical camera IDs" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 21:59:15 +0000 (21:59 +0000)]
Merge "Add '?' to permission group requests." into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 21:47:22 +0000 (21:47 +0000)]
Merge "Fix up brightness docs." into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 21:44:23 +0000 (21:44 +0000)]
Merge "Move trusted CA certs to core" into pi-dev
Jian Jin [Mon, 19 Mar 2018 21:40:41 +0000 (21:40 +0000)]
Merge "Added strings used by car keyguard overlay" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 21:40:37 +0000 (21:40 +0000)]
Merge "Frameworks: Fix Binder.joinThreadPool" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 21:26:37 +0000 (21:26 +0000)]
Merge "Add setupwizard personalisation state to Settings" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 21:23:58 +0000 (21:23 +0000)]
Merge "Allow system apps to make channels that bypass DND" into pi-dev
Winson Chung [Mon, 19 Mar 2018 21:19:41 +0000 (14:19 -0700)]
Only check screen pinning state on touch down.
Bug:
74997742
Test: Swipe up, check systrace
Change-Id: I8b2a0819bc839b2bc76775c99df0840ab889a96e
TreeHugger Robot [Mon, 19 Mar 2018 21:15:52 +0000 (21:15 +0000)]
Merge "Move roaming icon to upper left." into pi-dev
Brad Ebinger [Mon, 19 Mar 2018 21:12:43 +0000 (21:12 +0000)]
Merge "Remove IMS Emergency Calling availability API" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 21:09:31 +0000 (21:09 +0000)]
Merge "Dispatching display list recreations also to transient views" into pi-dev
Adam Powell [Mon, 19 Mar 2018 21:09:01 +0000 (21:09 +0000)]
Merge "Add factory methods for async Handlers" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 21:04:39 +0000 (21:04 +0000)]
Merge "Small fixes to StatsManager API." into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 21:01:30 +0000 (21:01 +0000)]
Merge "Set application info flags prior to scanning" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 20:55:18 +0000 (20:55 +0000)]
Merge "TelephonyManager System APIs process" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 20:45:55 +0000 (20:45 +0000)]
Merge "Atoms: Mobile Connection" into pi-dev
Yao Chen [Mon, 19 Mar 2018 20:43:29 +0000 (13:43 -0700)]
Fix a UidMap crash.
Bug:
75968717
Test: CTS with sanitizer
Change-Id: I9516d3b59f72816159c9fc1fe75ca64bfe21d799
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
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
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
TreeHugger Robot [Mon, 19 Mar 2018 19:57:14 +0000 (19:57 +0000)]
Merge "Fixed isVisibleToUserForAutofill() again." 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
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
Leon Scroggins [Mon, 19 Mar 2018 19:28:09 +0000 (19:28 +0000)]
Merge "Add ImageDecoder.Source for resources" into pi-dev
Julia Reynolds [Mon, 19 Mar 2018 19:18:47 +0000 (19:18 +0000)]
Merge "Update system notification text" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 19:16:55 +0000 (19:16 +0000)]
Merge "Remove unneeded sysui notifications" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 19:10:16 +0000 (19:10 +0000)]
Merge "Disabler AppStateTracker debug log" 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
Amin Shaikh [Thu, 8 Mar 2018 16:20:41 +0000 (11:20 -0500)]
Move roaming icon to upper left.
- Update stat_sys_roaming to the new M2 icon
- Move the R icon to be displayed in the upper left corner of the signal
icon instead of centered to the right
- Also remove unncessary extra SignalDrawable in SignalClusterView
Fixes:
72540392
Test: visual
Change-Id: I4ac0e160b0f262bf6912f61f0817b778634be1ad
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
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
Alice Sheng [Mon, 19 Mar 2018 18:41:40 +0000 (18:41 +0000)]
Merge "Add setting for enabling CPU frequency scaling." into pi-dev
Lei Yu [Mon, 12 Mar 2018 18:28:40 +0000 (11:28 -0700)]
Add metric for battery tip action
Add metrics for different kind of battery actions. Also
add a field to specify the type of anomaly.
Bug:
73888115
Test: Build
Change-Id: I2e4d912a5e25b8fe92ec000d5086e44b0e9f190d
sqian [Fri, 9 Mar 2018 01:03:35 +0000 (17:03 -0800)]
TelephonyManager System APIs process
- lock down some TelephonyManager APIs with system permission
- deprecate some TelephonyManager APIs due to its equivalents
- introduce an aidl interface that handles the current
getPhoneType() functions
The doc: https://docs.google.com/spreadsheets/d/1OJ6EXJ-Zys21mZ1BHgJeWkcfLq0pPxBR765r46ck80U/edit#gid=0
Bug:
62346128
Test: Compile
Change-Id: I5367372f3304e5ad368d0d4775f6e96168243aa3
Merged-In: I5367372f3304e5ad368d0d4775f6e96168243aa3
(cherry picked from commit
3b991aee47d7c46c7ae708636e268b0c7709b3e2)
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
Felipe Leme [Mon, 19 Mar 2018 18:27:20 +0000 (18:27 +0000)]
Merge "Fixed AutofillManager.isAutofillUiShowing()" into pi-dev
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
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
TreeHugger Robot [Mon, 19 Mar 2018 18:14:18 +0000 (18:14 +0000)]
Merge "Deletes default allowed_log_sources in statsd." 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
chaviw [Fri, 16 Mar 2018 22:33:43 +0000 (15:33 -0700)]
Ensure pause when turnScreenOn flag is removed
Because of Id5a7e04a354032ad10cf285f8d6b26d666734e6e,
inResumeTopActivity will always be true. This was preventing the
activity from getting paused when it did not have the turnScreenOn flag.
Change-Id: I483b1a50dee1dd99d0e0b1bb49d2deb7b2d0d9a6
Fixes:
74775193
Test: testTurnScreenOnAttrRemove
Brad Ebinger [Fri, 9 Mar 2018 00:21:42 +0000 (16:21 -0800)]
Remove IMS Emergency Calling availability API
Moving to an async update model for updating
IMS emergency calling availability, so this
API is unneeded.
Bug:
74389647
Test: Telephony ImsService testapp
Merged-In: I6b8ba0608c540113ce7303907ec632989c6422bc
Change-Id: Ib7b7dc5b1438f038b370ae9faf152fb15ed4acd5
Adrian Roos [Mon, 19 Mar 2018 18:02:22 +0000 (18:02 +0000)]
Merge "Fix PackageParser tests" 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
TreeHugger Robot [Mon, 19 Mar 2018 17:56:14 +0000 (17:56 +0000)]
Merge "Don't use IPC in isolateProcess" into pi-dev
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
Shuzhen Wang [Mon, 19 Mar 2018 17:30:45 +0000 (10:30 -0700)]
Camera2: Use Set for physical camera IDs
Because physical camera IDs are not ordered, use Set instead.
Test: Camera CTS
Bug:
74838822
Change-Id: I2ca73ba42f4517283f4c0048f9369498b11eea66
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
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."
Roshan Pius [Fri, 2 Mar 2018 22:54:13 +0000 (14:54 -0800)]
Settings: Remove unused bg scan throttle settings
Bug:
68987915
Test: Compiles
Change-Id: I49b213f0d63f2a639e45c2239506787d31ae866a
Merged-In: Id878daa0f782ddc751e726ee19cdc1c8e5ea1bc2
Todd Kennedy [Fri, 16 Mar 2018 22:44:04 +0000 (15:44 -0700)]
Set application info flags prior to scanning
In the case where an app is updated with a version greater
than what's on the /system partition, we still attempt to
scan the version on the /system partition to ensure we have
the most up-to-date information [since it may have been
changed during an OTA]. However, we mistakenly did not
apply any package policy prior to scanning. This left
package data only partially set [eg. the application info
object in the package was missing the fact that it was a
system package] and prevented us from scanning the package
correctly.
Scanning _should_ be completely self contained. The two
scan methods should be merged and made static. Any writing
or changing of service structures [eg. commiting the
scanned package settings or creating a shared user setting]
should be handled outside of the scan method, in the add()
method.
Change-Id: I8d5404a4f0f074ee02d26449c0b01e7a3c949334
Fixes:
62980149
Test: flash O MR1
Test: install latest chrome pkg [version > than what's on P]
Test: flash P
Test: see that the disabled version of chrome still has its ABI set
(cherry picked from commit
fcd5279c9e43c169e52768f1be8bc2e391b027ac)
David Chen [Thu, 22 Feb 2018 02:58:23 +0000 (18:58 -0800)]
Small fixes to StatsManager API.
Adds some annotations, deletes an unused API method, and adds some
comments.
Test: Flashed onto marlin-eng and verified there are no crashes.
Bug:
72562867
Change-Id: I6c93ee4aeeacf6842795256c76551cfb1c28888d
TreeHugger Robot [Mon, 19 Mar 2018 17:24:17 +0000 (17:24 +0000)]
Merge "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
Mike Digman [Mon, 19 Mar 2018 17:22:39 +0000 (17:22 +0000)]
Merge "Fix KeyButtonDrawable dark intensity logic error" 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
TreeHugger Robot [Mon, 19 Mar 2018 17:17:12 +0000 (17:17 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Karthik Ravi Shankar [Thu, 7 Dec 2017 02:06:21 +0000 (18:06 -0800)]
Fix the binder calling identity in setVrMode
When an app calls setVrMode, we end up moving the task stack which needs
MANAGE_ACTIVITY_STACKS permission which the app can never get. So, clear
the binder identity of the app while making this call.
Testing: android.vr.cts.VrSetFIFOThreadTest
Bug:
65743448
Change-Id: Id37968f4fb5531edadb0726e5fc04b2470d2d0e5
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
(cherry picked from commit
ac214bbfa2ebd8863cb36e3f002760ef3293b0da)
Mike Digman [Mon, 19 Mar 2018 17:13:30 +0000 (17:13 +0000)]
Merge "Add disable2 flag for rotate suggestions" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 17:08:45 +0000 (17:08 +0000)]
Merge "Light greylist additions." into pi-dev
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
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
TreeHugger Robot [Mon, 19 Mar 2018 16:58:23 +0000 (16:58 +0000)]
Merge "Update mobile data off dialog." into pi-dev
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
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
Lorenzo Colitti [Mon, 19 Mar 2018 16:49:47 +0000 (16:49 +0000)]
Merge "Enable cleartext for captive portal apps" into pi-dev
Julia Reynolds [Mon, 19 Mar 2018 14:26:32 +0000 (10:26 -0400)]
Allow system apps to make channels that bypass DND
Test: runtest systemui-notification
Bug:
75429403
Change-Id: I3168eb7e7313b85c2c56935adb4eeea7880d4ef3
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
TreeHugger Robot [Mon, 19 Mar 2018 16:47:30 +0000 (16:47 +0000)]
Merge "Frameworks: Make MockUtils more robust" 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
Sarah Edris [Mon, 19 Mar 2018 16:42:39 +0000 (16:42 +0000)]
Merge "Whitelist FullBackupDataOutput" into pi-dev
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
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
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
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
Robert Berry [Mon, 19 Mar 2018 12:11:20 +0000 (12:11 +0000)]
Move trusted CA certs to core
Android Security team asked us to do this.
Bug:
74621071
Test: runtest frameworks-core -p android.security.backup
Change-Id: Ieae1649b82d0143fd5d560195f74b9fc10316d02
TreeHugger Robot [Mon, 19 Mar 2018 16:18:53 +0000 (16:18 +0000)]
Merge "StatsManager log lines should be in logcat" into pi-dev
Philip P. Moltmann [Mon, 19 Mar 2018 15:58:37 +0000 (08:58 -0700)]
Add '?' to permission group requests.
Test: Looked at permission request for location (when starting camera
app)
Fixes:
74363789
Change-Id: I7b7225890dba99cf99ef9373224da3a903a981f7
Adam Powell [Wed, 21 Feb 2018 18:18:25 +0000 (10:18 -0800)]
Add factory methods for async Handlers
Message.setAsynchronous is already public and this makes working
with posted messages that do not interact with UIs quite a bit nicer.
Added as factory methods for better integration with support shims
as well as generally encouraging the use of the handler callback
instead of subclassing for working with custom messages.
Bug:
73124158
Change-Id: I1210e7dc524fdf771e7af19297d5a822fdbd502c
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
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
Makoto Onuki [Mon, 19 Mar 2018 15:12:36 +0000 (15:12 +0000)]
Merge "Fix SyncResutl.delayUntil javadoc" into pi-dev
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