OSDN Git Service

android-x86/frameworks-base.git
7 years agoHandling the touch better when the screen turns off
Selim Cinek [Wed, 3 May 2017 03:02:30 +0000 (20:02 -0700)]
Handling the touch better when the screen turns off

Previously we were only cancelling touches when
showing keyguard, but this is not enough, since
a user might be touching it while on the keyguard
(e.g with falsing)

Fixes: 37287962
Fixes: 36416066
Fixes: 37696557
Test: manual, turn of screen while interacting
Merged-In: I572ade2380986ef087468dff721b1d1dfa7a48ab
Change-Id: I572ade2380986ef087468dff721b1d1dfa7a48ab

7 years agoMerge "Move the last user save from onCleanupUser to onStopUser" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 19:31:16 +0000 (19:31 +0000)]
Merge "Move the last user save from onCleanupUser to onStopUser" into oc-dev

7 years agoMerge "Fix stupid bug." into oc-dev
TreeHugger Robot [Mon, 1 May 2017 19:30:33 +0000 (19:30 +0000)]
Merge "Fix stupid bug." into oc-dev

7 years agoMerge "Fixed that snooze options were animating" into oc-dev
Selim Cinek [Mon, 1 May 2017 18:43:35 +0000 (18:43 +0000)]
Merge "Fixed that snooze options were animating" into oc-dev

7 years agoMerge "Updates based on API council guidance." into oc-dev
Jeff Sharkey [Mon, 1 May 2017 18:36:18 +0000 (18:36 +0000)]
Merge "Updates based on API council guidance." into oc-dev

7 years agoMerge "Use newest scrap view in ListView" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 18:31:35 +0000 (18:31 +0000)]
Merge "Use newest scrap view in ListView" into oc-dev

7 years agoMerge "Rename restartOnConfigChanges to recreateOnConfigChanges." into oc-dev
Jeff Sharkey [Mon, 1 May 2017 18:22:33 +0000 (18:22 +0000)]
Merge "Rename restartOnConfigChanges to recreateOnConfigChanges." into oc-dev

7 years agoMerge "Add parameter for accessing channels from 3rd-party TV apps." into oc-dev
TreeHugger Robot [Mon, 1 May 2017 18:20:08 +0000 (18:20 +0000)]
Merge "Add parameter for accessing channels from 3rd-party TV apps." into oc-dev

7 years agoMerge "Ensure that the action views are always updated." into oc-dev
TreeHugger Robot [Mon, 1 May 2017 17:56:08 +0000 (17:56 +0000)]
Merge "Ensure that the action views are always updated." into oc-dev

7 years agoFix stupid bug.
Dianne Hackborn [Mon, 1 May 2017 17:54:07 +0000 (10:54 -0700)]
Fix stupid bug.

Test: manual

Change-Id: I1e3bd86eb3e000111721bad82bebdfb491c2e5de

7 years agoMerge "Change String to CharSequence in #loadSummary." into oc-dev
Jeff Sharkey [Mon, 1 May 2017 17:52:22 +0000 (17:52 +0000)]
Merge "Change String to CharSequence in #loadSummary." into oc-dev

7 years agoMerge "Fix issue with double tapping PiP" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 17:50:37 +0000 (17:50 +0000)]
Merge "Fix issue with double tapping PiP" into oc-dev

7 years agoMerge "Removing unnecessary asset." into oc-dev
Jeff Sharkey [Mon, 1 May 2017 17:48:24 +0000 (17:48 +0000)]
Merge "Removing unnecessary asset." into oc-dev

7 years agoMerge "Increase max system_server hwbinder threadpool to 5." into oc-dev
TreeHugger Robot [Mon, 1 May 2017 17:47:00 +0000 (17:47 +0000)]
Merge "Increase max system_server hwbinder threadpool to 5." into oc-dev

7 years agoMerge "Move ColorSpace#Renderer tests to APCT" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 17:23:50 +0000 (17:23 +0000)]
Merge "Move ColorSpace#Renderer tests to APCT" into oc-dev

7 years agoMerge "Change MANAGE_OWN_CALLS permission to be a "normal" permission." into oc-dev
Jeff Sharkey [Mon, 1 May 2017 17:19:26 +0000 (17:19 +0000)]
Merge "Change MANAGE_OWN_CALLS permission to be a "normal" permission." into oc-dev

