Commit Graph

309172 Commits

Author SHA1 Message Date
Jeremy Joslin
ea65f9d392 Merge "Mark the INetworkScoreCache as oneway." am: edadb3efc3
am: 4fcc44dc9a

Change-Id: I4d2dc6446f347643f654799094ac7f6fb7529438
2017-01-23 21:35:27 +00:00
Nancy Zheng
12562abcd4 Query for the settings package in KeyguardManager instead of hardcoding it. am: e256a18dcd
am: ed92230c38

Change-Id: I41ef0f14cbd3f7e19e6fde0cdf636619683704a2
2017-01-23 21:34:45 +00:00
Nancy Zheng
20d79203be Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev
am: 8ac1bff7e2

Change-Id: I2e4f9b4ea73ff5d0491b8cfda889a57aaac413ff
2017-01-23 21:32:28 +00:00
Nancy Zheng
11bdbd1145 Query for the settings package in KeyguardManager instead of hardcoding it.
am: e256a18dcd

Change-Id: I3eb7f475c44f815ad2f0e8e1f85c39e555774fcc
2017-01-23 21:32:26 +00:00
Jeremy Joslin
4fcc44dc9a Merge "Mark the INetworkScoreCache as oneway."
am: edadb3efc3

Change-Id: I3b71e154f49b354ead2bf734da4a94e332f87a33
2017-01-23 21:31:21 +00:00
Jason Monk
20ff3f9255 SysUI fragments: Integrate new support for constructing
Use a new system for constructing fragments so they can be swapped
out in place maintaining state. This will allow easier integration
with plugin lifecycle as parents who have child plugin fragments
can depend on the class existing and won't have to listen to
the lifecycle.

Test: runtest systemui
Change-Id: I517f4ce3d114abd49b1b5baca388d19e929b8f90
2017-01-23 16:28:03 -05:00
Nancy Zheng
d0c5f0047f Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev
am: 8ac1bff7e2

Change-Id: Ia6a1596958bb151ec58e869587bc2201ba0ebc4f
2017-01-23 21:23:49 +00:00
Richard Coles
2536cc6872 Merge "Expose isMultiProcessEnabled via WebViewDelegate." 2017-01-23 21:23:45 +00:00
Nancy Zheng
ed92230c38 Query for the settings package in KeyguardManager instead of hardcoding it.
am: e256a18dcd

Change-Id: I9e83ca9e1cab882fc0f508ba6c538e08b4fa7499
2017-01-23 21:23:40 +00:00
Treehugger Robot
edadb3efc3 Merge "Mark the INetworkScoreCache as oneway." 2017-01-23 21:22:10 +00:00
Chris Phoenix
717d36e051 power HAL uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds; verify HAL still works

Bug: 33844934
Change-Id: I2f296bc40e36082d8889d2796cf839cb41a21fc3
2017-01-23 13:18:39 -08:00
Nancy Zheng
8ac1bff7e2 Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev 2017-01-23 21:17:19 +00:00
TreeHugger Robot
65e8f0adf3 Merge "Workaround libmemunreachable lockup" 2017-01-23 21:16:55 +00:00
Ashutosh Joshi
f1d9a7e6e4 Merge "Remove AR packages from preloaded classes." 2017-01-23 21:03:01 +00:00
TreeHugger Robot
8eb691db0e Merge "Restore foreground service notifications" 2017-01-23 20:58:53 +00:00
TreeHugger Robot
0fd8eb2342 Merge "Better error message for privapp-permissions test" 2017-01-23 20:53:24 +00:00
Ta-wei Yen
57365441d4 Fix typo in the IS_OMPT_VOICEMAIL field.
This cause the voicemail content provider to crash on query.

Bug: 34610526
Change-Id: I561ae6616fe66ea49630fa6c4eb9280fdc24b153
Fixes: 34610526
Test: VoicemailContentProviderTest
2017-01-23 12:50:35 -08:00
Torbjorn Eklund
137271738e Vodafone SIMs should treat Spain as roaming
Since there are unnecessary "config_operatorConsideredNonRoaming" values
in the following file, UE mistakenly recognizes all Spain network as
non-roaming when Vodafone sim from Spain is inserted. Fix the issue by
removing the values.
 - core/res/res/values-mcc214-mnc01/config.xml

