OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Change protection level of companion permissions" into oc-dev
Eugene Susla [Mon, 1 May 2017 23:32:21 +0000 (23:32 +0000)]
Merge "Change protection level of companion permissions" into oc-dev
am: 897f883409

Change-Id: I5b123b603debc11a6ef0ed12a5f6da5d0c3ee533

7 years agoMerge "Add @TestApi annotation to AdaptiveIconDrawable" into oc-dev
Hyunyoung Song [Mon, 1 May 2017 23:28:48 +0000 (23:28 +0000)]
Merge "Add @TestApi annotation to AdaptiveIconDrawable" into oc-dev
am: 1e8f451bbf

Change-Id: I9d95fdcd56ccf99fe497b68f85fd5db036548a83

7 years agoMerge "Rename to follow API council guidance." into oc-dev
Jeff Sharkey [Mon, 1 May 2017 23:25:24 +0000 (23:25 +0000)]
Merge "Rename to follow API council guidance." into oc-dev
am: 0d6c3a691e

Change-Id: I9116471537b51bd3aa785ff21f0bef48ec380889

7 years agoMerge "Change protection level of companion permissions" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 23:22:06 +0000 (23:22 +0000)]
Merge "Change protection level of companion permissions" into oc-dev

7 years agoMerge "AOD: Increase shelf icon size while dark" into oc-dev
Adrian Roos [Mon, 1 May 2017 23:20:00 +0000 (23:20 +0000)]
Merge "AOD: Increase shelf icon size while dark" into oc-dev
am: f852ed40a6

Change-Id: Ic9d9e0878695962e947a0f9cc25e012350f7ffba

7 years agoMerge "Add @TestApi annotation to AdaptiveIconDrawable" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 23:18:37 +0000 (23:18 +0000)]
Merge "Add @TestApi annotation to AdaptiveIconDrawable" into oc-dev

7 years agoMerge "Rename to follow API council guidance." into oc-dev
TreeHugger Robot [Mon, 1 May 2017 23:15:54 +0000 (23:15 +0000)]
Merge "Rename to follow API council guidance." into oc-dev

7 years agoMerge "AOD: Increase shelf icon size while dark" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 23:11:49 +0000 (23:11 +0000)]
Merge "AOD: Increase shelf icon size while dark" into oc-dev

7 years agoMerge "AudioService: more AUDIO_BECOMING_NOISY intent fixes" into oc-dev
Eric Laurent [Mon, 1 May 2017 22:58:01 +0000 (22:58 +0000)]
Merge "AudioService: more AUDIO_BECOMING_NOISY intent fixes" into oc-dev
am: 4226b27efa

Change-Id: I206d0af2a3463b554b017b3e61f85ce102566cdf

7 years agoMerge "Addess API council comments" into oc-dev
Svetoslav Ganov [Mon, 1 May 2017 22:52:33 +0000 (22:52 +0000)]
Merge "Addess API council comments" into oc-dev
am: a9bb97993f

Change-Id: I1e521c08500bcdbbfc7fd708baa4762dbb91e39a

7 years agoMerge "AudioService: more AUDIO_BECOMING_NOISY intent fixes" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 22:52:13 +0000 (22:52 +0000)]
Merge "AudioService: more AUDIO_BECOMING_NOISY intent fixes" into oc-dev

7 years agoMerge "Addess API council comments" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 22:48:58 +0000 (22:48 +0000)]
Merge "Addess API council comments" into oc-dev

7 years agoMerge changes from topic 'LOHSapi' into oc-dev
Jeff Sharkey [Mon, 1 May 2017 22:38:31 +0000 (22:38 +0000)]
Merge changes from topic 'LOHSapi' into oc-dev
am: 3ddc413b73

Change-Id: I35750976e1f34c1195c109863f9deb988f7e42ef

7 years agoMerge changes from topic 'LOHSapi' into oc-dev
Jeff Sharkey [Mon, 1 May 2017 22:35:01 +0000 (22:35 +0000)]
Merge changes from topic 'LOHSapi' into oc-dev

