OSDN Git Service
Steven Moreland [Tue, 21 Mar 2017 19:52:16 +0000 (12:52 -0700)]
WatchDog: dump hal pids when killing a process.
Test: `adb shell am hang --allow-restart` -> Watchdog dumps
hal traces (eventually)
Bug:
36414311
Change-Id: I5143cedf3e5ab4695d2507a29993e748f6de17d5
Santos Cordon [Wed, 22 Mar 2017 00:05:36 +0000 (17:05 -0700)]
Add a default Surface to the VR Virtual Display.
Uses ImageReader as a do-nothing Surface to ensure the Virtual Display
gets passed through to SurfaceFlinger.
Without a Surface, the Virtual Display never makes it through the
android system to SurfaceFlinger. This change is needed to get the
Virtual Display recognized in the Flinger layers.
Test: 'setprop vr_virtualdisplay true' to enable virtual displays.
'setprop vr_debug_vd_receiver true' and shell restart for the test app.
Bug:
36491910
Change-Id: I2bf2cb4035dcf04484b7fb0bec61671864069335
Felipe Leme [Sat, 25 Mar 2017 00:36:38 +0000 (00:36 +0000)]
Merge "Make auto-fill UI robust"
TreeHugger Robot [Fri, 24 Mar 2017 23:48:05 +0000 (23:48 +0000)]
Merge "Update hidden WifiManager API."
TreeHugger Robot [Fri, 24 Mar 2017 23:13:56 +0000 (23:13 +0000)]
Merge "Use resolved ActivityInfo to set instant app installer"
TreeHugger Robot [Fri, 24 Mar 2017 23:04:02 +0000 (23:04 +0000)]
Merge "Collect background stats: bluetooth, wifi, sensors"
TreeHugger Robot [Fri, 24 Mar 2017 22:58:11 +0000 (22:58 +0000)]
Merge "Fix companion device feature presence check"
TreeHugger Robot [Fri, 24 Mar 2017 22:42:08 +0000 (22:42 +0000)]
Merge "Added support for maxAspectRatio manifest attribute."
Phil Weaver [Fri, 24 Mar 2017 22:31:12 +0000 (22:31 +0000)]
Merge "Restructure a11y shortcut settings"
TreeHugger Robot [Fri, 24 Mar 2017 22:25:16 +0000 (22:25 +0000)]
Merge "Remove "Allow persistent changes to the vendor overlay theme""
Felipe Leme [Thu, 23 Mar 2017 03:24:00 +0000 (20:24 -0700)]
Make auto-fill UI robust
Now the autofill UI tracks the movement of the anchor view,
both real and virtual and while still preventing the filled
app from accessing the chooser UI. This was achieved by using
a popup window in the app process to determine the window
location and adding a window presenter interface to popup
window that controls the actual window addition, removal, and
update which is implemented by the system server.
Test: all autofill CTS tests pass
bug:
36392498
bug:
35708258
bug:
34943932
fixes:
36039182
fixes:
36493078
Change-Id: I0321913b2e2e759f4b17003bf85cb873e63a467c
TreeHugger Robot [Fri, 24 Mar 2017 22:04:55 +0000 (22:04 +0000)]
Merge "AAPT2: Fix up file IO"
Badhri Jagan Sridharan [Fri, 24 Mar 2017 21:56:12 +0000 (21:56 +0000)]
Merge "Persist functions for oemOverride across reboot"
Stephen Chen [Fri, 24 Mar 2017 21:27:08 +0000 (21:27 +0000)]
Merge "Enable Wifi Wakeup Setting by default."
Felipe Leme [Fri, 24 Mar 2017 21:26:25 +0000 (21:26 +0000)]
Merge "Checks if an adapter item is null before addint it to options."
Wale Ogunwale [Mon, 20 Mar 2017 15:56:38 +0000 (08:56 -0700)]
Added support for maxAspectRatio manifest attribute.
- Allows an app to specify the maximum aspect ratio it supports.
- Support for overriding configuration and bounds at the activity
record and app window token level.
Test: cts/.../run-test CtsAppTestCases android.app.cts.AspectRatioTests
Test: bit FrameworksServicesTests:com.android.server.wm.WindowContainerTests
Test: bit FrameworksServicesTests:com.android.server.wm.WindowFrameTests
Bug:
36505427
Bug:
33205955
Bug:
35810513
Change-Id: Ib2d46ed0c546dd903d09d6bb7162a98bd390ba81
Fyodor Kupolov [Fri, 24 Mar 2017 18:38:16 +0000 (11:38 -0700)]
Use resolved ActivityInfo to set instant app installer
Previously we were only using the component name, which is not always
enough.
Now the resolved ActivityInfo is used and only 'flags'/'exported' and
'enabled' attributes are modified.
Test: Manual
Bug:
34751853
Change-Id: I32a2a2bd98cc5d73ab02ccfc100868b826bb8105
Jakub Pawlowski [Fri, 24 Mar 2017 20:46:59 +0000 (20:46 +0000)]
Merge "Expose connection update callback (4/4)" am:
60865e4a8d am:
45487910b4
am:
ccff3be9d4
Change-Id: I621210ff8d2c0b203d86e6ad2a11402466724b97
Jakub Pawlowski [Fri, 24 Mar 2017 20:41:51 +0000 (20:41 +0000)]
Merge "Expose connection update callback (4/4)" am:
60865e4a8d
am:
45487910b4
Change-Id: I43cca913c52aac4bd3487f7450ef8167c19db0df
Eugene Susla [Fri, 24 Mar 2017 20:35:45 +0000 (13:35 -0700)]
Fix companion device feature presence check
There was a typo causing the feature to be falsely detected as not present.
Test: Ensure feature presence is now detected correctly
Bug:
30932767
Change-Id: I44d137e89546596058b272e8eeaccc0a1db21aef
Jakub Pawlowski [Fri, 24 Mar 2017 20:36:30 +0000 (20:36 +0000)]
Merge "Expose connection update callback (4/4)"
am:
60865e4a8d
Change-Id: I0f5301b195b697743d1fb552dac4af8e1fd1445c
Jakub Pawlowski [Fri, 24 Mar 2017 20:31:31 +0000 (20:31 +0000)]
Merge "Expose connection update callback (4/4)"
Antony Sargent [Thu, 23 Mar 2017 23:32:04 +0000 (16:32 -0700)]
Create a metrics event for ag/
1972563 (instant apps detail screen)
Bug:
35098444
Test: Tests for functional changes are in ag/
1972563
Change-Id: I17de46278c815c9b6b385b111ca6544aa456d133
Lei Yu [Fri, 24 Mar 2017 20:01:22 +0000 (20:01 +0000)]
Merge "Add theme Theme.DeviceDefault.Settings.Dialog.NoActionBar"
Evan Laird [Fri, 24 Mar 2017 19:43:30 +0000 (19:43 +0000)]
Merge "Move percentage to left of battery"
Casey Burkhardt [Fri, 24 Mar 2017 19:35:19 +0000 (19:35 +0000)]
Merge "Update metrics proto for revised Magnification Settings"
TreeHugger Robot [Fri, 24 Mar 2017 19:11:08 +0000 (19:11 +0000)]
Merge "Allow system UID to call isSecurityLoggingEnabled()"
Andrew Solovay [Fri, 24 Mar 2017 18:20:15 +0000 (18:20 +0000)]
docs: Removing Android dev docs from Gerrit am:
ecf817682a am:
d4fdb6e3b2 am:
7ba81a3884
am:
5613cfb013 -s ours
Change-Id: I9ec75adb7ac3045a934ecfaf2d09de1990f1c2bc
Andrew Solovay [Fri, 24 Mar 2017 18:15:39 +0000 (18:15 +0000)]
docs: Removing Android dev docs from Gerrit am:
ecf817682a am:
d4fdb6e3b2
am:
7ba81a3884
Change-Id: Ibf17dbc51a17e5155bee49024bf6772bcec88967
Andrew Solovay [Fri, 24 Mar 2017 18:12:20 +0000 (18:12 +0000)]
docs: Removing Android dev docs from Gerrit am:
ecf817682a
am:
d4fdb6e3b2
Change-Id: I5fe711e6596afacc4bb363224dcb78057abd99c2
Andrew Solovay [Fri, 24 Mar 2017 18:03:12 +0000 (18:03 +0000)]
docs: Removing Android dev docs from Gerrit
am:
ecf817682a
Change-Id: I0bcc2c8d0b63e73d88187c19ef4addeaed2bfdf0
Felipe Leme [Fri, 24 Mar 2017 17:39:40 +0000 (10:39 -0700)]
Checks if an adapter item is null before addint it to options.
Change-Id: I60634d0990d1d5bc33703abd41997e560f59ec77
Fixes:
36589254
Test: CheckoutActivityTest.testAutoFillDynamicAdapterWithNullItems()
Stephen Chen [Fri, 24 Mar 2017 01:21:56 +0000 (18:21 -0700)]
Enable Wifi Wakeup Setting by default.
Bug:
36385983
Bug:
32913119
Test: runtest --path
frameworks/base/core/tests/coretests/src/android/provider/SettingsProviderTest.java
Change-Id: Ia9205d28d7c215fd8c407560513036565e36537d
TreeHugger Robot [Fri, 24 Mar 2017 17:30:27 +0000 (17:30 +0000)]
Merge "Fix issue #
34855227: Bg check Android O: Able to start..."
Dianne Hackborn [Thu, 23 Mar 2017 23:11:25 +0000 (16:11 -0700)]
Fix issue #
34855227: Bg check Android O: Able to start...
...service after receiving broadcast in background
A new UidRecord should start out idle, not non-idle.
Test: added CtsAppTestCases:.ActivityManagerTest#testBackgroundCheckBroadcastService
Change-Id: Ib04e11b95958477eaba1e421fd901f9cd1ee705a
Dianne Hackborn [Fri, 24 Mar 2017 17:28:54 +0000 (17:28 +0000)]
Merge "Partially return NEW_PICTURE and NEW_VIDEO."
Jakub Pawlowski [Fri, 24 Mar 2017 02:05:55 +0000 (19:05 -0700)]
Expose connection update callback (4/4)
Test: manual
Bug:
30622771
Change-Id: I56a3c42814249abc33e95e84ce092c2d8df65434
Jack Yu [Fri, 24 Mar 2017 17:22:45 +0000 (17:22 +0000)]
Merge "Deprecated getDeviceId and added getMeid and getImei" am:
ad2e7405ad am:
9b7d3a86bd
am:
7da96487ab -s ours
Change-Id: I14c2cfa9d1b4ba7986393b7aab00abe94d24fce5
Jack Yu [Fri, 24 Mar 2017 17:16:46 +0000 (17:16 +0000)]
Merge "Deprecated getDeviceId and added getMeid and getImei" am:
ad2e7405ad
am:
9b7d3a86bd
Change-Id: I322d40e7696b34ad93781882120352587ff36363
Jack Yu [Fri, 24 Mar 2017 17:10:54 +0000 (17:10 +0000)]
Merge "Deprecated getDeviceId and added getMeid and getImei"
am:
ad2e7405ad
Change-Id: I4e006290c54a371fc5f080c37f86ca946507d871
Philipp Weiß [Fri, 24 Mar 2017 17:07:35 +0000 (17:07 +0000)]
Merge "Add strings for link beneath CA Certs disclosures"
Jack Yu [Fri, 24 Mar 2017 17:02:58 +0000 (17:02 +0000)]
Merge "Deprecated getDeviceId and added getMeid and getImei"
Mady Mellor [Fri, 24 Mar 2017 16:54:14 +0000 (16:54 +0000)]
Merge "Add plugin interfaces to control notification menu / swipe behavior"
TreeHugger Robot [Fri, 24 Mar 2017 16:39:56 +0000 (16:39 +0000)]
Merge "Fix SystemUI intents"
Dmitri Plotnikov [Fri, 24 Mar 2017 15:58:55 +0000 (15:58 +0000)]
Merge "Adding TV-specific strings"
TreeHugger Robot [Fri, 24 Mar 2017 15:49:52 +0000 (15:49 +0000)]
Merge "Do not reuse fragment indices."
TreeHugger Robot [Fri, 24 Mar 2017 15:33:51 +0000 (15:33 +0000)]
Merge "Post WebView Zygote connection code to a background thread."
Kevin Schoedel [Wed, 22 Mar 2017 15:40:38 +0000 (11:40 -0400)]
Manage controller connection from VrCore to VrWindowManager.
Use VrManager as a proxy to pass the controller data file descriptor
from VrCore to VrWindowManager, since the latter is a purely native
service with no Java visibility.
This is intended to be replaced by moving the relevant parts of
VrWindowManager into VrCore (b/
36506799).
Bug:
35619424
Test: manual on device
Change-Id: I9545349893ed9b23de4ba8d3cb61c7d403ad0b97
Jason Monk [Fri, 24 Mar 2017 14:57:58 +0000 (14:57 +0000)]
Merge "QS: Clean up dual target accessibility"
Peeyush Agarwal [Fri, 24 Mar 2017 14:56:01 +0000 (14:56 +0000)]
Fix SystemUI intents
b/
35307747 moved these intents from android. to com.android. Change
filters in AndroidManifest so that the new intents are not filtered out
and actually get delivered.
Bug:
36085764
Change-Id: I7120f28e56d71b6bfa19dd59624d992ded79501c
Fixes:
36085764
Test: none
Evan Laird [Fri, 24 Mar 2017 14:55:29 +0000 (10:55 -0400)]
Move percentage to left of battery
Original mocks had the percentage on the left side of the battery... So
I made it so.
Test: visual
Bug:
32539932
Change-Id: I311255777b74c2ff74e36c78cbe1b4b9743ec337
Diego Perez [Fri, 24 Mar 2017 14:45:57 +0000 (14:45 +0000)]
Merge "Dispose font cache on bridge.dispose"
phweiss [Fri, 24 Mar 2017 14:28:15 +0000 (15:28 +0100)]
Add strings for link beneath CA Certs disclosures
And fixing typos in other strings.
Bug:
34369166
Test: Only string fixes
Change-Id: If60b653dc387975ae7a6a7fcddcbd17773c854f3
TreeHugger Robot [Fri, 24 Mar 2017 14:27:50 +0000 (14:27 +0000)]
Merge "Enterprise string clean-up for O"
TreeHugger Robot [Fri, 24 Mar 2017 14:20:12 +0000 (14:20 +0000)]
Merge "Revert "Integrate new looper apis into testables""
Bartosz Fabianowski [Fri, 24 Mar 2017 13:22:24 +0000 (14:22 +0100)]
Allow system UID to call isSecurityLoggingEnabled()
This CL allows code running under the system UID to call
isSecurityLoggingEnabled(), so that Settings can find out whether
logging is on or off.
Bug:
36584321
Test: m RunSettingsRoboTests
Change-Id: Icf8b7d6cef0f4e23f57bcf0498ffdcf124d16d38
TreeHugger Robot [Fri, 24 Mar 2017 13:23:51 +0000 (13:23 +0000)]
Merge "Add strings for quick settings security footer"
Jason Monk [Fri, 24 Mar 2017 12:52:06 +0000 (12:52 +0000)]
Merge "Re-inflate fragments in sysui on font scale change"
Jason Monk [Fri, 24 Mar 2017 12:44:34 +0000 (12:44 +0000)]
Revert "Integrate new looper apis into testables"
This reverts commit
f715f417d23d0605abcac309135340ac6ce311ce.
Change-Id: I4c0c12d8687426cecccf0f8dad710ea42699727b
Gustav Sennton [Wed, 22 Mar 2017 19:30:33 +0000 (19:30 +0000)]
Post WebView Zygote connection code to a background thread.
Currently, the act of waiting for the WebView Zygote to start running,
and then connecting to it is run in a blocking way from
WebViewZygote.onWebViewProviderChanged(). This causes us to block large
parts of WebViewUpdateService for a long time whenever we change WebView
provider.
This CL moves the blocking code onto a background thread to unblock
WebViewUpdateService.
Bug:
35025131
Test: Ensure changing WebView provider from the WebView Implementation
Developer Setting is quick/responsive.
Test: Turn off WebView multi-process and ensure the WebView Zygote
Service is NOT started.
Test: Turn on WebView multi-process and ensure the WebView Zygote
Service is started.
Change-Id: I0b378a471491d40cbf027568ca317d6c080da4b2
phweiss [Mon, 20 Mar 2017 17:06:40 +0000 (18:06 +0100)]
Add strings for quick settings security footer
Strings are unused for now, CL that will display them comes later.
Bug:
34369166
Test: Only added strings, nothing to test
Change-Id: I0bb3e46b264d5da9d0da31149bf04f8276c08e93
Charles He [Thu, 23 Mar 2017 21:00:51 +0000 (21:00 +0000)]
Enterprise string clean-up for O
Bug:
34326838
Test: make
Change-Id: I70db223ea4ef77e791eb7ce98638909442a593aa
Clara Bayarri [Fri, 24 Mar 2017 11:11:16 +0000 (11:11 +0000)]
Merge "Fix textStyle being ignored for Font resources in TextView"
Diego Perez [Fri, 24 Mar 2017 11:07:42 +0000 (11:07 +0000)]
Dispose font cache on bridge.dispose
Test: N/A
Change-Id: I81404740835814a018bfd70cf70b5c22933f19f5
TreeHugger Robot [Fri, 24 Mar 2017 07:25:59 +0000 (07:25 +0000)]
Merge "Added shadow to RemoteViews used by authentication requests."
Casey Burkhardt [Thu, 23 Mar 2017 05:52:24 +0000 (22:52 -0700)]
Update metrics proto for revised Magnification Settings
Adds 1 new constants for metrics logging:
- Magnification Settings UI in Settings > Accessibility
> Magnification
Bug:
1428815208
Test: Manual
Change-Id: I2d15b5b8525235b46ff344fa67a07bf993838df7
TreeHugger Robot [Fri, 24 Mar 2017 05:57:27 +0000 (05:57 +0000)]
Merge "MediaBrowser: Add a disconnecting state"
TreeHugger Robot [Fri, 24 Mar 2017 05:54:04 +0000 (05:54 +0000)]
Merge "Temporarily ignore RuntimeException when displaying the UI."
TreeHugger Robot [Fri, 24 Mar 2017 05:20:56 +0000 (05:20 +0000)]
Merge "Unminimizing after toggle screen on/off shows docked app correctly (1/2)"
TreeHugger Robot [Fri, 24 Mar 2017 05:04:53 +0000 (05:04 +0000)]
Merge "Removing unused method indexOfValueByValue"
TreeHugger Robot [Fri, 24 Mar 2017 04:55:10 +0000 (04:55 +0000)]
Merge "Hook up data saver to battery saver."
Sungsoo Lim [Fri, 24 Mar 2017 04:40:34 +0000 (04:40 +0000)]
Merge "Set volume handling of the default route properly"
Felipe Leme [Thu, 23 Mar 2017 22:41:21 +0000 (15:41 -0700)]
Temporarily ignore RuntimeException when displaying the UI.
Change-Id: Ia01f9204736418a8f1e5027aef755d0855feab04
Fixes:
36392498
Test: manual verification by forcing an exception
Andrew Solovay [Fri, 24 Mar 2017 03:26:23 +0000 (03:26 +0000)]
Merge "Cherrypicked from nyc-mr1-dev docs: Removing Android docs from Gerrit Original Change-Id: I5331cdc968be817ff70ba32dd03fce76493a6ab8 Test: make ds-docs" into nyc-mr2-dev-plus-aosp
am:
df3c192bfe
Change-Id: Ic088a9409d8edbd30c84f6a10dc290501dc87f97
TreeHugger Robot [Fri, 24 Mar 2017 03:21:49 +0000 (03:21 +0000)]
Merge "Cherrypicked from nyc-mr1-dev docs: Removing Android docs from Gerrit Original Change-Id: I5331cdc968be817ff70ba32dd03fce76493a6ab8 Test: make ds-docs" into nyc-mr2-dev-plus-aosp
Felipe Leme [Fri, 24 Mar 2017 02:54:27 +0000 (19:54 -0700)]
Added shadow to RemoteViews used by authentication requests.
Also removed obsolete autofill symbols and dimensions.
Fixes:
36492836
Bug:
36569941
Test: visual verification
Test: CtsAutoFillServiceTestCases pass
Change-Id: Id8169358bf426af5d70a82fa315e92304d06c159
TreeHugger Robot [Fri, 24 Mar 2017 02:39:28 +0000 (02:39 +0000)]
Merge "Minor string change to screen pinning"
TreeHugger Robot [Fri, 24 Mar 2017 02:18:52 +0000 (02:18 +0000)]
Merge "Use a single thread to handle multiple AppFuse mounts."
TreeHugger Robot [Fri, 24 Mar 2017 02:17:15 +0000 (02:17 +0000)]
Merge "Some logging for settings reset"
TreeHugger Robot [Fri, 24 Mar 2017 02:14:21 +0000 (02:14 +0000)]
Merge "Create plugin interface for volume dialog"
TreeHugger Robot [Fri, 24 Mar 2017 02:13:04 +0000 (02:13 +0000)]
Merge "Moved the waiting for fingerprint string to the hint"
Jack Yu [Fri, 24 Mar 2017 02:09:42 +0000 (02:09 +0000)]
Merge "Deprecated getDeviceId and added getMeid and getImei"
Amin Shaikh [Fri, 24 Mar 2017 00:59:48 +0000 (17:59 -0700)]
Update hidden WifiManager API.
- Refactor getWpsNfcConfigurationToken(int) to getCurrentNetworkWpsNfcConfigurationToken()
Bug:
35725168
Test: runtest frameworks-wifi
Change-Id: Ia362e4d781297d7f89a4437a0c5ae6edecff24e5
TreeHugger Robot [Fri, 24 Mar 2017 01:23:45 +0000 (01:23 +0000)]
Merge "Unhide FLAG_SUPPORT_EJECT and related methods."
Suprabh Shukla [Thu, 23 Mar 2017 23:09:27 +0000 (16:09 -0700)]
Removing unused method indexOfValueByValue
The method was confusing and not used by anyone. Same functionality can
be implemented trivially in the client code.
Test: N/A
Bug:
35765468
Change-Id: Ia019088cd023c62d83760d9ebe883f7559a43375
TreeHugger Robot [Fri, 24 Mar 2017 00:48:21 +0000 (00:48 +0000)]
Merge "Recents: Remove TV Specific blacklist"
TreeHugger Robot [Fri, 24 Mar 2017 00:47:36 +0000 (00:47 +0000)]
Merge "Add logging constant for vr display preference"
TreeHugger Robot [Fri, 24 Mar 2017 00:45:46 +0000 (00:45 +0000)]
Merge "Fix add user tint, some people thought it was disabled"
Jaewan Kim [Fri, 24 Mar 2017 00:44:02 +0000 (00:44 +0000)]
Merge "PIP: Move TV PIP location to the bottom right"
Amith Yamasani [Tue, 21 Mar 2017 22:23:47 +0000 (15:23 -0700)]
Some logging for settings reset
If settings db gets reset because it disappeared/got corrupted,
then write the Build.ID of the OTA, so we know when it was reset.
Bug:
36365648
Test: manual
Change-Id: I499a7f65f07a61c0e4651dbd046fc5b16408c09d
Jason Monk [Wed, 22 Mar 2017 16:50:57 +0000 (12:50 -0400)]
Create plugin interface for volume dialog
Very few logic changes, mostly just breaking out certain interfaces
and classes to the plugin lib.
Test: make + volume keys
Change-Id: Ieabc6d35f6ef980842849236a0b8ffd5543b3a2c
Daichi Hirono [Thu, 2 Feb 2017 04:56:45 +0000 (13:56 +0900)]
Use a single thread to handle multiple AppFuse mounts.
Previously StorageManagerService launched a thread per AppFuse mount
point. The CL changes the behavior so that it just launches a single
thread to handle multiple AppFuse mounts.
Bug:
34903085
Test: CTS and manually testing
Change-Id: I2d9e7232834b0c8eff633b85110a3b38534171f7
Jason Monk [Fri, 24 Mar 2017 00:35:24 +0000 (00:35 +0000)]
Merge "Less cereal, more stable"
George Mount [Thu, 23 Mar 2017 21:23:29 +0000 (14:23 -0700)]
Do not reuse fragment indices.
Bug
25472591
Use a SparseArray instead of two ArrayLists to track
active fragments. This allows monotonically increasing
indexes instead of reusing indexes in the ArrayList.
Test: ran cts tests
Change-Id: I98f1b7928a0ef2373b719b76582a4c6da3425817
The Android Automerger [Thu, 23 Mar 2017 23:51:20 +0000 (23:51 +0000)]
Merge commit '
745766e11e8bb7e8642be33be6bdf501af245074' into HEAD
* commit '
745766e11e8bb7e8642be33be6bdf501af245074':
Forward package removed broadcast to KeyChainService
Matthew Ng [Mon, 13 Feb 2017 19:09:37 +0000 (11:09 -0800)]
Unminimizing after toggle screen on/off shows docked app correctly (1/2)
When turning screen off when in minimized mode with resizable launcher,
then turning screen back on and unminimizing, it would have the
incorrect position of the divider from the started split position and
the docked app would have the wrong task bounds compared to its stack
bounds (so the docked app looks clipped). Block toggling minimized state
when screen turns off when being minimized will fix this.
Fixes:
34937502,
35388501
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test
CtsServicesHostTestCases
android.server.cts.ActivityManagerDockedStackTests
Change-Id: I255a56d6b4041586f9125ee39f6e75a3c61f544f
Garfield Tan [Wed, 22 Mar 2017 19:01:14 +0000 (12:01 -0700)]
Unhide FLAG_SUPPORT_EJECT and related methods.
Test: Builds and CTS tests pass. Some manual tests as well.
Bug:
36483910
Change-Id: Idd9b1c9d9573222ee12127044ff11b9ab2487f0a
Julius D'souza [Thu, 23 Mar 2017 23:37:31 +0000 (23:37 +0000)]
Merge "DO NOT MERGE: Add state machine model for skipping initial brightness ramps." into cw-f-dev am:
e07e8ac99a -s ours am:
610663ebc5
am:
fa64e10e2e -s ours
Change-Id: If3acbdf6326f37aa78a2ec530e772959f046c514
Dmitri Plotnikov [Thu, 23 Mar 2017 23:33:55 +0000 (16:33 -0700)]
Adding TV-specific strings
Bug:
36175844
Test: generate a bugreport and check the notification description
Change-Id: I0030d51e566cc2d68b4c87a9e7d7cbb0d5a21ac1
Julius D'souza [Thu, 23 Mar 2017 23:32:40 +0000 (23:32 +0000)]
Merge "DO NOT MERGE: Add state machine model for skipping initial brightness ramps." into cw-f-dev am:
e07e8ac99a -s ours
am:
610663ebc5
Change-Id: If3eb5d3b12f4780177aef37e4133338b0d8eb8d2