309611 Commits

Author SHA1 Message Date
Selim Cinek
2ffa02fcbb Fixed a crash when creating a public notification group
The method whether it was showing an icon was wrong

runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/ExpandableNotificationRowTest.java
Fixes: 35981843

Change-Id: Ieffeb7480960586fc644e04baaa0c28e98df7736
2017-03-06 16:11:08 -08:00
TreeHugger Robot
076b6c901f Merge "OMS: Remove old overlays.xml versions" 2017-03-07 00:06:30 +00:00
TreeHugger Robot
bc3c410d05 Merge "AOD: Wake up fully on gestures by default" 2017-03-07 00:03:03 +00:00
TreeHugger Robot
acc9668235 Merge "Change action bar text color back to accent." 2017-03-06 23:56:49 +00:00
TreeHugger Robot
ca006f9d3d Merge "Rename DPM.isDefaultInputMethodSetByOwner()" 2017-03-06 23:41:44 +00:00
TreeHugger Robot
5b2731a8da Merge "Add labelFor attributes to text input mode of TimePicker." 2017-03-06 23:40:26 +00:00
Fan Zhang
b5ce2d125d Add logging constants for pref change tracking in Settings.
Change-Id: I16719ac7749795b9b3772ffe7b8ef1feff53c188
Fix: 34775467
Test: builds
2017-03-06 15:33:10 -08:00
TreeHugger Robot
a9e8d358e8 Merge changes I546a3133,I5d892b2d
* changes:
  Don't skip verification of Instant Apps
  Expose ACCESS_INSTANT_APPS to the verifier
2017-03-06 23:12:36 +00:00
Saige McVea
08c41bcf5f Accessibility settings refresh.
Categories were added to accessibility service info objects so that they can be grouped
in system Settings. Services can declare a category in their accessibility manifest file,
and if no category is defined, the service is placed under the "Other services" category.

Bug: 30374533

Test: Manually tested with BrailleBack & CTS tests modified to validate proper loading of summary.

Change-Id: I8718556764f2be4a18ce4e80e6bbd4950a41e387
2017-03-06 15:04:00 -08:00
Fyodor Kupolov
94ab1a66a5 Init of OverlayManagerService on a parallel thread
Expensive parts of initialization (like idmap) are now done on a separate
init thread.

The service waits for init to complete in PHASE_SYSTEM_SERVICES_READY,
before affected apps can start.

Boot time saving: ~300ms on marlin.

Test: rebooted and verified that OverlayManagerService init is completed
      before any app process is started
Bug: 35949883

Change-Id: Ibdf0174c50cfa95fc8f1cb014ad0a03ff49f4d1f
2017-03-06 14:49:42 -08:00
TreeHugger Robot
23f3508b2a Merge "Add @LargeTest to (Secondary|Managed)UserContentResolverTest classes." 2017-03-06 22:45:40 +00:00
TreeHugger Robot
a70c57cf73 Merge "Show help icon in actionbar" 2017-03-06 22:41:26 +00:00
Fan Zhang
f5d8a886ff Change action bar text color back to accent.
Bug: 34978809
Test: visual

This is a partial rollback of 59d488a1363226c675b8

Based on user feedback we are changing text color back to use accent
in action bar.

Change-Id: Id041a7bf6c6b2552f111c20e8290b70b7801c976
2017-03-06 14:21:57 -08:00
Aurimas Liutikas
7dadd70aa1 Add labelFor attributes to text input mode of TimePicker.
Bug: 30044800
Test: now talkback includes label name when reading EditText values
Change-Id: I2a2e46d803b471afe61777fa98314330e6942771
2017-03-06 22:00:28 +00:00
Santos Cordon
25e333cb3c Merge "Add VR_DISPLAY_MODE settings to be backed up." 2017-03-06 21:56:07 +00:00
Roozbeh Pournader
a59c3feb8d Customizable minimum suffix/prefix length for hyphenation
With this change, different languages can have a different minimum
length for suffix and prefixes when hyphenating. Previously, the
defaults used for English, 2 and 3, were used for every language.

Bug: 35712376
Test: Manual: German text can now break after two characters
Change-Id: Ia12d448a42bf2fab7c0bf5e85f8e27a4fb7f77d8
2017-03-06 13:51:28 -08:00
Winson Chung
d2d909778c Initial changes to support expanded PiP
- Prior to this CL, the input consumer and size of the PiP was tightly
  coupled with the visibility of the menu, but with the expanded state,
  the PiP should still move while the menu is visible.

