Display data activity icon for Wi-Fi and mobile data
respectively in statusbar
Bug: 30849089
Test: manual - go to Settings > Developer options > Demo mode and then
enable both "Enable demo mode" and "Show demo mode"
Change-Id: I16e880ffb97666a6c6507b9cc8c99bf580972207
Test: Checked that on local sw600dp devices, task views are rounded with
8dp. Also checked that Recents works properly on phones.
Bug: 32101881
Change-Id: I6f7a09a12c3e3f1f7270bed1ae25b291fadfb8f2
The width of the edit screen is fixed when the display size is updated
in landscape mode. So when the device is rotated to portrait mode, the
width is not updated and the edit screen is truncated.
To fix this issue, "match_parent" should be used to match to the width
of Notification Panel always.
Bug: 34206618
Test: manual - go to Settings, rotate device to landscape mode, change
display size (Default > Large > Default), rotate device
to portrait mode and show QS edit screen
Change-Id: I35ac623812908a61cd34357e6bda567cab55ace1
This makes the code a bit more complicated, but allows apps to
receive long-press back again and also makes the mode harder
to exit for toddlers.
Test: Without TalkBack enabled, make sure the following works:
- Enter multi-window mode with long pressing recents
- Long press back gets sent to the app.
- Enter screen pinning, make sure you can exit with gesture
Test: With TalkBack enabled, make sure the following works:
- Enter multi-window mode with long pressing recents
- Long press back gets sent to the app.
- Enter screen pinning, make sure you can exit with gesture
Merged-In: Icd7347aa9c60af00fdb0b3991baabb730552d097
Change-Id: Icd7347aa9c60af00fdb0b3991baabb730552d097
Fixes: 32440409
If a device owner is active, the layout is changed from a
standard AlertDialog with only one string to a custom dialog
that includes information on Device Owners, and VPN and Network Logging,
if enabled.
Cherry-picked from master and modified to not rely on changes that are not in
N:
A change in master renamed some variables in QSFooter.createDialog() and made
them final, this change is also included here.
The owner's organization name cannot be set in N.
In the case of active Device Owner and active VPN, there was a specialized
string for this in N. This string was now replaced by using the simpler
Device Owner string + an own entry for VPN in the new layout.
Some imports had to be included that were already there on master.
The dimen-tag throws an error message on floats during build, replaced by an
item-tag.
BUG: 29748723
BUG: 33126622
Test: Manual, CTS-Verifier tests will be added later
(cherry picked from commit 9e450e1233)
Change-Id: I2bfca9d9d02a42d9c3b17683625eda29e9369666
Add the network logging icon in Quick Settings' footer if
network logging is enabled, possible next to the VPN icon.
Quicksettings has to be able to tell that network logging
is enabled, so this CL changes DPM.isNetworkLoggingEnabled() to be
callable from the device owner or from any app with the MANAGE_USERS
permission.
The icon is only a placeholder until the official icon is finished.
CTS Verifier tests will be added when all Network logging UX changes are
done.
Cherry-picked from master, and then modified to work in N:
I had to remove the QSFooterTest change because the testing infrastructure
is not there in N. Also, I had to add DPMS.enforceDeviceOwnerOrManageUsers()
to which did not exist in N before.
BUG: 33126618
BUG: 29748723
Test: Manual, CTS-Verifier tests will be added in a follow-up
(cherry picked from commit a4e169ed68)
Change-Id: Ib35d323605ab11f883a4b6199d1db79b9e53c49b
Move it down and make sure it covers entire width.
Change-Id: If906ea86ae1e78b7a75e2376c65f0ff0e191b86c
Fixes: 30292983
Test: Manual visual inspection of UI element locations
This reverts commit 713fed9226.
Test: Receive SMS, click Reply, check that IME has a send button.
Change-Id: I4632e656828743fbb3172b0331390983df232c68
Fixes: 33185290
Particularly useful for Dialer, whose incoming call
notifications are basically useless if you accidentally mute
them.
Test: manual. With config_nonBlockableNotificationPackages
set to include com.android.dialer, receive or miss a
call and longpress the notification. No radio buttons
should be available.
Bug: 31360343
Change-Id: I6b8fa374fb8e811ec6922acbf222f23f18775a61
This is a follow up CL to the previous CL [1], which specified
IME_FLAG_NO_EXTRACT_UI to RemoteEditText.
As discussed in Bug 7412307, specifying IME_FLAG_NO_EXTRACT_UI without
IME_FLAG_NO_FULLSCREEN has been known to cause some unexpected behaviors
across multiple components since at least ICS release.
Until Bug 7412307 is fixed, it would be safer to specify both flags when
we want to disable full-screen extracted UI mode.
[1]: Ibb759a50ade279ad96598b25f99b169bc27a5b72
0558bc5d6a
Bug: 30424228
Change-Id: I6dc80f8506df66d8f3f3f822c7823f53f7c56d1c
Editable TextViews are implicitly selectable. Setting the selectable
property to true however causes a bug where the onTouch logic thinks
the view is not editable and thus doesn't show the IME when clicking
that view.
Change-Id: I9dd6139195bd98b26293e330290650d4e5549a6d
Fixes: 30595718
Such that we can remove the outline clip, which is triggering a new shader
compilation when "clear all" show up the first time.
b/28795315
Change-Id: Ib3c4283e46c932090ec97233a5551da7b359c8c8
To have focus in quick setting icons,
add focusable
Fixes: 29769508
Change-Id: I1b10203d60614a7b94274da046dac69a7ed5b80a
Signed-off-by: Sungyoung An <sungyong.an@lge.com>
Signed-off-by: Min Yun <min.yun@lge.com>
Value is defined only for .Settings themes.
Uses new attribute in SystemUI to set the switch bar background in
System UI Tuner and the edit UI background in Quick Settings.
BUG: 28625050
Change-Id: I840597670fb8826c7e2172c933ff618e52fc9ac1
FIXES: 28625105
FIXES: 29003223