* changes:
  WifiManager: expose base LOHS apis
  WifiManager: update API for LOHS

7 years agoMerge "Do not unsnooze canceled notifications." into oc-dev
Julia Reynolds [Mon, 1 May 2017 22:31:55 +0000 (22:31 +0000)]
Merge "Do not unsnooze canceled notifications." into oc-dev
am: 8183328af7

Change-Id: I363a606d1f190c2da6cc8fbd76ef0b093efa0a58

7 years agoMerge changes from topic 'aia_settings_overlay' into oc-dev
Chad Brubaker [Mon, 1 May 2017 22:26:59 +0000 (22:26 +0000)]
Merge changes from topic 'aia_settings_overlay' into oc-dev
am: bd20a7b263

Change-Id: I6018aca9d49de7cc485ddceb15263a5d9db87d07

7 years agoMerge "Set stack bounds to null instead of empty for fullscreen" into oc-dev
Andrii Kulian [Mon, 1 May 2017 22:25:01 +0000 (22:25 +0000)]
Merge "Set stack bounds to null instead of empty for fullscreen" into oc-dev
am: 4268bedead

Change-Id: I2dfcd0f3813800704d1607791546f09c437a2970

7 years agoMerge "Do not unsnooze canceled notifications." into oc-dev
TreeHugger Robot [Mon, 1 May 2017 22:23:42 +0000 (22:23 +0000)]
Merge "Do not unsnooze canceled notifications." into oc-dev

7 years agoMerge "Marking deprecated recommendation request code as @removed." into oc-dev
Jeremy Joslin [Mon, 1 May 2017 22:22:44 +0000 (22:22 +0000)]
Merge "Marking deprecated recommendation request code as @removed." into oc-dev
am: 9be76f0129

Change-Id: I22805cb4f58481fc7ab1176e470cf4a2981101c5

7 years agoMerge "Add android.os.VintfRuntimeInfo" into oc-dev
Yifan Hong [Mon, 1 May 2017 22:19:39 +0000 (22:19 +0000)]
Merge "Add android.os.VintfRuntimeInfo" into oc-dev
am: 1f66f42c9f

Change-Id: Idd98689a56fdac2024884e197bd74bc2864155cb

7 years agoMerge changes from topic 'aia_settings_overlay' into oc-dev
Chad Brubaker [Mon, 1 May 2017 22:12:47 +0000 (22:12 +0000)]
Merge changes from topic 'aia_settings_overlay' into oc-dev

* changes:
  Add overlay for Instant Apps Settings whitelists
  Revert "Allow Instant Apps to read Settings defined by apps"

7 years agoMerge "Set stack bounds to null instead of empty for fullscreen" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 22:11:34 +0000 (22:11 +0000)]
Merge "Set stack bounds to null instead of empty for fullscreen" into oc-dev

7 years agoMerge "hotspot2: update method name for timestamp related APIs" into oc-dev
Jeff Sharkey [Mon, 1 May 2017 22:09:28 +0000 (22:09 +0000)]
Merge "hotspot2: update method name for timestamp related APIs" into oc-dev
am: b6f66cf931

Change-Id: I9855d7d255e8180992e55f8695439a1463b51f00

7 years agoMerge "Marking deprecated recommendation request code as @removed." into oc-dev
TreeHugger Robot [Mon, 1 May 2017 22:05:23 +0000 (22:05 +0000)]
Merge "Marking deprecated recommendation request code as @removed." into oc-dev

7 years agoMerge "Add android.os.VintfRuntimeInfo" into oc-dev
Yifan Hong [Mon, 1 May 2017 22:02:15 +0000 (22:02 +0000)]
Merge "Add android.os.VintfRuntimeInfo" into oc-dev

7 years agoMerge "hotspot2: update method name for timestamp related APIs" into oc-dev
Jeff Sharkey [Mon, 1 May 2017 21:57:28 +0000 (21:57 +0000)]
Merge "hotspot2: update method name for timestamp related APIs" into oc-dev

