OSDN Git Service
Hugo Benichi [Wed, 17 May 2017 00:26:30 +0000 (09:26 +0900)]
Prettify the captive portal sign-in activity
- fuses url bar with activity header: url is now the subtitle
- url appears as text and not as editable content
- url only shows host name
- header style is the device default for Settings
- Material progress bar
- progress bar disappears at page load finished
- webview does not jump at page load finished
Bug:
62107381
Bug:
38197949
Test: tested by manually triggering the sign-in activity
Change-Id: Id75023acad04f444dbfc41de56814a09e70cc6f9
Adam Lesinski [Wed, 31 May 2017 22:36:55 +0000 (22:36 +0000)]
Merge "BatteryStats: Acquire network stats without BatteryStatsImpl lock" into oc-dev
TreeHugger Robot [Wed, 31 May 2017 22:28:59 +0000 (22:28 +0000)]
Merge "hotspot2: add/update javadoc for Passpoint APIs" into oc-dev
Bryce Lee [Wed, 31 May 2017 21:46:15 +0000 (21:46 +0000)]
Merge "Revert "Handle not having main window in createThumbnailAppAnimator."" into oc-dev
Bryce Lee [Wed, 31 May 2017 21:22:33 +0000 (21:22 +0000)]
Revert "Handle not having main window in createThumbnailAppAnimator."
This reverts commit
6db4d15d726b8830ad56766352a79fe0417cb9c2.
Bug:
62096254
Reason for revert: Breaking the build due to test references to class
Change-Id: I6021c802d04a3a55a19f54fc94389957c8152ed9
TreeHugger Robot [Wed, 31 May 2017 21:07:03 +0000 (21:07 +0000)]
Merge "Do not add unnecessary prefix to dumpsys activity provider [NAME] --proto" into oc-dev
TreeHugger Robot [Wed, 31 May 2017 20:48:49 +0000 (20:48 +0000)]
Merge "AAPT2: Update --no-version-vector list" into oc-dev
Adam Lesinski [Wed, 31 May 2017 20:48:00 +0000 (20:48 +0000)]
Merge "AAPT2: Allow merging of Style attributes from overlays" into oc-dev
TreeHugger Robot [Wed, 31 May 2017 20:43:14 +0000 (20:43 +0000)]
Merge "Don't automatically autofill when manual request returned just 1 dataset." into oc-dev
Bryce Lee [Wed, 31 May 2017 20:39:29 +0000 (20:39 +0000)]
Merge "Handle not having main window in createThumbnailAppAnimator." into oc-dev
Peter Qiu [Wed, 3 May 2017 17:23:22 +0000 (10:23 -0700)]
hotspot2: add/update javadoc for Passpoint APIs
Add javadoc for getter/setter methods configuration classes.
Document exceptions with @throws tag.
Bug:
37907515
Test: build
Change-Id: Ied1842912f6710530bf77db4df5ef5d30a44b2a7
TreeHugger Robot [Wed, 31 May 2017 19:53:10 +0000 (19:53 +0000)]
Merge "Added missing lock and clean up locked function that wasn't locked" into oc-dev
TreeHugger Robot [Wed, 31 May 2017 19:44:56 +0000 (19:44 +0000)]
Merge "AOD: Scale icon padding with the drawing size" into oc-dev
TreeHugger Robot [Wed, 31 May 2017 19:43:00 +0000 (19:43 +0000)]
Merge "Change default for group alert behavior" into oc-dev
TreeHugger Robot [Wed, 31 May 2017 19:40:38 +0000 (19:40 +0000)]
Merge "Don't verify secondary setting on restore" into oc-dev
Joe Onorato [Wed, 31 May 2017 19:26:45 +0000 (19:26 +0000)]
Merge "Track Partial wakelock time in background" into oc-dev
Joe Onorato [Wed, 31 May 2017 19:26:45 +0000 (19:26 +0000)]
Merge "Fix batterystat Counter misreporting when charging" into oc-dev
Joe Onorato [Wed, 31 May 2017 19:26:45 +0000 (19:26 +0000)]
Merge "Batterystats track background bad ble scan time" into oc-dev
Adam Lesinski [Fri, 26 May 2017 18:50:40 +0000 (11:50 -0700)]
BatteryStats: Acquire network stats without BatteryStatsImpl lock
Moves the network stats collection under a different lock to
prevent the main BatteryStatsImpl lock from being held while doing I/O.
Bug:
37645919
Bug:
38296815
Test: manual
Change-Id: I0d6b4a7b12b234939cb6eb3a32658b28f61dff4f
TreeHugger Robot [Wed, 31 May 2017 18:50:55 +0000 (18:50 +0000)]
Merge "Don't call remoteFillService.destroy() until session is removed." into oc-dev
TreeHugger Robot [Wed, 31 May 2017 18:49:33 +0000 (18:49 +0000)]
Merge "Always post AutofillManager operations in the UI thread." into oc-dev
Winson Chung [Wed, 31 May 2017 18:46:53 +0000 (18:46 +0000)]
Merge changes from topic 'hw_bitmap' into oc-dev
* changes:
DO NOT MERGE Updating AnimationSpec and related internal APIs to use GraphicBuffer.
Update code to draw into hardware bitmaps.
Hyunyoung Song [Wed, 24 May 2017 23:48:41 +0000 (16:48 -0700)]
Do not add unnecessary prefix to dumpsys activity provider [NAME] --proto
Bug:
36904684
Test: builds, and tests succeed in the same topic branch
The test executes following
"dumpsys activity provider [launcher package name]/[provider name that implements workspace dump logging]
--proto"
In order to extract the proto binary from this stream, there cannot
be extra prefix added to each line. Hence, when "--proto" flag
is on, simply call the sub provider record's dump method.
This is following same pattern on other system service dump.
Having --proto flag also doesn't do any pretty printing.
e.g., dumpsys appwidget --proto.
Change-Id: I13712a45ce5b584123b3bd73c023df349fb86809
TreeHugger Robot [Wed, 31 May 2017 18:22:52 +0000 (18:22 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Wed, 31 May 2017 18:17:42 +0000 (18:17 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Jorim Jaggi [Wed, 31 May 2017 18:07:21 +0000 (18:07 +0000)]
Merge "Check for null owner info" into oc-dev
Julia Reynolds [Wed, 31 May 2017 17:45:52 +0000 (13:45 -0400)]
Change default for group alert behavior
To alert for children but not the summary.
Bug:
62027641
Test: cts
Change-Id: Ie7978514be45be6b13c2ea3bd7ff898db352a1ed
Bryce Lee [Wed, 31 May 2017 17:27:42 +0000 (10:27 -0700)]
Handle not having main window in createThumbnailAppAnimator.
A recent code change associated the SurfaceControl with the main
window owner id. However, it is possible for the an AppWindowToken to
not have a main window. This case is handled later in the method.
This CL restores the original behavior of using the calling uid in
the cases no main window is present.
Change-Id: Iad69fe383c2208c1db523c8b4601a8f927f9318a
Fixes:
62096254
Test: go/wm-smoke
Adam Lesinski [Wed, 31 May 2017 17:22:30 +0000 (10:22 -0700)]
AAPT2: Update --no-version-vector list
Keep in sync with AAPT. Since gradle is moving to use AAPT2
by default, updates to AAPT will no longer be necessary and
this will be the authoritative list until a more programmatic
solution presents itself.
Bug:
62211148
Test: manual
Change-Id: Id9232c9fb730c50e4850887fa0f5da82574ca900
Adam Lesinski [Tue, 30 May 2017 22:15:58 +0000 (15:15 -0700)]
AAPT2: Allow merging of Style attributes from overlays
Previously style overlays would completely override an existing style.
To be compatible with AAPT, styles now merge with the overlay, allowing
the overlay's attributes and parent to take precedence.
Bug:
38355988
Test: make aapt2_tests
Change-Id: Id25c7240050a43e6a4a177c6e3d51e048d0cceb5
TreeHugger Robot [Wed, 31 May 2017 16:28:51 +0000 (16:28 +0000)]
Merge "Fix for wifi detail icon disappearing" into oc-dev
Winson Chung [Wed, 24 May 2017 22:50:06 +0000 (15:50 -0700)]
DO NOT MERGE Updating AnimationSpec and related internal APIs to use GraphicBuffer.
- This reduces the copy of the hardware bitmap when it is
parceled/unparceled.
Bug:
38507414
Bug:
62021436
Test: Launch Overview to/from app, ensure that the header bar shows
Test: go/wm-smoke
Change-Id: I85a9a59a0a3699d1642158061d10fddef34393c3
Signed-off-by: Winson Chung <winsonc@google.com>
Julia Reynolds [Tue, 30 May 2017 19:36:49 +0000 (15:36 -0400)]
Don't verify secondary setting on restore
It'll already be verified as the primary setting of another
managed services type, and it will have a different service
interface, so it shouldn't be overwritten with the primary setting's
service information.
Fixes:
38236571
Test: restore a device. make sure the backup has vr notification
listener permissions on (or any other pkg with both a notification
listener and a condition provider) and some other enabled
notification listener (like a launcher). make sure both
listeners are enabled post restore.
Change-Id: I2e919c2bb06695a3326269571a901ed627c8bee6
TreeHugger Robot [Wed, 31 May 2017 16:04:23 +0000 (16:04 +0000)]
Merge "Don't crash when presented with non-roundRect clipping outline." into oc-dev
TreeHugger Robot [Wed, 31 May 2017 15:42:52 +0000 (15:42 +0000)]
Merge "Fix header not set on initialization" into oc-dev
Rebecca Silberstein [Wed, 31 May 2017 15:42:27 +0000 (15:42 +0000)]
Merge "WifiManager: setWifiApEnabled always returns false" into oc-dev
TreeHugger Robot [Wed, 31 May 2017 15:41:58 +0000 (15:41 +0000)]
Merge "Hide Wi-Fi activity indicator when Wi-Fi icon is hidden" into oc-dev
TreeHugger Robot [Wed, 31 May 2017 15:37:42 +0000 (15:37 +0000)]
Merge "Fix Error Prone ArrayEquals/ArrayHashCode bugs" into oc-dev
Jeff Sharkey [Wed, 31 May 2017 14:18:24 +0000 (14:18 +0000)]
Merge "Consistent "low storage" behavior." into oc-dev
TreeHugger Robot [Wed, 31 May 2017 13:53:09 +0000 (13:53 +0000)]
Merge "Fix infinite loop problem in AnimationHandler" into oc-dev
Yoshinori Hirano [Fri, 26 May 2017 02:53:34 +0000 (11:53 +0900)]
Hide Wi-Fi activity indicator when Wi-Fi icon is hidden
Wi-Fi icon in the status bar can be blocked by System UI Tuner.
So the activity indicator should be hidden.
Fixes:
62211154
Test: manual - block Wi-Fi icon
Author: Akira Oshimi <akira.oshimi@sony.com>
Change-Id: Iba698d621d60f6d6c9f6d8205f91df49806f3f54
TreeHugger Robot [Wed, 31 May 2017 12:06:18 +0000 (12:06 +0000)]
Merge "Change the thread for handling shutdown of PowerManagerService." into oc-dev
Bill Yi [Wed, 31 May 2017 08:29:44 +0000 (01:29 -0700)]
Import translations. DO NOT MERGE
Change-Id: I6fda2cc77767045574759821cda2f330b4c1741b
Auto-generated-cl: translation import
Bill Yi [Wed, 31 May 2017 05:42:44 +0000 (22:42 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ibb3d3f1843e4488274f6eb3c72ba2a7dbe1de6f8
Auto-generated-cl: translation import
Jeff Sharkey [Fri, 26 May 2017 19:10:46 +0000 (13:10 -0600)]
Consistent "low storage" behavior.
When answering the question "how much space is free", use the same
logic for Settings UI and StorageManager.getAllocatableBytes(). That
is, the reported free space is usable bytes plus any cached data the
system is willing to delete automatically.
This does *not* include any reserved cache space, since we don't want
abusive apps to penalize other well-behaved apps that are storing
their data in cache locations. Callers freeing cached data need to
now explicitly request defiance of the reserved cache space. (Most
callers are already doing this by using FLAG_ALLOCATE_AGGRESSIVE.)
Rewrite the core logic of DeviceStorageMonitorService to understand
this new "reserved" cache space, and to be easier to understand. It
also now handles cached data on adopted storage volumes, which had
been ignored until now. Also fix bug where we had skipped "low"
broadcasts when the device skipped directly from/to "full" state.
Bug:
38008706
Test: cts-tradefed run commandAndExit cts-dev -m CtsJobSchedulerTestCases -t android.jobscheduler.cts.StorageConstraintTest
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest
Change-Id: Icbdcf3b52775f7ada1ceaeff2f96094c8d8052f9
TreeHugger Robot [Wed, 31 May 2017 03:54:51 +0000 (03:54 +0000)]
Merge "Fix unnecessary relaunches when unlocking with fingerprint sensor." into oc-dev
Adrian Roos [Wed, 31 May 2017 03:25:52 +0000 (20:25 -0700)]
AOD: Scale icon padding with the drawing size
Fixes an issue where the icon placement algorithm would not take into
account the drawingScale of the icon.
Change-Id: Ia6b7e7d32ce584b04035b45d2abc61e0e4590ee8
Test: Trigger AOD1, observe that icons are correctly spaced, also test transition to lockscreen and observe there's no jank
Fixes:
62205097
Felipe Leme [Wed, 31 May 2017 01:04:23 +0000 (18:04 -0700)]
Don't call remoteFillService.destroy() until session is removed.
Test: CtsAutoFillServiceTestCases pass
Fixes:
62200831
Bug:
62106708
Change-Id: I4e54e28a347e800c0b8353938399c860f213edfa
Felipe Leme [Tue, 30 May 2017 22:47:28 +0000 (15:47 -0700)]
Always post AutofillManager operations in the UI thread.
Test: existing CtsAutoFillServiceTestCases pass
Fixes:
62194407
Change-Id: If878b2befc03706c000b3f31b60904072b2225f4
Svet Ganov [Wed, 24 May 2017 07:27:21 +0000 (00:27 -0700)]
Prune unused static libs and instant apps if space needed
We are caching unused static shared libs and instant apps
(installed and uninstalled) opportunistically. If space is
needed we delete these to free up space.
Test: manual
bug:
62045000
Change-Id: Id992dee5c7c6e36b8e8b81050602dbc4eeafb0f9
TreeHugger Robot [Wed, 31 May 2017 02:22:27 +0000 (02:22 +0000)]
Merge "Do not set the divider pos during adjust ime and minimized interaction" into oc-dev
Wale Ogunwale [Wed, 24 May 2017 22:14:42 +0000 (15:14 -0700)]
Fix unnecessary relaunches when unlocking with fingerprint sensor.
When the device is unlocked using the fingerprint sensor in an
orientation opposite to the lockscreen orientation, the app that
will be visible is first relaunched in the current lockscreen
orientation and then later relaunched in the correct orientation.
If the keygaurd is going away then:
- Don't let keyguard affect device orientation. We want to use the
orientation of the app that will be visible.
- Allow the rotation sensor to be enabled even though draw isn't
complete so window manager can get the updated or last rotation
reading.
- Don't clear the previous proposed sensor reading to allow
window manager to use the information to update the orientation as
needed vs. falling back to the previous orientation.
Change-Id: I8369723d6a77f2c602f1ef080371fa7cd9ee094e
Fixes:
38494778
Test: Launch an app that doesn't fix orientation like clock, hold
the device in landscape, press the power button, unlock the device
using the fingerprint sensor, and verify the the app isn't
relaunched.
Joe Onorato [Wed, 31 May 2017 01:18:01 +0000 (01:18 +0000)]
Merge "Turn off logspam" into oc-dev
TreeHugger Robot [Wed, 31 May 2017 01:07:21 +0000 (01:07 +0000)]
Merge changes I4b58610f,Ib758756a into oc-dev
* changes:
Turn off the check in the test because the assertion is off in the implementation.
Fix typos that cause infinite recursion and CTS test failure.
Jorim Jaggi [Wed, 31 May 2017 01:01:49 +0000 (18:01 -0700)]
Check for null owner info
Test: Cast screen, lock keyguard
Change-Id: I314244d8a5fe1d7f49afbaf5247e84d5ea4df027
Fixes:
38484035
TreeHugger Robot [Wed, 31 May 2017 00:52:38 +0000 (00:52 +0000)]
Merge "Compare against correct user id to determine static lib clients" into oc-dev
TreeHugger Robot [Wed, 31 May 2017 00:26:30 +0000 (00:26 +0000)]
Merge "Make NFC AIDL callbacks oneway" into oc-dev
Dianne Hackborn [Wed, 31 May 2017 00:12:58 +0000 (00:12 +0000)]
Merge "Fix issue #
62196301: Pre-O background restrictions allow starts..." into oc-dev
TreeHugger Robot [Wed, 31 May 2017 00:00:53 +0000 (00:00 +0000)]
Merge "Fix issue with aspect ratio not applying correctly when PIP is expanded" into oc-dev
TreeHugger Robot [Tue, 30 May 2017 23:58:01 +0000 (23:58 +0000)]
Merge "Fix NPE and wrong behavior of Typeface.isSupportedAxes" into oc-dev
Lucas Dupin [Tue, 30 May 2017 19:00:04 +0000 (12:00 -0700)]
Fix header not set on initialization
Header not being set was causing min priority
groups to skip expansion animation.
Bug:
38436027
Test: runtest -x frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/stack/NotificationChildrenContainerTest.java
Change-Id: I34307a7e5ecfe7e30d5bf97880b17fedb0d84378
TreeHugger Robot [Tue, 30 May 2017 23:36:45 +0000 (23:36 +0000)]
Merge "Fix QS header touch targets" into oc-dev
TreeHugger Robot [Tue, 30 May 2017 23:29:31 +0000 (23:29 +0000)]
Merge "Show date + alarm icon when on lock screen" into oc-dev
Matthew Ng [Tue, 30 May 2017 22:29:19 +0000 (15:29 -0700)]
Added missing lock and clean up locked function that wasn't locked
There was a missing lock that systemui would call to register a docked
stack listener. Since it was missing, it is assumed that two threads
went into a race condition which caused it to crash when handling begin
before finish broadcasts for the same DockedStackDividerController.
Also moved getDefaultDisplayContentLocked call that was not locked to a
locked area.
Change-Id: I3c7ef805024aaf0f5f7c4ab68fc779797114a038
Fixes:
62104210
Test: go/wm-smoke
Andrii Kulian [Tue, 30 May 2017 23:19:42 +0000 (23:19 +0000)]
Merge "Temporarily enable screen wakelock logging in WM" into oc-dev
TreeHugger Robot [Tue, 30 May 2017 23:12:25 +0000 (23:12 +0000)]
Merge "Random hacks to make QS DND work" into oc-dev
Joe Onorato [Thu, 27 Apr 2017 23:18:05 +0000 (16:18 -0700)]
Turn off logspam
For more information, see https://source.android.com/source/code-style#log-sparingly
Bug:
37252687
Test: development/tools/logblame/app_switch_test
Test: development/tools/logblame/power_toggle_test
Test: development/tools/logblame/medium_idle_test
Change-Id: Ie2f6ef33df7b6c1ea976a8180945651ac9482976
Svet Ganov [Wed, 24 May 2017 12:09:46 +0000 (05:09 -0700)]
Compare against correct user id to determine static lib clients
Test: manual, static shared lib CTS tests pass
bug:
36632264
Change-Id: I58b2787ff0b95c89f9e9bb9a005b39e3505aefcb
TreeHugger Robot [Tue, 30 May 2017 22:05:02 +0000 (22:05 +0000)]
Merge "Set correct task remove mode when reparenting" into oc-dev
TreeHugger Robot [Tue, 30 May 2017 22:01:32 +0000 (22:01 +0000)]
Merge "Fix ripple on QS Footer" into oc-dev
TreeHugger Robot [Tue, 30 May 2017 21:50:01 +0000 (21:50 +0000)]
Merge "Fix crash from concurrent modification" into oc-dev
Felipe Leme [Tue, 30 May 2017 16:35:17 +0000 (09:35 -0700)]
Don't automatically autofill when manual request returned just 1 dataset.
When the user manually requested autofill and the service returned just 1
dataset, the app was automatically filled with it.
The motivation here was that since the user explicitly asked for autofill,
it'd ok - and better for the user - to release the data to the app without
the selecting a dataset.
This assumption was ok initially, but now the API to manually request autofill
is public, so a malicious app could use to get autofill data without user
interation.
Test: CtsAutoFillServiceTestCases pass
Fixes:
62164695
Change-Id: I47c3d8c557533526572aa67a4240c0a57f54268d
TreeHugger Robot [Tue, 30 May 2017 21:33:24 +0000 (21:33 +0000)]
Merge changes I5762a98d,I39f4e015 into oc-dev
* changes:
ViewRootImpl: More careful draw accounting.
SurfaceView: Avoid over-reporting DRAW_FINISHED.
TreeHugger Robot [Tue, 30 May 2017 21:15:13 +0000 (21:15 +0000)]
Merge "Update Paint#mFontVariationSettings in set() and reset()" into oc-dev
Andrii Kulian [Fri, 26 May 2017 21:51:47 +0000 (14:51 -0700)]
Temporarily enable screen wakelock logging in WM
Enable DEBUG_KEEP_SCREEN_ON flag to get additional wakelock logs
to investigate b/
38416971.
Bug:
38416971
Test: No change in logic
Change-Id: I83c45a26befb6a767b5d9fc30b1cde07a2432ebe
TreeHugger Robot [Tue, 30 May 2017 20:46:02 +0000 (20:46 +0000)]
Merge "Prevent unnecesary Surface preservation." into oc-dev
Adam Lesinski [Tue, 30 May 2017 20:42:00 +0000 (20:42 +0000)]
Merge "AAPT2: Fix <add-resource> tag for overlays" into oc-dev
Seigo Nonaka [Sat, 27 May 2017 00:50:10 +0000 (17:50 -0700)]
Fix NPE and wrong behavior of Typeface.isSupportedAxes
The Typeface kept by Paint object can be null if nobody calls
setTypeface. The null typeface is equivalent to the Typeface.DEFAULT.
To check whether the passed axis is usable for Typeface.DEFAULT, we
need to pass Typeface.DEFAULT to isSupportedAxes if no typeface was set
on the Paint.
At the same time this CL fixes an issue in isSupportedAxes.
If the requested axis is listed in the first element of axes list,
isSupportedAxes returned false due to wrong handling of binarySearch
result.
Bug:
62146672
Bug:
62147012
Test: am instrument -w -e class android.graphics.cts.PaintTest
android.graphics.cts/android.support.test.runner.AndroidJUnitRunner
Change-Id: I7c154adfe8a19d6ed24ad645df7c10cee7880461
Jason Monk [Tue, 30 May 2017 20:08:50 +0000 (16:08 -0400)]
Random hacks to make QS DND work
- Don't clear out as much state on attach
- Make sure condition updates trigger a reflecting radio check
- Assume that null conditions are forever
Test: manual
Fixes:
37944320
Fixes:
36031650
Change-Id: Ie926d16226e7b5431551a33515ac2b847e1d7a93
Winson Chung [Wed, 24 May 2017 21:08:48 +0000 (14:08 -0700)]
Update code to draw into hardware bitmaps.
Bug:
37698012
Bug:
38510859
Test: Dock task from Recents, ensure that it enters multiwindow.
Test: go/wm-smoke
Change-Id: Ia8f60f5884bb8d620dc554b61eaa95aa0038aee3
Dianne Hackborn [Tue, 30 May 2017 20:21:11 +0000 (20:21 +0000)]
Merge "Work on issue #
62095840: NPE in JobParamteres in the background" into oc-dev
Amit Pawar [Tue, 30 May 2017 20:20:18 +0000 (20:20 +0000)]
Merge "Fix #
62169466 bug report sharing options empty" into oc-dev
Dianne Hackborn [Tue, 30 May 2017 20:17:25 +0000 (13:17 -0700)]
Fix issue #
62196301: Pre-O background restrictions allow starts...
...from background apps
The check for whether a calling app was in the foreground was
way too lose, treating anything better than a receive as foreground.
Now we use the same foreground state check as elsewhere.
Test: manual
Change-Id: I6bb621f207204d14abfadc0d425297e7d5efe0f6
Amith Yamasani [Tue, 30 May 2017 19:35:45 +0000 (12:35 -0700)]
Fix #
62169466 bug report sharing options empty
Was caused by a new requirement to not offer to show
non-exported intent handlers as options. For first
time warning dialog, don't show a chooser activity.
Change-Id: Ibada9a7a14b77ec0670bf35ba0944f369d42bf69
Fixes:
62169466
Test: manual
Test: mmm -j32 frameworks/base/packages/Shell && adb install -r -g ${OUT}/data/app/ShellTests/ShellTests.apk && adb shell am instrument -e class com.android.shell.BugreportReceiverTest$1 -w com.android.shell.tests/android.support.test.runner.AndroidJUnitRunner
Bryce Lee [Tue, 30 May 2017 19:50:49 +0000 (19:50 +0000)]
Merge "Do not always skip preparing window to display when already visible." into oc-dev
Bryce Lee [Tue, 30 May 2017 19:50:11 +0000 (19:50 +0000)]
Merge "Check for source activity's task presence before referencing." into oc-dev
Jason Monk [Tue, 30 May 2017 19:37:11 +0000 (15:37 -0400)]
Fix ripple on QS Footer
Needs a background to draw on.
Test: manual
Change-Id: I7239520afc0aab65e9ff83a86dcf28b01a3fa25d
Fixes:
62194142
Jason Monk [Tue, 30 May 2017 16:47:10 +0000 (12:47 -0400)]
Fix QS header touch targets
- Fix the sizing by removing padding and repositioning
- Have container absorb clicks so misses don't collapse
the panel.
Test: manual
Change-Id: I2f7f79ca23105561c4ce8b7ff44f59ae99131f85
Fixes:
37049839
Fixes:
38359316
Jason Monk [Tue, 30 May 2017 19:21:29 +0000 (15:21 -0400)]
Show date + alarm icon when on lock screen
Test: manual
Change-Id: I3b1b9749c0acd029b9f59bf7c21a253ba2e30229
Fixes:
38123822
Robert Carr [Tue, 30 May 2017 18:25:22 +0000 (11:25 -0700)]
Prevent unnecesary Surface preservation.
We don't save the Surface's pixel format, and so any time
there is a change in the pixel format as described in the params
we trigger a surface preservation. However if an app is switching
from forced translucent (due to HW accel) to explicitly translucent
even though the layout params have changed we don't actually need
to trigger a format change, just toggle the OPAQUE flag.
Bug:
38324871
Test: Launch Chrome Custom Tabs with Lateral Transition Animation from News and Weather App. No black bars. go/wm-smoke
Change-Id: I2151b4470fd7c395fba7aad7d6ffca4c51e55476
TreeHugger Robot [Tue, 30 May 2017 18:47:06 +0000 (18:47 +0000)]
Merge changes from topic 'hide_passpoint_r2' into oc-dev
* changes:
hotspot2: hide Release 2 APIs
Voice Messaging Intent API.
Jason Monk [Tue, 30 May 2017 18:31:51 +0000 (14:31 -0400)]
Fix crash from concurrent modification
Change zen callbacks to allow for concurrent modification.
Test: runtest systemui
Change-Id: I8233353f617c4537104be2ec7be13247ed7f6ae0
Fixes:
38449656
Matthew Ng [Tue, 23 May 2017 20:00:24 +0000 (13:00 -0700)]
Do not set the divider pos during adjust ime and minimized interaction
When launching an app in splitscreen with while ime is up will trigger
an animation that is trying to minimize the docked stack (this bug is
tracked in b/
36603383) with the end result in incorrect bounds for the
docked and fullscreen tasks (leaving visual glitches in their apps).
This was caused by setting the divider position while there was
interaction with the minimized state. Therefore ignore setting divider
while adjusting for ime and minimized interaction for the tasks to end
with the correct bounds.
Fixes:
38428386
Test: manual - dock something in split screen, use the launcher search
to bring up ime, launch any app (like gmail)
Change-Id: Ic3547b02a39f40698db07d1c0946e0991b69f5d3
Wale Ogunwale [Tue, 30 May 2017 18:12:20 +0000 (11:12 -0700)]
Set correct task remove mode when reparenting
If we are reparenting a task to a stack and the stack is at the front or will
be at the front, then set the the remove mode to REMOVE_TASK_MODE_MOVING_TO_TOP
so we don't try to move the focus to another stack and resume another activity.
Change-Id: Iddd7464dfff128544f2f70394ccd538b567fe58d
Fixes:
62088341
Test: ActivityManagerAppConfigurationTests
Test: go/wm-smoke
Dianne Hackborn [Tue, 30 May 2017 18:04:23 +0000 (11:04 -0700)]
Work on issue #
62095840: NPE in JobParamteres in the background
Crash early if an app calls jobFinished() with null params.
Test: manual
Change-Id: Icc2cf241edaad00bc5bd49d07a431627bbd76524
Jason Monk [Tue, 30 May 2017 17:00:57 +0000 (17:00 +0000)]
Merge "Make QS signal indicator act like a QS signal indicator" into oc-dev
Peter Qiu [Fri, 12 May 2017 17:15:12 +0000 (10:15 -0700)]
hotspot2: hide Release 2 APIs
These APIs are based on the design of the legacy OSU app. Since
the app will be redesigned, hide these APIs for now.
Bug:
38260972
Test: build
Change-Id: I56b9c27305624306773284a7cc1721606037462d
Renat Aksitov [Fri, 28 Apr 2017 20:27:20 +0000 (13:27 -0700)]
Voice Messaging Intent API.
Removing EXTRA_SENDER_ACCOUNT_HASH, needs more work.
Bug
37747843
Test: make -j11 docs
Change-Id: I3046611510f85cf69ceff7c2274cda3b692581b9
(cherry picked from commit
2c4201448eb3c19f9b6d37c8b679f51362cff3a7)
Jason Monk [Tue, 30 May 2017 16:46:12 +0000 (16:46 +0000)]
Merge "Change brightness dialog theme" into oc-dev
Julia Reynolds [Tue, 30 May 2017 16:43:33 +0000 (16:43 +0000)]
Merge "Suppress HUNs according to group alert behavior" into oc-dev