Bug: 35358488
Test: Click on the PiP to expand it

Change-Id: If52208f19af516b2455bde26855c80f44bc9021a
2017-03-06 13:41:48 -08:00
TreeHugger Robot
a485f71fd7 Merge "Refactor EphemeralResolverService" 2017-03-06 21:39:17 +00:00
Adrian Roos
d84a080e94 AOD: Wake up fully on gestures by default
Fixes: 35909567
Bug: 30876804
Test: manual
Change-Id: Ie90c451ca3d8fe6ca62853fb3a555401dc322f00
2017-03-06 13:38:56 -08:00
Andre Eisenbach
ba0992f4c4 Merge "BluetoothManagerService: continue teardown when BLE apps registered" 2017-03-06 21:25:40 +00:00
Martin Brabham
c2b0622634 BluetoothManagerService: continue teardown when BLE apps registered
When the adapter is toggled off; when there are BLE apps registered, a
request is sent to unregister all of the BLE apps.  Upon unregister each app
will call through to this function via a callback.  When this gets called if
the ble app count is 0, we can disable everything.  I am keeping track of the
flag so that we know explicitly where we are coming from.

Bug: 34707848
Test: Compile
Change-Id: I9a8322a6fa918e7b410770894c257ec9f7d8d1f5
2017-03-06 21:25:33 +00:00
Yang Ni
97c9b57cec Merge "Removed close guards for Element and Type objects" 2017-03-06 21:25:29 +00:00
Chad Brubaker
b94103d25d Don't skip verification of Instant Apps
Test: builds
Change-Id: I546a31334b8f15f360ca5599d96ac8783496fc92
2017-03-06 13:24:54 -08:00
TreeHugger Robot
a2f8f4970e Merge "PlaybackActivityMonitor: fix comment typo" 2017-03-06 21:18:41 +00:00
Chad Brubaker
e45606d6c6 Expose ACCESS_INSTANT_APPS to the verifier
The package verifier needs to be able to see Instant Apps in order to do
its job. It already sees them on first install so no new information
about what Instant Apps are installed is leaked.

Test: builds
Change-Id: I5d892b2d7aa820a9c0c00ac357f20a3210cf3395
2017-03-06 13:14:01 -08:00
Ruchi Kandoi
2b527ac293 nfc: First chunked NDEF record of TNF doesn't contain the type field
Test: CTS test passes
Bug: 34943312
Change-Id: I08f37ee76810f642b35ae8bde05ef0e2eff921e0
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2017-03-06 13:10:20 -08:00
Fan Zhang
c93dadacdd Show help icon in actionbar
Fix: 35955986
Test: RunSettingsLibRoboTests
Change-Id: If4c328cacf1e3c9a5f66eeb248749c97c80cdb6c
2017-03-06 13:06:38 -08:00
Lingjun Li
6f93478951 Merge "Null check before calling TrustAgentService and throw Security exception if the API is not allowed. Test: manual" 2017-03-06 21:01:34 +00:00
Sudheer Shanka
f5666dc801 Add @LargeTest to (Secondary|Managed)UserContentResolverTest classes.
Test: runtest -c android.content.SecondaryUserContentResolverTest frameworks-core
      runtest -c android.content.ManagedUserContentResolverTest frameworks-core

Change-Id: I2e9c944c03d1b8a99105b90348634939cea9fc7f
2017-03-06 12:57:57 -08:00
Adam Lesinski
d68e9187cc OMS: Remove old overlays.xml versions
In order to allow the default theme to take effect, older
versions of overlays.xml need to be purged.

Bug: 35757608
Test: manual
Change-Id: Ib8719567455038e8d61bf75968a1842edc34edee
2017-03-06 12:53:51 -08:00
Tom Cherry
4d7094dc99 Merge "Check for spurious wake ups" am: 3a3cd0a27f am: c2dcebe6e6
am: 1344c034c5

Change-Id: I8ffc749ab6fbd825ce238fff4ba1d12609585c04
2017-03-06 20:14:37 +00:00
Tom Cherry
1344c034c5 Merge "Check for spurious wake ups" am: 3a3cd0a27f
am: c2dcebe6e6