7 years agoMerge "Make PrivateStorageInfo have a public constructor." into oc-dev
Daniel Nishi [Mon, 1 May 2017 21:46:33 +0000 (21:46 +0000)]
Merge "Make PrivateStorageInfo have a public constructor." into oc-dev
am: 71a17a4307

Change-Id: Ia0f34432603380ae9c8c135a0c5439db86ed6bb6

7 years agoMerge "Make PrivateStorageInfo have a public constructor." into oc-dev
Daniel Nishi [Mon, 1 May 2017 21:40:17 +0000 (21:40 +0000)]
Merge "Make PrivateStorageInfo have a public constructor." into oc-dev

7 years agoChange protection level of companion permissions
Eugene Susla [Mon, 1 May 2017 21:25:52 +0000 (14:25 -0700)]
Change protection level of companion permissions

Fixes: 37721270
Test: Ensure co build errors
Change-Id: Ide6ce7c83f466ef6886b2aad0228176ae84314b2

7 years agoRename to follow API council guidance.
Jeff Sharkey [Mon, 1 May 2017 21:09:11 +0000 (15:09 -0600)]
Rename to follow API council guidance.

Test: builds, boots
Bug: 37422404
Change-Id: Idcec897e775f2613805a86209615e389b63bd78d

7 years agoAll taps under max double tap timeout are quick taps
Matthew Ng [Mon, 1 May 2017 20:48:47 +0000 (20:48 +0000)]
All taps under max double tap timeout are quick taps
am: da3dd7c0cf

Change-Id: Ic8be4a866662662ed0226f81bf67282b26324871

7 years agoAddess API council comments
Svetoslav Ganov [Mon, 1 May 2017 20:41:56 +0000 (13:41 -0700)]
Addess API council comments

Test: manual

bug:37322491

Change-Id: I2017e667c5452c7ef7c56ec19c594e685700b33a

7 years agoAll taps under max double tap timeout are quick taps
Matthew Ng [Sat, 29 Apr 2017 00:33:22 +0000 (17:33 -0700)]
All taps under max double tap timeout are quick taps

When tapping rapidly on the overview button on a recents grid device
(like tablets), users might tap very quickly that would have triggered a
elasped time under the min double tap time (40ms) which would cause the
button to not be a quick tap. Removing the check allows all taps under
the max double tap timeout to be a quick tap. Then quickly tapping the
overview button would not confuse alt-tab with resume same task
functionality.

Test: manual
Change-Id: I9161fd5b68c299dc794e538a4fd9021ae98c7e94
Fixes: 36886408

7 years agoAdd android.os.VintfRuntimeInfo
Yifan Hong [Wed, 26 Apr 2017 18:38:01 +0000 (11:38 -0700)]
Add android.os.VintfRuntimeInfo

This is the Java API for ::android::vintf::RuntimeInfo.
This will be used by CTS for device info report purposes.

Bug: 28656227
Test: cts-tradefed run cts -m CtsEdiHostTestCases --skip-preconditions
Change-Id: Id87c95a17e77d7ec1794a6f850de97edf9ae892d

7 years agoMerge "Audio focus: fix mapping of old requestAudioFocus to AudioFocusRequest" into...
Jean-Michel Trivi [Mon, 1 May 2017 19:59:14 +0000 (19:59 +0000)]
Merge "Audio focus: fix mapping of old requestAudioFocus to AudioFocusRequest" into oc-dev
am: a08ba3ef31

Change-Id: I95991e5b2151f689b27e32bd5f187dc4615f1bf0

7 years agoMerge "Fix accessibility button CTS test" into oc-dev
Casey Burkhardt [Mon, 1 May 2017 19:55:30 +0000 (19:55 +0000)]
Merge "Fix accessibility button CTS test" into oc-dev
am: 921384157d

Change-Id: Ie1770cf5803e595ac5bf085028ace1879a661499

7 years agoAudioService: more AUDIO_BECOMING_NOISY intent fixes
Eric Laurent [Sat, 29 Apr 2017 01:00:04 +0000 (18:00 -0700)]
AudioService: more AUDIO_BECOMING_NOISY intent fixes

