309611 Commits

Author SHA1 Message Date
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
Clara Bayarri
847d8683a0 Move requestKeyboardShortcuts intent to com.android
Test: none
Bug: 35307747
Change-Id: Ibaf260ebe75bc80d48167209af7d034c582160b7
2017-03-06 16:48:44 +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
Jaewan Kim
8427837e6c Merge "MediaSessionService: Leave volume key event logs by default" 2017-03-06 02:57:32 +00:00
Mathieu Chartier
a30bc6add0 Generate app image for system-server
Use new override properties.

Bug: 34929159

Test: phone boot

Change-Id: Iea7f50d34020255d27a5a303da2801afecb60f25
2017-03-05 16:11:08 -08:00
Hyundo Moon
e0c121a4b7 Merge "Modify JavaDoc of MediaBrowserService.getBrowserRootHints" 2017-03-05 14:18:12 +00:00
Jason Monk
e5b770e47d Updated QS UI
- Adds footer to QS which contains the date/alarm info
   and all touch targets (settings, edit, etc.)
 - Swaps out emergency + carrier text on cell tile for a
   standard CarrierText from lock screen in the header
   to make the header only contain status info.
 - Add dividing line
 - Work on animations

Test: runtest systemui
Change-Id: I97dfea1b1ea7006b53eb61ac3a1f942c64dd282d
2017-03-04 20:02:09 -05:00
Jason Monk
702e2ebf9f Add plugin API for individual QS tiles
This will allow prototyping of individual QS tiles and/or their
visual representation without having to write a plugin for the
entire panel. This will allow quick iteration on QS UI + dual
target tiles.

Test: Install plugin using new API
Change-Id: I05ca9d9f5a200a1dad2c3582251a36edb5cb9aba
2017-03-04 16:01:26 -05:00
TreeHugger Robot
5a4e12e143 Merge "Don't set auto-fill options when Spinner has no adapter." 2017-03-04 10:10:58 +00:00
TreeHugger Robot
f4537dcf3b Merge "Minor changes on AutoFill Save UI." 2017-03-04 10:03:59 +00:00
Felipe Leme
5591044864 Don't set auto-fill options when Spinner has no adapter.
Change-Id: Ib42fe5ba57d5ef31a00b39945ac3bcacbb217cc8
Fixes: 35965642
Bug: 33550221
Test: compilation only
2017-03-04 00:23:23 -08:00
TreeHugger Robot
3056c61155 Merge "Don't run autoFill on detached view or mode=manual" 2017-03-04 06:57:25 +00:00
TreeHugger Robot
3c64ca7d95 Merge "Fix bug #35673706 - null verifier component..." 2017-03-04 03:25:45 +00:00
Paul Lawrence
1ee4025af0 Merge "Make seccomp honor setenforce" am: c337e32bb0 am: 071dcc02b4
am: fb350eb0c7

Change-Id: Id8d8c478d9e1d929d216286bbf0fbdc423018c17
2017-03-04 02:29:36 +00:00
TreeHugger Robot
943d4e8224 Merge "Bluetooth: Use content observer for airplane mode" 2017-03-04 02:27:07 +00:00
Paul Lawrence
fb350eb0c7 Merge "Make seccomp honor setenforce" am: c337e32bb0
am: 071dcc02b4

Change-Id: I95d2303229f38c3d0719d830deefd58cc3280278
2017-03-04 02:23:14 +00:00
Paul Lawrence
071dcc02b4 Merge "Make seccomp honor setenforce"
am: c337e32bb0

Change-Id: I9d1bfd35f7da304188da2d6aff6b937108ae4680
2017-03-04 02:17:43 +00:00
Treehugger Robot
c337e32bb0 Merge "Make seccomp honor setenforce" 2017-03-04 02:08:54 +00:00
Jeff Davidson
7344159c71 Declare new com.android.phone permission in whitelist.
Bug: 35948554
Test: Will verify T/H build
Change-Id: I41773160aa6515983a15365905a2cbb6b13e10c6
2017-03-03 17:42:35 -08:00
Christopher Tate
0fdb3a84cf Fix bug #35673706 - null verifier component...
...causing an NPE when we attempted to call getPackageName() on it.

This patch avoids the NPE, but does not address the underlying
question of why the component we're attempting to target is coming
back null.  This new approach guarantees the security of the broadcast,
though, so we needn't worry further about that.

Test: install app & note verifier action

Change-Id: I0d316e0815210ba1fbb14da6b76d5c23a85c96a4
2017-03-03 17:31:19 -08:00
George Mount
e6f7daeb46 Fix Loader bugs
Bug 32758881
Bug 34264461

When destroying the LoaderManager, the host was not being cleared.
The host was being leaked and this leaked the Activity.

When a LoaderManager is reused, for example with an orientation
change, the host was updated, but it wasn't started. This
adds a test for that case to ensure that when a reused
LoaderManager is loaded that it is properly started.

Test: Ib90f14e16083916a21a25ce87a4dd29ab9a33878
Change-Id: Id4c8afab5db0a78bbff376d597be294a6e3dbcba
2017-03-03 17:27:56 -08:00
Selim Cinek
9635cf3dee Fixed a bug where the expand icon could show but nothing happens
Test: add notification with an icon and short text, HUN
Change-Id: Iefcaf262c5147fd7f580fcf1369e66dc369efc99
Fixes: 27449651
2017-03-03 16:59:51 -08:00
TreeHugger Robot
227bdecf02 Merge "fallout of cleaning-up libutils includes" 2017-03-04 00:52:50 +00:00
TreeHugger Robot
ae3c244944 Merge "AAPT2: Fix Plural::Equals() method" 2017-03-04 00:50:51 +00:00
TreeHugger Robot
64979aacb5 Merge "expose isSealed() from the installer session" 2017-03-04 00:47:36 +00:00
Ashutosh Joshi
41cbfd830a Merge "Pass on the Apps Query Response to clients." 2017-03-04 00:37:36 +00:00
TreeHugger Robot
a515299d29 Merge "Add forAutoFill suffix on ViewStructure methods that add children." 2017-03-04 00:37:14 +00:00
Billy Lamberta
7fe805b137 Merge "Set hdf var 'dac' to true in droiddoc options. Allows for DAC template customizations in Doclava." 2017-03-04 00:19:16 +00:00
TreeHugger Robot
ba1c72b07f Merge "Restrict access from apps to bluetooth_address setting" 2017-03-04 00:03:46 +00:00
TreeHugger Robot
4992dbb6f7 Merge "Mark ACTION_VOICE_ASSIST as SystemApi" 2017-03-03 23:58:19 +00:00