7 years agoMove the last user save from onCleanupUser to onStopUser
Makoto Onuki [Fri, 28 Apr 2017 19:24:16 +0000 (12:24 -0700)]
Move the last user save from onCleanupUser to onStopUser

Bug: 37780857

Test: manual test with work profile

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: I8b053c6a55df374a89ab85d76b9d36abf639f649

7 years agoMerge "Added dialog to notify user of thermal shutdown" into oc-dev
Salvador Martinez [Mon, 1 May 2017 16:45:25 +0000 (16:45 +0000)]
Merge "Added dialog to notify user of thermal shutdown" into oc-dev

7 years agoMerge "Removing ACTION_CLEAR_PACKAGE intent" into oc-dev
Matthew Snider [Mon, 1 May 2017 16:42:19 +0000 (16:42 +0000)]
Merge "Removing ACTION_CLEAR_PACKAGE intent" into oc-dev

7 years agoMerge "Move intents ACTION_DEFAULT_SMS_SUBSCRIPTION_CHANGED, ACTION_DEFAULT_SUBSCRIPT...
Jeff Sharkey [Mon, 1 May 2017 16:05:26 +0000 (16:05 +0000)]
Merge "Move intents ACTION_DEFAULT_SMS_SUBSCRIPTION_CHANGED, ACTION_DEFAULT_SUBSCRIPTION_CHANGED and EXTRA_SUBSCRIPTION_INDEX from Intent class to SubscriptionManager class." into oc-dev

7 years agoRemoving unnecessary asset.
Winson Chung [Fri, 28 Apr 2017 20:07:46 +0000 (13:07 -0700)]
Removing unnecessary asset.

Bug: 37743450
Test: None, just removing asset
Change-Id: Icbf8c2fd08b3f0ad52ced3dcd8766cd9d055d5fb

7 years agoMerge "Change android.permission.RESTRICTED_VR_ACCESS to SystemAPI" into oc-dev
Jeff Sharkey [Mon, 1 May 2017 15:37:12 +0000 (15:37 +0000)]
Merge "Change android.permission.RESTRICTED_VR_ACCESS to SystemAPI" into oc-dev

7 years agoRename restartOnConfigChanges to recreateOnConfigChanges.
Holly Jiuyu Sun [Fri, 28 Apr 2017 22:34:44 +0000 (15:34 -0700)]
Rename restartOnConfigChanges to recreateOnConfigChanges.

Bug: 37738136
Test: unit test
Change-Id: Icea9faf1d7f55b875d6ff9e4cc9aed4868637895

7 years agoMerge "Fix flaky test?" into oc-dev
Jason Monk [Mon, 1 May 2017 13:23:17 +0000 (13:23 +0000)]
Merge "Fix flaky test?" into oc-dev

7 years agoMerge "AudioFocusRequest: more docs, listener without handler" into oc-dev
Jean-Michel Trivi [Mon, 1 May 2017 06:33:01 +0000 (06:33 +0000)]
Merge "AudioFocusRequest: more docs, listener without handler" into oc-dev

7 years agoChange android.permission.RESTRICTED_VR_ACCESS to SystemAPI
Karthik Ravi Shankar [Fri, 28 Apr 2017 18:21:04 +0000 (11:21 -0700)]
Change android.permission.RESTRICTED_VR_ACCESS to SystemAPI

android.permission.RESTRICTED_VR_ACCESS is currently an open API. But
since it can only be used by System Apps because of it's protection
level which is "signature|preinstalled". Change this to a @SystemApi.

Bug: 37724255
Test: run gts --module GtsPermissionTestCases
1. Run with two apps having android.permission.RESTRICTED_VR_ACCESS
   before change -- fails.
2. Run with two appshaving android.permission.RESTRICTED_VR_ACCESS
   after this change -- passes.

Change-Id: I9e640b0794fa16d03ba22e8aa75175e7e08dd88b
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
7 years agoAudioFocusRequest: more docs, listener without handler
Jean-Michel Trivi [Mon, 1 May 2017 01:49:36 +0000 (18:49 -0700)]
AudioFocusRequest: more docs, listener without handler

Focus listener: follow platform pattern for setter of listener
  and handler (set(listener) and set(listener, handler) methods).
