OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Fix stupid bug." into oc-dev
Dianne Hackborn [Mon, 1 May 2017 19:38:17 +0000 (19:38 +0000)]
Merge "Fix stupid bug." into oc-dev
am: 36fd25eec5

Change-Id: I096332ea215a70f40da85cfbdba1140eb770fef4

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 "Merge "Remove no-op std::max call" am: c00af4c533 am: ef5e579cec am: f3310cb3b...
Android Build Merger (Role) [Mon, 1 May 2017 18:53:43 +0000 (18:53 +0000)]
Merge "Merge "Remove no-op std::max call" am: c00af4c533 am: ef5e579cec am: f3310cb3b1" into oc-dev-plus-aosp

7 years agoMerge "Remove no-op std::max call" am: c00af4c533 am: ef5e579cec
Yi Kong [Mon, 1 May 2017 18:51:59 +0000 (18:51 +0000)]
Merge "Remove no-op std::max call" am: c00af4c533 am: ef5e579cec
am: f3310cb3b1

Change-Id: I553be70f9ba04feaf4da01041bfb3edc6ae38252

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

Change-Id: Iaf33f16e0dabb0ca56b890a404500a01d26e579d

7 years agoMerge "Remove no-op std::max call" am: c00af4c533
Yi Kong [Mon, 1 May 2017 18:46:15 +0000 (18:46 +0000)]
Merge "Remove no-op std::max call" am: c00af4c533
am: ef5e579cec

Change-Id: I140b00023b25f2609137eb223ba4641057a418b5

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:43:12 +0000 (18:43 +0000)]
Merge "Updates based on API council guidance." into oc-dev
am: 3ba7117164

Change-Id: I75953e083e10972dcc44c431ff84bf3977e8d442

7 years agoMerge "Remove no-op std::max call"
Yi Kong [Mon, 1 May 2017 18:40:43 +0000 (18:40 +0000)]
Merge "Remove no-op std::max call"
am: c00af4c533

Change-Id: I9bbbb3689d51e364752efe7b5f1b21f30bc3de18

7 years agoMerge "Use newest scrap view in ListView" into oc-dev
Phil Weaver [Mon, 1 May 2017 18:40:43 +0000 (18:40 +0000)]
Merge "Use newest scrap view in ListView" into oc-dev
am: ecc0e16e32

Change-Id: I20da3472569c1882f88a56b0e4fd720f75396f7d

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 "Rename restartOnConfigChanges to recreateOnConfigChanges." into oc-dev
Jeff Sharkey [Mon, 1 May 2017 18:35:01 +0000 (18:35 +0000)]
Merge "Rename restartOnConfigChanges to recreateOnConfigChanges." into oc-dev
am: a5e8bfe999

Change-Id: I4921365f720b18d3488da06cbe94a536e6489478

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 "Remove no-op std::max call"
Yi Kong [Mon, 1 May 2017 18:29:24 +0000 (18:29 +0000)]
Merge "Remove no-op std::max call"

7 years agoMerge "Add parameter for accessing channels from 3rd-party TV apps." into oc-dev
jiabin [Mon, 1 May 2017 18:27:09 +0000 (18:27 +0000)]
Merge "Add parameter for accessing channels from 3rd-party TV apps." into oc-dev
am: f3a5f66139

Change-Id: Ifa88fe71ed6d1b75be62b579908f412019ed68f2

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
Winson Chung [Mon, 1 May 2017 18:13:19 +0000 (18:13 +0000)]
Merge "Ensure that the action views are always updated." into oc-dev
am: f8e7cbffb9

Change-Id: I00b603c3bcc4da09d95e1feb8d80bac2626b6b26

7 years agoMerge "Change String to CharSequence in #loadSummary." into oc-dev
Jeff Sharkey [Mon, 1 May 2017 18:10:36 +0000 (18:10 +0000)]
Merge "Change String to CharSequence in #loadSummary." into oc-dev
am: 63827ce61b

Change-Id: Ic7a72161a671de50ade75e670e269523dd78f7fe

7 years agoMerge "Fix issue with double tapping PiP" into oc-dev
Winson Chung [Mon, 1 May 2017 18:08:15 +0000 (18:08 +0000)]
Merge "Fix issue with double tapping PiP" into oc-dev
am: 33d95164ab

Change-Id: I34edd358a3d44e58fbf80661d14d541fcb275de2

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