Bug: 30147413
Bug: 33902721
Change-Id: I75b3f4a112a625a80824516bb6ea06a43a4567da
2017-01-23 12:44:02 -08:00
Soonil Nagarkar
086ab84878 Merge "Add background location throttling to LocationManagerService" 2017-01-23 20:42:49 +00:00
Adrian Roos
0b1853f997 KeyguardManager: Fix user resolution of isDeviceSecure/Locked
Fixes isDeviceSecure and isDeviceLocked APIs to use
the user id of the app that executes the code rather
than that of any incoming binder call.

Change-Id: Ib7772b60c35a3ebf96830f9b013c539021e1f063
Fixes: 34592592
Test: manual
2017-01-23 12:40:30 -08:00
Aurimas Liutikas
4ced22d644 Merge "Port RecyclerView to com.android.internal.widget.RecyclerView" 2017-01-23 20:38:42 +00:00
TreeHugger Robot
2d31375d94 Merge "Remove all calls to SkCanvas::getClipStack from HWUI unit tests" 2017-01-23 20:37:16 +00:00
TreeHugger Robot
2505b72247 Merge "Add ResolverActivity testing" 2017-01-23 20:32:53 +00:00
TreeHugger Robot
1f42d9a6ec Merge "Fix recent checkPermission() bug." 2017-01-23 20:27:32 +00:00
Makoto Onuki
66e4a2b801 Do not allow ephemeral apps to access ShortcutManager
Bug: 34178279
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests

Change-Id: I5672f15705a1bf6568a8df58b66e48c802c11852
2017-01-23 12:20:29 -08:00
TreeHugger Robot
eeb4e1d219 Merge "Change WebView fallback mechanism to consider all users' package states." 2017-01-23 20:20:15 +00:00
Christopher Tate
8aa8fe1289 Add an 'am crash' shell command
Induce a normal VM crash via adb, because it's quite different from the
effects of 'am kill'.

Test: induced crashes via adb shell using both pid & pkg

Change-Id: I79654afa7c4a70364cfd7d3af3e80a7b0e59b882
2017-01-23 20:18:45 +00:00
TreeHugger Robot
4a65687b85 Merge "Expose fonts.xml via public API with a service" 2017-01-23 19:57:23 +00:00
TreeHugger Robot
55725f0023 Merge "Add missing nothingToDraw() check" 2017-01-23 19:51:37 +00:00
Brad Ebinger
38e704cace Merge "Deprecate old TelecomManager actions" am: d1ab15a1af am: ee9a9babb1 am: 50315f010c
am: aaad10d729

Change-Id: I35639813b1d356df1fea82c9470bd18fda1c5267
2017-01-23 19:49:34 +00:00
Brad Ebinger
aaad10d729 Merge "Deprecate old TelecomManager actions" am: d1ab15a1af am: ee9a9babb1
am: 50315f010c

Change-Id: I89621d6f584ee743b67838a11fde212d2030900c
2017-01-23 19:38:42 +00:00
Brad Ebinger
50315f010c Merge "Deprecate old TelecomManager actions" am: d1ab15a1af
am: ee9a9babb1

Change-Id: Ib24d46d70b10cd8bb6ac39fd4dc915ac9a19a3ba
2017-01-23 19:31:18 +00:00
TreeHugger Robot
0078315a2a Merge "Work on sysui dependencies" 2017-01-23 19:31:15 +00:00
TreeHugger Robot
953038d1ce Merge changes from topic 'anb'
* changes:
  Adding HardwareBuffer, a Java wrapper around AHardwareBuffer.
  AHardwareBuffer implementation.