More docs.

Test: cts-tradefed run cts -m CtsMediaTestCases -t android.media.cts.AudioFocusTest
Bug: 30258418

Change-Id: Ib5d1fbc3cf92821b63ffc1b4ad4cf4384bb6ff54

7 years agoMerge "Revert "WifiManager: expose Local Only Hotspot APIs"" into oc-dev
Rebecca Silberstein [Sun, 30 Apr 2017 21:54:43 +0000 (21:54 +0000)]
Merge "Revert "WifiManager: expose Local Only Hotspot APIs"" into oc-dev

7 years agoRevert "WifiManager: expose Local Only Hotspot APIs"
Rebecca Silberstein [Sun, 30 Apr 2017 20:02:59 +0000 (20:02 +0000)]
Revert "WifiManager: expose Local Only Hotspot APIs"

This reverts commit ec18f81e5b8bc4e4486b00f37e68cff4ff9131eb.

Reverting the CL to expose the APIs so we have more time for testing
and ironing out the API.

Bug: 31466854
Bug: 37073685
Test: make update-api
Test: make
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: frameworks/base/wifi/tests/runtests.sh

Change-Id: I17d4e3e32e28dbbb08ba99c266a9b74044e6001d

7 years agoMerge changes I8d149ab0,Ia0a52819,If54a89cb,I20faa733,Ib32dfd23 into oc-dev
Rebecca Silberstein [Sun, 30 Apr 2017 18:30:43 +0000 (18:30 +0000)]
Merge changes I8d149ab0,Ia0a52819,If54a89cb,I20faa733,Ib32dfd23 into oc-dev

* changes:
  WifiManager: expose Local Only Hotspot APIs
  WifiManager: implement watch LocalOnlyHotspot
  WifiManager: implement start/stopLocalOnlyHotspot
  WifiManager: add LocalOnlyHotspotObserverProxy
  WifiManager: add LocalOnlyHotspotCallbackProxy

7 years agoMerge "Work on issue #36891897: Need to ensure foreground services can't..." into...
Dianne Hackborn [Sun, 30 Apr 2017 17:19:29 +0000 (17:19 +0000)]
Merge "Work on issue #36891897: Need to ensure foreground services can't..." into oc-dev

7 years agoMerge "TextClassifier: API rename" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 17:15:44 +0000 (17:15 +0000)]
Merge "TextClassifier: API rename" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 16:08:30 +0000 (16:08 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "AAPT2: Fix typo in manifest validation expectation" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 14:31:12 +0000 (14:31 +0000)]
Merge "AAPT2: Fix typo in manifest validation expectation" into oc-dev

7 years agoMerge "Rename persistentFeature to persistentWhenFeatureAvailable." into oc-dev
Martijn Coenen [Sun, 30 Apr 2017 13:47:06 +0000 (13:47 +0000)]
Merge "Rename persistentFeature to persistentWhenFeatureAvailable." into oc-dev