Change-Id: I6777a0845cbfbef3681e3f3779779c83001c0456
2017-03-06 20:06:31 +00:00
TreeHugger Robot
df2870df9a Merge "AAPT2: Fix parsing ResTable_type" 2017-03-06 20:01:17 +00:00
Tom Cherry
c2dcebe6e6 Merge "Check for spurious wake ups"
am: 3a3cd0a27f

Change-Id: Ia445070278f5a80c85b48e06ddf614d462db45af
2017-03-06 19:57:18 +00:00
TreeHugger Robot
a3d279fa4b Merge "Limit instant app access to clipboard" 2017-03-06 19:48:19 +00:00
TreeHugger Robot
3a47175778 Merge "Fix Loader bugs" 2017-03-06 19:31:30 +00:00
Tom Cherry
3a3cd0a27f Merge "Check for spurious wake ups" 2017-03-06 19:25:59 +00:00
Jean-Michel Trivi
31901bd920 PlaybackActivityMonitor: fix comment typo
Test: no test for typo
Change-Id: If2c5cc6c634d044c2b92347783c068aedbfbd890
2017-03-06 11:19:47 -08:00
Roozbeh Pournader
b85f02e9ad Merge "Frameworks support for hyphenation for various complex cases" 2017-03-06 19:19:11 +00:00
Tyler Gunn
159f35c8e4 API review cleanups/changes.
- Change onCreateIncomingConnectionFailed/onCreateOutgoingConnectionFailed
to accept the connection mgr phone account as the first parameter.
- For the video APIs, pass the target SDK of the caller into along so
that the Telecom permission check can have fallback behavior for older API
versions.
- Add guidance for how UX should be shown in onShowIncomingCallUi API.
API guidance follows how the Dialer app shows its notification and full
screen UX.

Test: Manual, CTS.
Bug: 35767711
Bug: 35767096
Change-Id: Ib343f0eda1a4d067a38c553f33f140b4efcf3e48
2017-03-06 11:04:55 -08:00
Jeff Davidson
272fe5c338 Merge "Declare new com.android.phone permission in whitelist." 2017-03-06 18:57:48 +00:00
TreeHugger Robot
d4bd7f1ee6 Merge "Removing check for launched-from package to expand PiP." 2017-03-06 18:46:07 +00:00
Ajay Panicker
8aa30c04b8 Merge "Bluetooth: Use content observer for airplane mode" am: 8871623b8d -s ours am: 4ddee9722d
am: a38d289d8a

Change-Id: I8f4d104bef04919b0ca74394a94d2d75b65ced6e
2017-03-06 18:35:08 +00:00
Michal Karpinski
8ff1e7ab73 Merge "BackupManagerService#cancelBackups() releases mCurrentOpLock sooner" 2017-03-06 18:30:05 +00:00
Ajay Panicker
a38d289d8a Merge "Bluetooth: Use content observer for airplane mode" am: 8871623b8d -s ours
am: 4ddee9722d

Change-Id: Ia3653b1737eb48d52eed98c3b6ba99d8e95636d7
2017-03-06 18:26:56 +00:00
Ajay Panicker
4ddee9722d Merge "Bluetooth: Use content observer for airplane mode"
am: 8871623b8d  -s ours

Change-Id: I83e81bd944c36c0f96a213bf57f99e61a7b35404
2017-03-06 18:21:33 +00:00
TreeHugger Robot
74f649a23f Merge "Change group ranking." 2017-03-06 18:16:15 +00:00
Treehugger Robot
8871623b8d Merge "Bluetooth: Use content observer for airplane mode" 2017-03-06 17:59:03 +00:00
Ajay Panicker
b208a1f0ac Bluetooth: Use content observer for airplane mode
We are making this switch as the airplane mode switch intent is going away.

Fix: 35256299
Test: Toggle Airplane Mode
Change-Id: I3b1e5bbdf689b0db98cfbb0ab377198d34f0ba05
2017-03-06 17:55:34 +00:00
Chad Brubaker
34ffba62b3 Limit instant app access to clipboard
Instant apps can access the clipboard (both read and write) in order for
copy/paste UI to work correctly. In order to limit the exposure of user
data Instant Apps can only access the clipboard while running in the
foreground.

Longer term it would be nice to gate Instant Apps clipboard access
around user interaction to prevent shenanigains, but this is a good
start.

Test: Manually verified that ClipboardManager.getPrimaryClip returns
null when the instant app transitions out of the foreground
Bug: 34231507

Change-Id: I7ea83e503d249c61e9df2d8bd83028e24705be11
2017-03-06 09:53:27 -08:00