2017-01-23 19:29:05 +00:00
Daniel Nishi
e47eac74f7 Only count user 0 for diskstats package logging.
This avoids sizing issues and allows us to be accurate within
a subset of the users, rather than less accurate over the entire
user base.

Bug: 34457425
Test: services instrumentation tests
Change-Id: Ic460a564a9ab9805c7739b4f40502e96bbfe7953
2017-01-23 11:27:34 -08:00
Brad Ebinger
ee9a9babb1 Merge "Deprecate old TelecomManager actions"
am: d1ab15a1af

Change-Id: Id76db43d6cc4477a328698e049558ef936a4fe1d
2017-01-23 19:23:35 +00:00
TreeHugger Robot
360da34205 Merge "Do not log boot times for secondary users and upgrades" 2017-01-23 19:18:48 +00:00
TreeHugger Robot
8c055cbe02 Merge "Fix cancel notification race condition bug." 2017-01-23 19:16:35 +00:00
Brad Ebinger
d1ab15a1af Merge "Deprecate old TelecomManager actions" 2017-01-23 19:09:12 +00:00
Mady Mellor
199ba1cb27 Adjustments to PIP heuristics to snapping along edges of screen
Updating to match prototype
— PIP will snap to corners if within a certain distance from them
- PIP can be placed freely along edges of screen otherwise

Test: manual
Change-Id: Ief5337c5fcfc2a19088bb947486634712ec6ca5d
2017-01-23 11:07:46 -08:00
Fyodor Kupolov
cd2377c6b5 Better error message for privapp-permissions test
Bug: 31008485
Test: manual
Change-Id: Ia1acaa83c6d64ff5a7010f222e4e879fee20414e
2017-01-23 11:07:26 -08:00
John Reck
553ae6ab07 Workaround libmemunreachable lockup
Bug: 34586922
Test: hwui_unit_tests completes
Change-Id: Ia55f7bc49faf8a32624e2f16e2477eb12a261b07
2017-01-23 11:06:46 -08:00
Eugene Susla
cf5df87026 Merge "Add ability to dump settings as proto buf" 2017-01-23 19:02:17 +00:00
TreeHugger Robot
69ab712307 Merge "Make the comments of some of the raw GNSS measurements more clear." 2017-01-23 18:58:36 +00:00
Julia Reynolds
9decd5ab3b Restore foreground service notifications
Fixes: 34582788
Test: manual; start a foreground service) and verify notification
appears (here, set an alarm in Clock app)

Change-Id: Ib788cc78c461d2da32ea9abdb11ab384d1d09dd2
2017-01-23 18:57:37 +00:00
Jeremy Joslin
84fae83f8c Mark the INetworkScoreCache as oneway.
Test: built & run
Bug: 34522097
Change-Id: I7d2075febe6c3cdc24b56df255f8ba59e13322bf
2017-01-23 10:51:41 -08:00
Jeff Schumacher
b16bddca89 Merge "Opened some App Links APIs to @SystemApi" 2017-01-23 18:50:16 +00:00
Stan Iliev
c1db0e0ff7 Remove all calls to SkCanvas::getClipStack from HWUI unit tests
Refactor HWUI unit tests to not invoke SkCanvas::getClipStack,
because this Skia API is going to be deprecated.

Test: Build and ran sailfish-eng. Ran HWUI unit tests.
Change-Id: Iac277aa26fbe9e2a0860cde2dd43732ed1c4c4e3
2017-01-23 13:47:35 -05:00
Hakan Seyalioglu
9149dcaf41 Add ResolverActivity testing
Still very basic, but will be adding as we find more issues pop up.

Test: Ran the tests
Change-Id: Ib9863509d140ff425ce446ecc876f53494d4fd0e
2017-01-23 10:43:03 -08:00
Jeff Sharkey
d69b083bc3 Fix recent checkPermission() bug.
It should be checking if the UID argument passed in has the requested
permission; not the calling UID.

Test: builds, boots
Bug: 34528367
Change-Id: Ie1828f571d9f143ce9f5bdca2eedcf2fa6ccfd79
2017-01-23 11:37:27 -07:00