7 years agoMerge "WifiManager: add APIs for LOHS" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:43:19 +0000 (09:43 +0000)]
Merge "WifiManager: add APIs for LOHS" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:40:24 +0000 (09:40 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:35:07 +0000 (09:35 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:31:52 +0000 (09:31 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:28:47 +0000 (09:28 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:24:26 +0000 (09:24 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:23:33 +0000 (09:23 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:17:43 +0000 (09:17 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 09:16:27 +0000 (09:16 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoWifiManager: expose Local Only Hotspot APIs
Rebecca Silberstein [Fri, 28 Apr 2017 20:28:12 +0000 (13:28 -0700)]
WifiManager: expose Local Only Hotspot APIs

Expose the APIs to start and stop LocalOnlyHotspot.

Bug: 31466854
Bug: 37073685
Test: make update-api
Test: make
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I8d149ab04d24bf0eb54dd8d8a62e285f9c5b483e

7 years agoWifiManager: implement watch LocalOnlyHotspot
Rebecca Silberstein [Thu, 27 Apr 2017 20:57:19 +0000 (13:57 -0700)]
WifiManager: implement watch LocalOnlyHotspot

Implement new calls to watchLocalOnlyHotspot and
unregisterLocalOnlyHotspotObserver along with the classes
LocalOnlyHotspotObserver and LocalOnlyHotspotSubscription.

Added tests for watching LOHS and cancelling a LOHS subscription.

The calls will be exposed in a later CL.

Bug: 36704763
Test: compiles
Test: frameworks/base/wifi/tests/runtests.sh
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Ia0a528191ae0897742304d8b61e9779ad721a450

7 years agoWifiManager: implement start/stopLocalOnlyHotspot
Rebecca Silberstein [Sat, 25 Mar 2017 19:40:29 +0000 (12:40 -0700)]
WifiManager: implement start/stopLocalOnlyHotspot

Implement new calls to startLocalOnlyHotspot and
cancelLocalOnlyHotspotRequest along with the classes
LocalOnlyHotspotCallback and LocalOnlyHotspotReservation.

Added tests for starting LOHS and cancelling a LOHS request.

The calls will be exposed in a later CL.

Bug: 36704763
Test: compiles
Test: frameworks/base/wifi/tests/runtests.sh
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh

Change-Id: If54a89cb8dfd235bc18ef3e6c89f9d30882136a3

7 years agoWifiManager: add LocalOnlyHotspotObserverProxy
Rebecca Silberstein [Thu, 27 Apr 2017 05:02:30 +0000 (22:02 -0700)]
WifiManager: add LocalOnlyHotspotObserverProxy

Add the proxy for LOHS observer callbacks to make sure we give updates
to calling apps on the correct thread.

This will be used in a follow-on CL.

Bug: 36704763
Test: mmma -j64 frameworks/base/
Change-Id: I20faa73325116426f45d9d8fabc45b279bd5a286

7 years agoWifiManager: add LocalOnlyHotspotCallbackProxy
Rebecca Silberstein [Thu, 27 Apr 2017 04:50:04 +0000 (21:50 -0700)]
WifiManager: add LocalOnlyHotspotCallbackProxy

Add the proxy for LOHS callbacks to make sure we give updates to calling
apps on the correct thread.

This will be used in a follow-on CL.

Bug: 36704763
Test: mmma -j64 frameworks/base/
Change-Id: Ib32dfd232ff8aaeb5f7b228cf0cfc3fd23fd7ee4

7 years agoWifiManager: add APIs for LOHS
Rebecca Silberstein [Wed, 26 Apr 2017 23:11:52 +0000 (16:11 -0700)]
WifiManager: add APIs for LOHS

Add the APIs and docs for LocalOnlyHotspot (LOHS).  The calls are
not implemented with this CL.

Bug: 36704763
Bug: 37073685
Test: make
Change-Id: Ib7ab287a65091f54abef56feebb4cccd1e15a173

7 years agoMerge "Restricted Context layout font loading in TextView" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 06:50:36 +0000 (06:50 +0000)]
Merge "Restricted Context layout font loading in TextView" into oc-dev

7 years agoMerge "Address API council comments" into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 06:43:07 +0000 (06:43 +0000)]
Merge "Address API council comments" into oc-dev

7 years agoMerge "Don't show unset values in AccessPoint toString." into oc-dev
TreeHugger Robot [Sun, 30 Apr 2017 04:53:13 +0000 (04:53 +0000)]
Merge "Don't show unset values in AccessPoint toString." into oc-dev

7 years agoMerge "Use ConnectivityService's NETWORK_STACK permission for SoftAp operations"...
TreeHugger Robot [Sun, 30 Apr 2017 04:32:35 +0000 (04:32 +0000)]
Merge "Use ConnectivityService's NETWORK_STACK permission for SoftAp operations" into oc-dev

7 years agoWork on issue #36891897: Need to ensure foreground services can't...
Dianne Hackborn [Wed, 26 Apr 2017 20:59:47 +0000 (13:59 -0700)]
Work on issue #36891897: Need to ensure foreground services can't...

...hide themselves

The activity manager now keeps track of all apps that are running
foreground services and builds a notification showing them to the
user.  We ensure they are shown to the user for at least 30 seconds
(configurable).  If foreground services are executed while the
screen is off, their apps will be shown to the user for at least
30 seconds after the screen turns back on.

While doing this I am also adding a new process state to distinguish
between "important background" stuff that should bypass bg check vs.
ones that don't.  By default, these now no longer bypass bg check,
which is really the expected (and documented) behavior.  There is a
new bind flag to allow them to bypass bg check, which is currently
only used by the IME.

Also add some new job scheduler commands that will be used to
write new tests cases for jobs timing out.

Bug: 36891897

Test: manual

Change-Id: Ied3f7b56444254513fd776f06b88bc0e54704958

7 years agoTextClassifier: API rename
Abodunrinwa Toki [Fri, 28 Apr 2017 18:59:57 +0000 (19:59 +0100)]
TextClassifier: API rename

 getTextClassificationResult() -> classifyText()
 TextClassificationResult -> TextClassification

Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Bug: 37769880
Change-Id: I2d926e89058babf06bcff390bee3a45e965984e8

7 years agoMerge "Fixed an issue where notifications wouldn't have a channel" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 23:09:36 +0000 (23:09 +0000)]
Merge "Fixed an issue where notifications wouldn't have a channel" into oc-dev

7 years agoMerge "Fixing test due to null PiP default bounds." into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 22:36:56 +0000 (22:36 +0000)]
Merge "Fixing test due to null PiP default bounds." into oc-dev

7 years agoMerge "Fixed the hasCarrierFrequency flag in GnssStatus (part1)" into oc-dev
Yipeng Cao [Sat, 29 Apr 2017 22:34:55 +0000 (22:34 +0000)]
Merge "Fixed the hasCarrierFrequency flag in GnssStatus (part1)" into oc-dev

7 years agoMerge "AAPT2: binary parser should be more lenient with files" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 21:39:26 +0000 (21:39 +0000)]
Merge "AAPT2: binary parser should be more lenient with files" into oc-dev

7 years agoMerge "AAPT2: Fix string escaping" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 21:04:34 +0000 (21:04 +0000)]
Merge "AAPT2: Fix string escaping" into oc-dev

7 years agoMerge changes I446fb6ab,Ife3bbd29 into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 20:38:15 +0000 (20:38 +0000)]
Merge changes I446fb6ab,Ife3bbd29 into oc-dev

* changes:
  Valid resource IDs may be negative
  AAPT2: Workaround for findViewById with package ID > 0x7f

7 years agoMerge "Add managed profile whitelist to control NotificationListenerServices" into...
TreeHugger Robot [Sat, 29 Apr 2017 19:49:31 +0000 (19:49 +0000)]
Merge "Add managed profile whitelist to control NotificationListenerServices" into oc-dev

7 years agoUpdates based on API council guidance.
Jeff Sharkey [Sat, 29 Apr 2017 19:13:27 +0000 (13:13 -0600)]
Updates based on API council guidance.

Test: builds, boots
Change-Id: I223faf55c1e1b4d81d11b4c8b2d93ccd131c969b
Fixes: 37775662
Fixes: 37748635
Fixes: 37673408
Fixes: 37672564
Fixes: 37672218
Fixes: 37638323
Fixes: 37637423

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 29 Apr 2017 18:16:11 +0000 (11:16 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie2537dfd9a1079cb527dbb306f6d62c32a4094fd
Auto-generated-cl: translation import

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 18:14:53 +0000 (18:14 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 29 Apr 2017 18:11:22 +0000 (11:11 -0700)]
Import translations. DO NOT MERGE

Change-Id: I9a097c492fa434b7b78a62bf639c262154fcdd52
Auto-generated-cl: translation import

7 years agoMerge "Revert "Treat Telephony as legacy app for now."" into oc-dev
Jeff Sharkey [Sat, 29 Apr 2017 17:38:53 +0000 (17:38 +0000)]
Merge "Revert "Treat Telephony as legacy app for now."" into oc-dev

7 years agoMerge "Experimental features only on debuggable builds." into oc-dev
Jeff Sharkey [Sat, 29 Apr 2017 17:33:54 +0000 (17:33 +0000)]
Merge "Experimental features only on debuggable builds." into oc-dev

7 years agoMerge "API fixes for Companion renaming" into oc-dev
Jeff Sharkey [Sat, 29 Apr 2017 17:11:35 +0000 (17:11 +0000)]
Merge "API fixes for Companion renaming" into oc-dev

7 years agoMerge "Rename Companion permissions" into oc-dev
Jeff Sharkey [Sat, 29 Apr 2017 17:04:42 +0000 (17:04 +0000)]
Merge "Rename Companion permissions" into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 29 Apr 2017 17:01:47 +0000 (10:01 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ia06f4c8f73b012dbfd17c0681ea17d7eaa2c3137
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 29 Apr 2017 16:58:01 +0000 (09:58 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id1cf0436e966c1ae73301b64c1e479f55abd078b
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 29 Apr 2017 16:41:24 +0000 (09:41 -0700)]
Import translations. DO NOT MERGE

Change-Id: I67b11b17a2400e4330f1c1d501bf73375fcfa538
Auto-generated-cl: translation import

7 years agoMerge "Remove FontVariationAxis.InvalidFormatException." into oc-dev
Jeff Sharkey [Sat, 29 Apr 2017 16:39:32 +0000 (16:39 +0000)]
Merge "Remove FontVariationAxis.InvalidFormatException." into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 29 Apr 2017 16:25:03 +0000 (09:25 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iafadab9c947745e67c3a904cc0720860952c88ea
Auto-generated-cl: translation import

7 years agoMerge "bringDownServiceLocked() shouldn't complain when mServicesByName..." into...
Makoto Onuki [Sat, 29 Apr 2017 16:19:39 +0000 (16:19 +0000)]
Merge "bringDownServiceLocked() shouldn't complain when mServicesByName..." into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 29 Apr 2017 16:18:59 +0000 (09:18 -0700)]
Import translations. DO NOT MERGE

Change-Id: I2b2896dce44bf325f7e292e34e7af173c3f33eac
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 29 Apr 2017 16:14:23 +0000 (09:14 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ide7aa30a8cc7c5ecbeb031353dd66e5458c30c8e
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 29 Apr 2017 16:10:27 +0000 (09:10 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1f4af1be4282aab840f38e157cb2b82762010d71
Auto-generated-cl: translation import

7 years agoMerge "A11y changes for API council" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 15:54:21 +0000 (15:54 +0000)]
Merge "A11y changes for API council" into oc-dev

7 years agoMerge "Autogrouped summaries should be muted" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 14:15:22 +0000 (14:15 +0000)]
Merge "Autogrouped summaries should be muted" into oc-dev

7 years agoMerge "Don't try to create user for task snapshot tests" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 07:03:50 +0000 (07:03 +0000)]
Merge "Don't try to create user for task snapshot tests" into oc-dev

7 years agoMerge "Bluetooth: bluetooth.le API fixes" into oc-dev
Jakub Pawlowski [Sat, 29 Apr 2017 06:11:34 +0000 (06:11 +0000)]
Merge "Bluetooth: bluetooth.le API fixes" into oc-dev

7 years agoUse ConnectivityService's NETWORK_STACK permission for SoftAp operations
Erik Kline [Sat, 29 Apr 2017 04:20:04 +0000 (13:20 +0900)]
Use ConnectivityService's NETWORK_STACK permission for SoftAp operations

Test: as follows
    - built
    - flashed
    - booted
    - "runtest frameworks-net" passes
Bug: 37647880
Bug: 37750597
Change-Id: I4fb603b7491013bc13b0c08a785eae6cd37337b9
(cherry picked from commit 256be78f7d00c619cca9ed5a550b04fabd4cc48e)

7 years agoMerge "Make autofilled highlight an attribute" into oc-dev
Philip P. Moltmann [Sat, 29 Apr 2017 05:16:34 +0000 (05:16 +0000)]
Merge "Make autofilled highlight an attribute" into oc-dev

7 years agoMerge "Make sure to update oom-adjustment when a service starts." into oc-dev
Makoto Onuki [Sat, 29 Apr 2017 05:15:39 +0000 (05:15 +0000)]
Merge "Make sure to update oom-adjustment when a service starts." into oc-dev

7 years agoMerge "Add constant for autofill-service-add URL" into oc-dev
Philip P. Moltmann [Sat, 29 Apr 2017 05:14:36 +0000 (05:14 +0000)]
Merge "Add constant for autofill-service-add URL" into oc-dev

7 years agoChange String to CharSequence in #loadSummary.
Saige McVea [Sat, 29 Apr 2017 03:30:25 +0000 (20:30 -0700)]
Change String to CharSequence in #loadSummary.

Per API council review, localized strings should return CharSequence. Also
updated doc.

Test: ag/1813674

Bug: 37723508

Change-Id: I5ae868c2dda64d3756ad477578c65708242fde8c

7 years agoMerge changes I1b2f0726,Iaed2c7e7 into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 03:06:02 +0000 (03:06 +0000)]
Merge changes I1b2f0726,Iaed2c7e7 into oc-dev

* changes:
  Apply proper theme to SaveUi
  Prevent clipping of shadow when button is pressed

7 years agoMerge "API: make "what's the quota?" an operation on the backup data sinks" into...
TreeHugger Robot [Sat, 29 Apr 2017 03:05:25 +0000 (03:05 +0000)]
Merge "API: make "what's the quota?" an operation on the backup data sinks" into oc-dev

7 years agoMerge "Throttle location update rate in proximity alert" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 02:48:24 +0000 (02:48 +0000)]
Merge "Throttle location update rate in proximity alert" into oc-dev