Change-Id: I52336e75ff507b186ba74b4e5b25ac796fe6dd07

7 years agoMerge "Increase max system_server hwbinder threadpool to 5." into oc-dev
Martijn Coenen [Mon, 1 May 2017 17:56:33 +0000 (17:56 +0000)]
Merge "Increase max system_server hwbinder threadpool to 5." into oc-dev
am: e14513c787

Change-Id: Ic56ac41fcb853d142be472a87541b0b4bb132ff5

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
Chris Craik [Mon, 1 May 2017 17:34:59 +0000 (17:34 +0000)]
Merge "Move ColorSpace#Renderer tests to APCT" into oc-dev
am: 117ce083bf

Change-Id: I86a5aec02da2012542fc6b9cbb5bab83d0ca9bf6

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

Change-Id: I5998fd5c20c43a3a5595919abc4c77a0715ab044

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 agoMerge "Added dialog to notify user of thermal shutdown" into oc-dev
Salvador Martinez [Mon, 1 May 2017 16:55:44 +0000 (16:55 +0000)]
Merge "Added dialog to notify user of thermal shutdown" into oc-dev
am: 4d09adcef1

Change-Id: Ic53481e2aa95146bc33c21174b1a50f62bdc8851

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

Change-Id: Ib173b22981d9081c184b024d54671729ec081d11

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:11:00 +0000 (16:11 +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
am: 080e16575a

Change-Id: I8e81a2f5361d2fc6ab61cb38f69fe1e0eb867e63

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:45:32 +0000 (15:45 +0000)]
Merge "Change android.permission.RESTRICTED_VR_ACCESS to SystemAPI" into oc-dev
am: 1c9e549c00

Change-Id: I22e49d7404e21917d5e805424cecd2fad50d1aa4

7 years agoAdd missing symbol
Colin Cross [Mon, 1 May 2017 15:38:11 +0000 (15:38 +0000)]
Add missing symbol
am: 316c9ce694  -s ours

Change-Id: I6c8785a409b67e819100747267b1b113d35a4eda

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 agoAdd missing symbol
Colin Cross [Mon, 1 May 2017 01:33:25 +0000 (18:33 -0700)]
Add missing symbol

Bug: 35998031
Test: builds
Change-Id: Ie085b4058c5714df9913ceb9fd03fb4658168520

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

Change-Id: I3ae44198c1f15967b8a774a5166c678c0be0ab47

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 agoRemove no-op std::max call
Yi Kong [Mon, 1 May 2017 06:51:33 +0000 (23:51 -0700)]
Remove no-op std::max call

This was calling std::max on an unsigned integer and 0, which is
essentially no-op. Remove this code.

Test: Build
Bug: 37752547
Change-Id: I74ce45b95960621dff11f574fbe1af60ad147cf0

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

Change-Id: If1ef13a45277b91589b292d8e88af539ee720d03

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 22:00:55 +0000 (22:00 +0000)]
Merge "Revert "WifiManager: expose Local Only Hotspot APIs"" into oc-dev
am: ad4c31fecf

Change-Id: I6aa5630a46e067230b1368f8c119aebaf18bd1d2

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:38:19 +0000 (18:38 +0000)]
Merge changes I8d149ab0,Ia0a52819,If54a89cb,I20faa733,Ib32dfd23 into oc-dev
am: 07ea44909f

Change-Id: Ia3164a0c4438cb025601f62b097f83f77a69358f

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:34:21 +0000 (17:34 +0000)]
Merge "Work on issue #36891897: Need to ensure foreground services can't..." into oc-dev
am: f1a4b50739

Change-Id: I242303b9dc50a8a69525d26a41cec6c09e361d17

7 years agoMerge "TextClassifier: API rename" into oc-dev
Abodunrinwa Toki [Sun, 30 Apr 2017 17:26:55 +0000 (17:26 +0000)]
Merge "TextClassifier: API rename" into oc-dev
am: 093eb12994

