309583 Commits

Author SHA1 Message Date
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
Makoto Onuki
845dcf0471 Merge "Mention the relaxed security check on UM.isUserRunningOrStopping()." 2017-03-06 17:22:55 +00:00
Mathieu Chartier
748bf77274 Merge "Generate app image for system-server" 2017-03-06 16:49:24 +00:00
TreeHugger Robot
5f19b59491 Merge "Import translations. DO NOT MERGE" 2017-03-06 16:31:59 +00:00
TreeHugger Robot
627c9476e8 Merge "Import translations. DO NOT MERGE" 2017-03-06 16:26:26 +00:00
Charlie Tsai
072d7ac548 Merge "Implement drawPoint and drawPoints of BaseCanvas_Delegate" 2017-03-06 13:43:42 +00:00
Michal Karpinski
eb4ab301e1 BackupManagerService#cancelBackups() releases mCurrentOpLock sooner
Incoming operations don't have to block until all backup ops to be
cancelled are handled.

Test: make gts -j40 && gts-tradefed run gts -m GtsGmscoreHostTestCases -t com.google.android.gts.backup.BackupManagerHostTest
Bug: 35767318
Change-Id: I1c6f7a1cfbfc18483311044a75e46cd4e8f9f4f3
2017-03-06 13:42:27 +00:00
Filip Pavlis
ac24f094f6 Merge "Improve preferences for PreferenceDataStore." 2017-03-06 13:29:32 +00:00
Bartosz Fabianowski
172f7801c7 Rename DPM.isDefaultInputMethodSetByOwner()
Settings.Secure.DEFAULT_INPUT_METHOD is a misnomer. It does not really
record a permanent default of any sort - it just indicates the currently
chosen IME. Thus, isDefaultInputMethodSetByOwner() should more
appropriately be called isCurrentInputMethodSetByOwner().

Furthermore, it turns out that setting a different IME for a user and
the user's work profile is unsupported. Thus, it is sufficient for the
intended use case to just retrieve the calling user's default IME.
There is no need for a |user| parameter.

Bug: 32692748
Test: unit tests (see DevicePolicyManagerTest.java for invocation)
Test: cts-tradefed run cts-dev --module CtsDevicePolicyManagerTestCases

Change-Id: Ia0846d38a1361042429dae7430a8b055575ef2e0
2017-03-06 14:24:12 +01:00
Bill Yi
7fab80002c Import translations. DO NOT MERGE
Change-Id: Id4a9d4c2e278304cbc4bb76cc59a266b9a6f693e
Auto-generated-cl: translation import
2017-03-06 04:46:32 -08:00
Hugo Benichi
45deba76fc Merge "Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions http://b/35955593, http://b/35921499." am: 704520c392 am: 4cf199383f
am: 22d4258a75

Change-Id: I8e66e223003a38735b707d21d7bedb19170b1937
2017-03-06 12:45:10 +00:00
Hugo Benichi
22d4258a75 Merge "Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions http://b/35955593, http://b/35921499." am: 704520c392
am: 4cf199383f

Change-Id: I79234b267fccb31dfd53cf970a8da039654e684b
2017-03-06 12:37:36 +00:00
Hugo Benichi
4cf199383f Merge "Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions http://b/35955593, http://b/35921499."
am: 704520c392

Change-Id: Ia0ae78f8406b81377491407cf5ef8ca339952def
2017-03-06 12:30:05 +00:00
Hugo Benichi
704520c392 Merge "Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions http://b/35955593, http://b/35921499." 2017-03-06 12:20:45 +00:00
Charlie Tsai
dea48d61df Implement drawPoint and drawPoints of BaseCanvas_Delegate
Test: Layoutlib tests
Change-Id: Ic6d81b9581db9dab4ecbacb8f08ab41e0077bab0
2017-03-06 11:39:22 +00:00
Bill Yi
f030bb39c5 Import translations. DO NOT MERGE
Change-Id: Iff822fac67b1b27301b96e63af899e7e1279875f
Auto-generated-cl: translation import
2017-03-06 03:29:50 -08:00
Clara Bayarri
e1be1dfbc3 Merge "Ignore non-font resource references in TextView constructor" 2017-03-06 10:40:24 +00:00
Erik Kline
e0cce21f4d Start of tethering OffloadController
Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 32163131
Change-Id: If8f7df069f37f1b3d440d446ab1b160a52ba9e09
2017-03-06 19:34:38 +09:00
Anton Philippov
1363ab3d7b Merge "Pass an empty list to PerformBackupTask constructor instead of null" 2017-03-06 10:25:25 +00:00
TreeHugger Robot
4c368d5502 Merge "Import translations. DO NOT MERGE" 2017-03-06 06:39:39 +00:00
Hugo Benichi
649e32484e Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions http://b/35955593, http://b/35921499.
This reverts commit faa70976b490116323107166f90fdd944c5bdc77.

Change-Id: I86c07c113f24753be7c977e6d7f570b99391e1b5
2017-03-06 06:16:51 +00:00
Andrii Kulian
d25db710d4 Merge "Compute merged configuration changes" 2017-03-06 06:12:38 +00:00
Bill Yi
895c18c096 Import translations. DO NOT MERGE
Change-Id: I3af1430764f59d462cc653f0a1870611d5ac51a9
Auto-generated-cl: translation import
2017-03-05 19:29:15 -08:00