7 years agoFixed that snooze options were animating
Selim Cinek [Sat, 29 Apr 2017 02:22:17 +0000 (19:22 -0700)]
Fixed that snooze options were animating

Right after inflation, they would animate.

Test: manual
Change-Id: I347bcb5a9e483da7e315a83c2a05c6afc2ef3fed
Fixes: 37796113

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 29 Apr 2017 01:58:07 +0000 (18:58 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iad522d6efa2a0c3a0cc5d88ac4e61e8515ef2bce
Auto-generated-cl: translation import

7 years agoAdd parameter for accessing channels from 3rd-party TV apps.
jiabin [Tue, 25 Apr 2017 00:03:42 +0000 (17:03 -0700)]
Add parameter for accessing channels from 3rd-party TV apps.

Test: runtest --path packages/providers/TvProvider/tests
Bug: 37576643
Change-Id: Iff797d4cdc9e0a4115d44c4de732f241a9a9f878

7 years agoFixing test due to null PiP default bounds.
Winson Chung [Fri, 28 Apr 2017 00:36:41 +0000 (17:36 -0700)]
Fixing test due to null PiP default bounds.

- Also moving the default bounds call into the pinned stack window
  controller

Bug: 37682538
Test: bit FrameworksServicesTests:com.android.server.am.ActivityStackSupervisorTests\#testReplacingTaskInPinnedStack

Change-Id: Id6608d484617ec1a596e608aab649a082b4b1e95

7 years agoIncrease max system_server hwbinder threadpool to 5.
Martijn Coenen [Sat, 29 Apr 2017 00:05:29 +0000 (17:05 -0700)]
Increase max system_server hwbinder threadpool to 5.

system_server hosts HIDL services, but also many different
callback interfaces. Subtle deadlocks can occur if there's
only one HwBinder thread to handle incoming transactions.
Increasing this to 5 threads seems reasonable - we haven't
really seen any performance issues due to this.

The main danger with this change is that not all callback
interfaces may be written in a thread-safe way, but some
quick testing revealed no issues.

Bug: 37531523
Bug: 37509431
Test: builds, Maps/YouTube/Camera/Music/Netflix
Change-Id: I52bff2f2263625c1a33f60b8b27c307c1d31000c

7 years agoFixed an issue where notifications wouldn't have a channel
Selim Cinek [Fri, 28 Apr 2017 23:50:41 +0000 (16:50 -0700)]
Fixed an issue where notifications wouldn't have a channel

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java
Change-Id: I44e66fe7c1b1cac816f3ae51bfefca3e0dafb465
Fixes: 37754736

7 years agobringDownServiceLocked() shouldn't complain when mServicesByName...
Makoto Onuki [Fri, 28 Apr 2017 23:27:15 +0000 (16:27 -0700)]
bringDownServiceLocked() shouldn't complain when mServicesByName...

doesn't contain the given record, which is what happens when this method
is called by bringUpServiceLocked().

Bug 37746449
Test: bit CtsAppTestCases:ServiceTest

Change-Id: Ie540f634a0a1d2a1f16df382f1ea09a083ffa483

7 years agoAddress API council comments
Svet Ganov [Fri, 28 Apr 2017 23:34:02 +0000 (16:34 -0700)]
Address API council comments

bug:37769694
bug:37322491

Change-Id: I931cfb5ea5fef1505a97b169125ed2cdaaa3d6ff