Change-Id: Idc047d0aa3a9dea72c703d83e4caf521166d9531

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
Bill Yi [Sun, 30 Apr 2017 16:14:26 +0000 (16:14 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: b212441814  -s ours

Change-Id: Ia7f4b06b6f60dcb432d7303f918753ffb5f2c81c

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
Adam Lesinski [Sun, 30 Apr 2017 14:38:28 +0000 (14:38 +0000)]
Merge "AAPT2: Fix typo in manifest validation expectation" into oc-dev
am: 7cf8ca95aa

Change-Id: I58d0fd8fa128b0c8773a9fd158ae4fd9c46cd748

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:53:54 +0000 (13:53 +0000)]
Merge "Rename persistentFeature to persistentWhenFeatureAvailable." into oc-dev
am: 35312fd4c6

Change-Id: Ibab6c7a25fe9534bd1a274065b36dc7813f745e0

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
Rebecca Silberstein [Sun, 30 Apr 2017 09:57:24 +0000 (09:57 +0000)]
Merge "WifiManager: add APIs for LOHS" into oc-dev
am: 4bac2d2fd7

Change-Id: I5867a29fa23701eba593b6e49464adbc1267186a

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Sun, 30 Apr 2017 09:55:39 +0000 (09:55 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: f1ec05297d  -s ours

Change-Id: I2d1e4c8f333d8e97e154ae999bf7e1d2cfca1cac

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Sun, 30 Apr 2017 09:53:59 +0000 (09:53 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 8d9d1ae932  -s ours

Change-Id: I7dd0d63dbe81bdf253aa6a60a3c2a62082af4479

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Sun, 30 Apr 2017 09:51:50 +0000 (09:51 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: f38b94a933  -s ours

Change-Id: Ieb184cb9223a86d2711c52f08bf1634ad5e2f759

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Sun, 30 Apr 2017 09:45:50 +0000 (09:45 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 5bb0b0b7e2  -s ours

Change-Id: If3a6b958fa28dfc5f6486f1d2fc5e9018562f7b5

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
Bill Yi [Sun, 30 Apr 2017 09:37:42 +0000 (09:37 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: c0c868e359  -s ours

Change-Id: Ib299c3c68c917bc1007ad4442a099b51451c3887

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Sun, 30 Apr 2017 09:35:51 +0000 (09:35 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: b9b01f5745  -s ours

Change-Id: If172f04e68b9821171e2719be3f61d5f7dbd9f4c

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
Bill Yi [Sun, 30 Apr 2017 09:24:15 +0000 (09:24 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 5957e13822  -s ours

Change-Id: Ia70fef566e22ef708c54f0eb32d1ef3103984ceb

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
Bill Yi [Sun, 30 Apr 2017 09:22:30 +0000 (09:22 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 572e338a4c  -s ours

Change-Id: Iacd88103d7223c8d4495ff9fff2c5773e2e67cc2

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
Clara Bayarri [Sun, 30 Apr 2017 06:55:55 +0000 (06:55 +0000)]
Merge "Restricted Context layout font loading in TextView" into oc-dev
am: 7f90a9fdb0

Change-Id: I32a8e9e627e0b78b22c87b11483e744486e16944

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
Svet Ganov [Sun, 30 Apr 2017 06:49:57 +0000 (06:49 +0000)]
Merge "Address API council comments" into oc-dev
am: 4c60abc9ae

Change-Id: Ibe0d780b116529e285e9dedd4a5f3ef62c54ccd2

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
Sundeep Ghuman [Sun, 30 Apr 2017 04:59:19 +0000 (04:59 +0000)]
Merge "Don't show unset values in AccessPoint toString." into oc-dev
am: 606c05396d

Change-Id: Ie031883b24a4b8342253efaa34e1ec8ecdaa2a04

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"...
Erik Kline [Sun, 30 Apr 2017 04:39:16 +0000 (04:39 +0000)]
Merge "Use ConnectivityService's NETWORK_STACK permission for SoftAp operations" into oc-dev
am: d0e65f5ef0

Change-Id: I531d5f5964a1212af5842e682bb95d9ee01a6360

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 agoLimit btsnoop file size (3/8)
Ajay Panicker [Tue, 18 Apr 2017 03:42:22 +0000 (20:42 -0700)]
Limit btsnoop file size (3/8)

Limit btsnoop file size by rotating between snoop files. The rotation occurrs
when a fixed number of packets have been logged and will start overwriting
the older file.

Bug: 35998031
Test: Enable snoop logs from developer options and let logs get large
Change-Id: I40d5da4c1b1c9b45908e5790d130f1c5e804c773
(cherry picked from commit 00e82f235cb15d742eb7a25a81f0323b1b6408cf)