Fix more race conditions
Ignore condition on removed device being actually used for
music when in call.

Bug: 37687852
Test: Verify AUDIO_BECOMING_NOISY intent is sent in more corner cases
Change-Id: I024aa3a4a68d84ac620289720caf3a32fb2985b1

7 years agoMerge "Audio focus: fix mapping of old requestAudioFocus to AudioFocusRequest" into...
Jean-Michel Trivi [Mon, 1 May 2017 19:50:38 +0000 (19:50 +0000)]
Merge "Audio focus: fix mapping of old requestAudioFocus to AudioFocusRequest" into oc-dev

7 years agoMerge "Fix accessibility button CTS test" into oc-dev
Casey Burkhardt [Mon, 1 May 2017 19:49:08 +0000 (19:49 +0000)]
Merge "Fix accessibility button CTS test" into oc-dev

7 years agoWifiManager: expose base LOHS apis
Rebecca Silberstein [Mon, 1 May 2017 19:45:45 +0000 (12:45 -0700)]
WifiManager: expose base LOHS apis

This CL exposes a minimal set of APIs to start LocalOnlyHotspot.  This
includes the call to start the hotspot along with the objects necessary
to get updates and unregister the hotspot request.

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

7 years agoMerge "Move the last user save from onCleanupUser to onStopUser" into oc-dev
Makoto Onuki [Mon, 1 May 2017 19:40:23 +0000 (19:40 +0000)]
Merge "Move the last user save from onCleanupUser to onStopUser" into oc-dev
am: f323e3a543

Change-Id: I77c183728a66b94a1fc3b92730596b5c4a77c5db

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 agoAudio focus: fix mapping of old requestAudioFocus to AudioFocusRequest
Jean-Michel Trivi [Mon, 1 May 2017 19:33:40 +0000 (12:33 -0700)]
Audio focus: fix mapping of old requestAudioFocus to AudioFocusRequest

When translating a focus request from the N- API to AudioFocusRequest,
  do not do null checks for listener or handler, those are only
  for the AudioFocusRequest.Builder.

Test: use app built for N- and request focus, no crash
Bug 37855238

Change-Id: I675b3144e913ab674fe27f9f65ee7a7bea24a72c

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 "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 agoWifiManager: update API for LOHS
Rebecca Silberstein [Sun, 30 Apr 2017 21:05:00 +0000 (14:05 -0700)]
WifiManager: update API for LOHS

Add a return code for disallowed tethering for the user.  Also updated
call to startLocalOnlyHotspot in WifiServiceImpl to return a code
instead of a config.  This allows us to return different failure modes
to the application instead of assuming an incompatible mode error.

Also updated method name to retrieve the wifi config.

Bug: 37073685
Test: frameworks/base/wifi/tests/runtests.sh
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Iaa442f7062145dbfbdc8e26ae5479d14307addf8

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 agoMarking deprecated recommendation request code as @removed.
Jeremy Joslin [Mon, 1 May 2017 17:02:25 +0000 (10:02 -0700)]
Marking deprecated recommendation request code as @removed.

Test: adb shell am instrument -e class android.net.NetworkRecommendationProviderTest -w com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Test: Built & ran
Bug: 37357264
Change-Id: I6d55fbad87b11c99e7ddac07cfaa82efeee33187

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 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: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 agohotspot2: update method name for timestamp related APIs
Peter Qiu [Mon, 1 May 2017 16:41:14 +0000 (09:41 -0700)]
hotspot2: update method name for timestamp related APIs

Bug: 37514629
Test: build
Change-Id: Iadd8b7a9ea98bc01f796a261293f87173ba1d52f

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 agoDo not unsnooze canceled notifications.
Julia Reynolds [Tue, 7 Mar 2017 21:30:21 +0000 (16:30 -0500)]
Do not unsnooze canceled notifications.

Test: runtest systemui-notification
Change-Id: I3edef5822aa74359bf3a34f54f59d4021696365d

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