OSDN Git Service
Android Build Merger (Role) [Tue, 24 Jan 2017 18:39:23 +0000 (18:39 +0000)]
Merge "Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev am:
8ac1bff7e2 am:
d0c5f0047f am:
7a86073718"
TreeHugger Robot [Tue, 24 Jan 2017 18:38:49 +0000 (18:38 +0000)]
Merge "Adding AppOps setting for entering PiP when hidden."
Nancy Zheng [Tue, 24 Jan 2017 18:38:41 +0000 (18:38 +0000)]
Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev am:
8ac1bff7e2 am:
d0c5f0047f
am:
7a86073718
Change-Id: I9c1cc2e674be02d9440024c3b64432cf0c3d371d
TreeHugger Robot [Tue, 24 Jan 2017 18:20:09 +0000 (18:20 +0000)]
Merge "Fixing error calculating the top pinned activity."
Jason Monk [Tue, 24 Jan 2017 17:49:43 +0000 (17:49 +0000)]
Merge "Add long-click to app info for plugin settings"
Andrew Sapperstein [Tue, 24 Jan 2017 17:34:28 +0000 (17:34 +0000)]
Merge "Add Settings.Global configs to high temp warning."
Jorim Jaggi [Tue, 24 Jan 2017 17:32:28 +0000 (17:32 +0000)]
Merge changes I5df77ae5,Ice538d09,I2451be87,I953ab6cb,Ie1b8debc
* changes:
If the surface of a window is displayed, screenshot
Update starting window fade out to spec
Fill task snapshot with background color
Add starting windows while unlocking
Starting window tests, yay!
TreeHugger Robot [Tue, 24 Jan 2017 17:23:04 +0000 (17:23 +0000)]
Merge "Fix crash on user switch"
Niels Egberts [Tue, 24 Jan 2017 17:19:30 +0000 (17:19 +0000)]
Merge "Implement time markers for TTS."
Winson Chung [Sat, 21 Jan 2017 00:14:51 +0000 (16:14 -0800)]
Adding AppOps setting for entering PiP when hidden.
- In O, apps can request to enter picture-in-picture when the user
effectively leaves their activity for another task by default. To
prevent this from being abused, we need to add a setting for the
user to disable this behavior per-package in the system level.
When disabled, any activity from that package will only be able
to enter picture-in-picture when it is visible and resumed.
Bug:
34520451
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testAppOpsDenyPipOnPause
Change-Id: Ib3a993e99ffb071706c6b7d3fb1c882b74acc5d7
Signed-off-by: Winson Chung <winsonc@google.com>
TreeHugger Robot [Tue, 24 Jan 2017 16:54:52 +0000 (16:54 +0000)]
Merge "Implement TextClassification-related methods."
Pankaj Kanwar [Tue, 24 Jan 2017 16:47:02 +0000 (16:47 +0000)]
Merge "Create Public API which exposes if the device is in a state where simultaneous voice and data are possible."
Yohei Yukawa [Tue, 24 Jan 2017 16:37:06 +0000 (16:37 +0000)]
Merge "Fix ImeSubtypeListItem#compareTo()"
Alexander Hills [Tue, 24 Jan 2017 16:31:38 +0000 (16:31 +0000)]
Merge "Changes the default value of Notification.Action.mAllowGeneratedReplies"
Jason Monk [Tue, 24 Jan 2017 15:53:57 +0000 (10:53 -0500)]
Fix crash on user switch
Don't re-register a user switcher while getting a user switched
callback, because that will cause a crash.
Test: switch users.
Fixes:
34661001
Change-Id: I31453d75aabe6ecd657e7500cf1823890d5262a0
Alex Hills [Thu, 12 Jan 2017 16:24:46 +0000 (11:24 -0500)]
Changes the default value of Notification.Action.mAllowGeneratedReplies
Changes the default from false to true
Bug:
31934635
Fixes:
31934635
Test: CTS tests in ag/
1824710
Change-Id: I1c7097627e77eed12bb9cc644c1cbb5c3197a750
Mahaver Chopra [Tue, 24 Jan 2017 15:33:53 +0000 (15:33 +0000)]
Merge "Provisioning terms screen constants"
Niels Egberts [Fri, 23 Dec 2016 12:01:32 +0000 (12:01 +0000)]
Implement time markers for TTS.
The service can inform the framework at which frame a part of the input
is spoken, and that information is then relayed to the client.
This can be used to highlight the currently spoken word/sentence or to
resume synthesis requests at the start of the last word/sentence.
Test: manual
Change-Id: Ie20a6764a8788cc3539cb058425e55eb6fde07db
Jorim Jaggi [Tue, 24 Jan 2017 15:21:39 +0000 (16:21 +0100)]
If the surface of a window is displayed, screenshot
We really really don't care about whether it's actually visible,
onScreen, displayed, winVisible, visibleNow, readyForDisplay or
whatever. The only thing that matters when screenshotting is the
fact whether the surface is shown or not. If it's shown, it must
be good enough for screenshotting. Period.
Test: Go to settings, go to recents, make sure screenshot is taken
all the time.
Bug:
31339431
Change-Id: I5df77ae537b5e70f6cb17e5e18405926135d4312
Jorim Jaggi [Mon, 23 Jan 2017 15:30:43 +0000 (16:30 +0100)]
Update starting window fade out to spec
Test: Open app, make sure starting window disappears nicely
Bug:
31339431
Change-Id: Ice538d0937f17ed6901ab56ef208f9a327250d51
Jorim Jaggi [Mon, 23 Jan 2017 15:20:53 +0000 (16:20 +0100)]
Fill task snapshot with background color
Make sure to fill the portions that are not covered by the
snapshot are filled with the task background color.
Also fix an issue where the starting window was removed across
configuration changes.
Test: runtest frameworks-services -c
com.android.server.wm.TaskSnapshotSurfaceTest
Bug:
31339431
Change-Id: I2451be87aff79b337015ab4bba72cfa03c0d3582
Julia Reynolds [Tue, 24 Jan 2017 15:15:24 +0000 (15:15 +0000)]
Merge "Add updatable fields to Ranking"
TreeHugger Robot [Tue, 24 Jan 2017 15:13:47 +0000 (15:13 +0000)]
Merge "add "splitName" attribute"
Abodunrinwa Toki [Fri, 13 Jan 2017 21:46:33 +0000 (13:46 -0800)]
Implement TextClassification-related methods.
Implements TextClassificationManager.detectLanguages
Implements TextClassifier interface
Bug:
34661057
Test: See: Ic2a5eceeaec4cd2943c6c753084df46d30511fee
Change-Id: Ic640b96f48bcad7cdd8c4dfac354b008a7ae3961
TreeHugger Robot [Tue, 24 Jan 2017 15:05:22 +0000 (15:05 +0000)]
Merge "[SettingsProvider] Auto disable ringtone sync"
Abodunrinwa Toki [Tue, 24 Jan 2017 15:04:26 +0000 (15:04 +0000)]
Merge "Update TextAssistant interface."
Abodunrinwa Toki [Wed, 4 Jan 2017 23:51:42 +0000 (23:51 +0000)]
Update TextAssistant interface.
Rename to TextClassifier
Move to android.view.textclassifier package
Adds getTextClassifierInfo(...)
Changes addLinks(...) to getLinks(...)
This CL also integrates this interface with framework components
and passes a context to TextClassificationManager.
Test: Tests will be added with implementation.
Bug:
34661057
Change-Id: If9e90f034ebb702c1f78e72b6a844f39eebf738f
Alison Cichowlas [Tue, 24 Jan 2017 14:39:26 +0000 (14:39 +0000)]
Merge "Tron - Omit overlong lines and warn when doing so."
Julia Reynolds [Thu, 19 Jan 2017 14:52:07 +0000 (09:52 -0500)]
Add updatable fields to Ranking
- NotificationChannel
- Badging
Test: runtest systemuinotification & cts
Change-Id: I7fd1f2dc06148927e9a4bd5b760d436e2c5e8a98
Jorim Jaggi [Fri, 20 Jan 2017 15:59:03 +0000 (16:59 +0100)]
Add starting windows while unlocking
- Modify screen capturing logic a bit such that it can also take a
screenshot when the display is off.
- Also take snapshot when app visibility is changing without
proper app transition.
- When unlocking, add strating windows for all visible apps.
Test: Unlock phone.
Test: Have an app that sleeps in onStart, make sure unlocking is
instant.
Bug:
31339431
Change-Id: I953ab6cb30d0d264554fd49a46bdc56e23356d13
Jorim Jaggi [Thu, 19 Jan 2017 16:28:30 +0000 (17:28 +0100)]
Starting window tests, yay!
Test: bit FrameworksServicesTests:com.android.server.wm.AppWindowContainerControllerTests
Fixes:
34364463
Fixes:
34361417
Change-Id: Ie1b8debc894e5cad8fe517912a1991a38661dfaa
TreeHugger Robot [Tue, 24 Jan 2017 11:35:14 +0000 (11:35 +0000)]
Merge "Merge commit '
12562abcd47de4aee3b0469cb04bf771c2072113' into manual_merge_12562abcd47d"
Andre Lago [Thu, 22 Sep 2016 17:00:41 +0000 (18:00 +0100)]
[SettingsProvider] Auto disable ringtone sync
Disable the SYNC_PARENT_SOUNDS setting if a work profile ringtone is set
Test: cts-tradefed --test com.android.cts.devicepolicy.ManagedProfileTest
Bug:
30658854
Change-Id: I172f5396b47f03ac8afa365db0ec90f3a2dd0e29
Yohei Yukawa [Tue, 24 Jan 2017 08:29:07 +0000 (00:29 -0800)]
Fix ImeSubtypeListItem#compareTo()
It turns out that ImeSubtypeListItem#compareTo() does not satisfy the
contract of Comparable#compareTo(), which can trigger
IllegalArgumentException from Collections.sort() depending on the
runtime condition.
This CL makes it clear that two instances of ImeSubtypeListItem will be
compared with with those fileds in the following order.
1. ImeSubtypeListItem#mImeName
2. ImeSubtypeListItem#mSubtypeName
3. ImeSubtypeListItem#mIsSystemLocale
4. ImeSubtypeListItem#mIsSystemLanguage
Bug:
34255739
Test: adb shell am instrument -w -e class com.android.internal.inputmethod.InputMethodSubtypeSwitchingControllerTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I47f902cc8f5873926d238c30e462d08d7dbebcf7
TreeHugger Robot [Tue, 24 Jan 2017 05:58:36 +0000 (05:58 +0000)]
Merge "Add an accidentally removed call to update libs"
TreeHugger Robot [Tue, 24 Jan 2017 05:32:56 +0000 (05:32 +0000)]
Merge "More APIs for cache status and behavior."
TreeHugger Robot [Tue, 24 Jan 2017 04:04:34 +0000 (04:04 +0000)]
Merge "Fix crashloop in CarStatusBar."
Jeff Sharkey [Tue, 24 Jan 2017 03:37:05 +0000 (20:37 -0700)]
More APIs for cache status and behavior.
Add APIs for apps to query their cache usage compared to their
currently allocated quota. Since an app's private storage may live
on a different storage volume than the primary shared/external
storage, offer APIs to retrieve those values separately.
Add APIs to control two new cache purging behaviors:
-- setCacheBehaviorAtomic() which causes a marked directory and its
contents to be treated as an atomic unit.
-- setCacheBehaviorTombstone() which causes the OS to truncate
files instead of deleting them.
Test: builds, boots
Bug:
33811826,
33965858,
27948817
Change-Id: I45de165623775c359f78b4ee544c2b5831b8d483
Jeff Sharkey [Tue, 24 Jan 2017 03:19:15 +0000 (03:19 +0000)]
Merge "Introduce RecoverableSecurityException."
Winson Chung [Tue, 24 Jan 2017 03:08:37 +0000 (19:08 -0800)]
Fixing error calculating the top pinned activity.
- When the menu was open, we were not calculating the correct
top-activity to determine whether to relaunch fullscreen or to show
media controller actions for. Also fixes a bad condition check
where we were setting the expand to fullscreen flag incorrectly.
Bug:
33754261
Test: Open a PIP activity, try to launch it again from launcher while the menu is visible
Change-Id: I3fd3dfe83a017c76cca9709f29c08621b16fb088
Jason Parks [Tue, 24 Jan 2017 02:46:26 +0000 (02:46 +0000)]
Merge "Allow the profile owner to enforce auto time."
Chris Tate [Tue, 24 Jan 2017 02:17:11 +0000 (02:17 +0000)]
Merge "Document dependency between Intent symbols and dumpstate"
TreeHugger Robot [Tue, 24 Jan 2017 02:15:54 +0000 (02:15 +0000)]
Merge "Expose colorimetry capabilities on Display"
Christopher Tate [Mon, 23 Jan 2017 20:21:13 +0000 (12:21 -0800)]
Document dependency between Intent symbols and dumpstate
Bug
34594835
Test: N/A
Change-Id: I4494c224bc6341c7a41b79361ba599befc408341
Rakesh Iyer [Tue, 24 Jan 2017 02:10:21 +0000 (18:10 -0800)]
Fix crashloop in CarStatusBar.
System ui seems to be undergoing a refactor to bring in
dependency injection, in the process, mBatteryController
in CarStatusBar was not being set, causing a NPE.
Since it looks like the work is still ongoing, this is
just a spot fix for the crash, once the dependency injection
migration is complete, we can reexamine the CarStatusBar
implementation.
Bug:
34633087
Test: Verified that system booted correctly.
Change-Id: Idd3e0286fd87196ae572349904d5bef744d54353
pkanwar [Thu, 19 Jan 2017 20:24:19 +0000 (12:24 -0800)]
Create Public API which exposes if the device is in a state where simultaneous
voice and data are possible.
BUG:
32912296
Test: Not required.
Change-Id: If603aa37c774157f0a3af12ca4ac6bafad94340d
Yohei Yukawa [Tue, 24 Jan 2017 01:51:04 +0000 (01:51 +0000)]
Merge "Delay tasks from IMMS constructor to later phase"
TreeHugger Robot [Tue, 24 Jan 2017 01:41:54 +0000 (01:41 +0000)]
Merge "Eliminating sections."
TreeHugger Robot [Tue, 24 Jan 2017 01:26:39 +0000 (01:26 +0000)]
Merge "Fix NPE in LockPatternUtils"
TreeHugger Robot [Tue, 24 Jan 2017 01:25:09 +0000 (01:25 +0000)]
Merge "Add an 'am crash' shell command"
Romain Guy [Sat, 21 Jan 2017 02:41:06 +0000 (18:41 -0800)]
Expose colorimetry capabilities on Display
Test: CtsDisplayTestCases
Bug:
32984164
Change-Id: I11e6a85a27959c578eeac276ac0e2c8ab8db70bf
Hongming Jin [Tue, 24 Jan 2017 00:50:18 +0000 (00:50 +0000)]
Merge "Test: AccountManagerService APCT test."
Chris Tate [Tue, 24 Jan 2017 00:49:27 +0000 (00:49 +0000)]
Merge "Send USB_STATE broadcast to manifest receivers"
Andrew Sapperstein [Fri, 20 Jan 2017 23:41:03 +0000 (15:41 -0800)]
Add Settings.Global configs to high temp warning.
Test: manual
Bug:
34480261
Change-Id: Icfd08c1c7dae456920b3978918ee01469e1dec95
Svetoslav Ganov [Tue, 24 Jan 2017 00:36:40 +0000 (16:36 -0800)]
Add an accidentally removed call to update libs
Disabled system package may define a lib which its
update does not. When the update is uninstalled we
need to upate the libs so ppl can use the lib in
the now restored sys package.
Change-Id: I22e6aafde86838fa76aa74eda8dfe2c528f998aa
Jeff Sharkey [Mon, 23 Jan 2017 23:58:02 +0000 (16:58 -0700)]
Introduce RecoverableSecurityException.
This takes advantage of the recently added behavior that offers to
send Parcelable exception types across Binder calls.
Certain SecurityException can be resolved if we involve the end user,
such as when a password has expired, or a user challenge is required
to proceed. This new subclass of SecurityException provides
user-visible messaging and convenience methods for quickly rendering
that messaging as a notification or dialog.
Test: builds, boots, throws, shows as notification and dialog
Bug:
33749182
Change-Id: Iba66c7466b8fabca9e3f83c60db5a4ab849a256f
Chris Craik [Tue, 24 Jan 2017 00:14:57 +0000 (00:14 +0000)]
Merge "Use @CriticalNative in Canvas"
TreeHugger Robot [Tue, 24 Jan 2017 00:14:29 +0000 (00:14 +0000)]
Merge "light HAL uses "default" service name"
Dmitri Plotnikov [Tue, 24 Jan 2017 00:07:38 +0000 (00:07 +0000)]
Merge "Adding TvExtender channel override"
Dianne Hackborn [Tue, 24 Jan 2017 00:05:34 +0000 (00:05 +0000)]
Merge "Optimize bg check flow."
Chris Phoenix [Mon, 23 Jan 2017 22:18:26 +0000 (14:18 -0800)]
light 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
Bug:
33844934
Change-Id: Id22d27d7e401de426b1a236067c1b4c7f6c99a3e
Rubin Xu [Mon, 23 Jan 2017 23:55:28 +0000 (23:55 +0000)]
Fix NPE in LockPatternUtils
mDevicePolicyManager field can be null if getDevicePolicyManager()
is never called. A previous refactor removed an apparent unused call
to getDevicePolicyManager(), leading to NPE when mDevicePolicyManager
is accessed. We should always use getDevicePolicyManager() to access
DevicePolicyManager instance.
Test: manual
Bug:
34612758
Change-Id: Ic964b4ee4e3c56301295b8f0629bd005c732c5c4
TreeHugger Robot [Mon, 23 Jan 2017 23:45:56 +0000 (23:45 +0000)]
Merge "Add tests for b/
34598346"
Alison Cichowlas [Thu, 19 Jan 2017 14:47:17 +0000 (09:47 -0500)]
Tron - Omit overlong lines and warn when doing so.
Test: updated LogBuilderTest
Change-Id: I0218acfacca53598a546cea5b3adeecd0d639031
Jason Parks [Tue, 17 Jan 2017 21:25:17 +0000 (15:25 -0600)]
Allow the profile owner to enforce auto time.
Test: runtest -c com.android.server.devicepolicy.DevicePolicyManagerTest frameworks-services
Change-Id: I1cb04cce5d232fba668535dd391459a050d62dd7
TreeHugger Robot [Mon, 23 Jan 2017 23:27:53 +0000 (23:27 +0000)]
Merge "PhoneStatusBar: Add test for executeRunnableDismissingKeyguard with null runnable"
Yohei Yukawa [Mon, 23 Jan 2017 23:26:15 +0000 (15:26 -0800)]
Delay tasks from IMMS constructor to later phase
This is a preparation CL for Bug
32343335.
This CL basically addresses the concern raised in a previous CL [1]
that added several synchnonized blocks in the constructor of
InputMethodManagerService (IMMS).
After hours of code reading and investigation, it is concluded to be
safe IMMS to behave as if there was no IME available until
SystemService.PHASE_ACTIVITY_MANAGER_READY phase. This allows IMMS to
register callbacks not in the constructor but in the later phase to
addresses the concern that object references to IMMS could be leaked
into different threads before IMMS object is properly constructed.
As far as performance is concerned, basically the amount of tasks
to be done in the main thread remains same, or could be reduced a bit
if some unnecessary callback events were skipped. To confirm this, we
can check the total number of the following performance metrics.
- StartInputMethodManagerLifecycle
- StartActivityManagerReadyPhase
[1]: I9d4d3d7232c984432185c10c13fb726a6158cac8
8f202f82fd86a3b40bc5e7d62779eddff21096b1
Bug:
32343335
Test: Manual: pre-installed IME on Direct-Boot disabled device
Test: Manual: pre-installed IME on Direct-Boot enabled device
Test: Manual: user-installed IME on Direct-Boot enabled device
Test: Manual: user-installed IME on Direct-Boot disabled device
Test: Manual: user switching scenario on Direct-Boot enabled device
Test: Manual: user switching scenario on Direct-Boot disabled device
Test: Manual: device unlocking scenario on Direct-Boot enabled device
Change-Id: I5b37c450db4b25b3e635b6d634293a34eec8b9d4
Ta-wei Yen [Mon, 23 Jan 2017 23:22:29 +0000 (23:22 +0000)]
Merge "Extend carrier configs for visual voicemail"
Hongming Jin [Mon, 23 Jan 2017 19:37:27 +0000 (11:37 -0800)]
Test: AccountManagerService APCT test.
Add tests for startUpdateCredentials, finishSession and isCredentialsUpdateSuggested.
Bug:
31346530
Change-Id: I8c93b6b0db50086a83894eadfcf6a2398be81b6c
TreeHugger Robot [Mon, 23 Jan 2017 23:01:05 +0000 (23:01 +0000)]
Merge "SysUI fragments: Integrate new support for constructing"
Christopher Tate [Mon, 23 Jan 2017 22:35:28 +0000 (14:35 -0800)]
Send USB_STATE broadcast to manifest receivers
Bug
34594920
Change-Id: I5d026f469710960b792dcf1bfebc1c07f90c6182
Svetoslav Ganov [Mon, 23 Jan 2017 22:25:44 +0000 (22:25 +0000)]
Merge "Allow shared lib and package name to match"
Chris Craik [Fri, 20 Jan 2017 03:12:36 +0000 (19:12 -0800)]
Use @CriticalNative in Canvas
Bug:
33460152
Test: ViewShowHidePerfTests
Switches non-drawing @FastNative methods to @CriticalNative, except
where out arguments prevent it.
Performance in ViewShowHidePerfTests not significantly impacted.
Change-Id: I3edc963accb4f87f73d175c7b2534868602a7db3
TreeHugger Robot [Mon, 23 Jan 2017 22:24:44 +0000 (22:24 +0000)]
Merge "Do not allow ephemeral apps to access ShortcutManager"
Svetoslav Ganov [Mon, 23 Jan 2017 22:13:30 +0000 (14:13 -0800)]
Allow shared lib and package name to match
The old package manager implementation was guarding for
shared libs to not match any package name but due to a
bug this was not enfroced and as a result we have apps
where the package and lib match, e.g. GCore. The new
static shared lib support properly enforced the rule
breaking apps. So, this CL relexes the constraint.
Test: CTS test in the topic passes
bug:
34598313
Change-Id: I15d22fd1c3a44a27c4b9b8379de3992ae553dd05
Adrian Roos [Mon, 23 Jan 2017 22:21:03 +0000 (22:21 +0000)]
Merge "KeyguardManager: Fix user resolution of isDeviceSecure/Locked"
Dianne Hackborn [Sat, 21 Jan 2017 01:00:44 +0000 (17:00 -0800)]
Optimize bg check flow.
No longer need to look up the application info, target SDK is
explicitly passed in to the check. For the external method, we
change this to just checked to see if background is completely
disabled, which doesn't need a target SDK check (and is the only
thing any of the current clients care about).
Now allow SystemUI to put targets of notification pending intents
on the temporary whitelist when they fire, so developers can avoid
dealing with background restrictions in this case (if the user
interacts with their notification, they will temporarily be
considered in the foreground).
Remove any thoughts of enforing restrictions on registerReceiver(),
so we don't need to deal with target SDK versions there (which can't
be done all that efficiently).
Also bring back the old "allow starts coming from foreground apps"
only for the MODE_IGNORE app op, since it should provide some
better compatibility.
Test: ran them.
Change-Id: Id4ea7f992d12ce4bd8e54f1dbaeb4a460a3dee59
John Reck [Mon, 23 Jan 2017 19:20:37 +0000 (11:20 -0800)]
Add tests for b/
34598346
Test: unit test passes
Bug:
34598346
Change-Id: I7e5144aa875e42487718059cc06b86e32db28702
Nancy Zheng [Mon, 23 Jan 2017 22:04:19 +0000 (14:04 -0800)]
Merge commit '
12562abcd47de4aee3b0469cb04bf771c2072113' into manual_merge_12562abcd47d
Test: manually tested upstream
Change-Id: I8ca2eebcb468f73bf609ed09dc141a2bf40b8697
Todd Kennedy [Mon, 23 Jan 2017 14:49:29 +0000 (06:49 -0800)]
add "splitName" attribute
Attribute is availble on activity, provider and service components. Allows
specifying which split contains that component.
Test: built test app with attribute
Change-Id: Ibc615321035f76a71d0dce5a6fae3f3ef4c3e762
Adrian Roos [Thu, 19 Jan 2017 22:48:35 +0000 (14:48 -0800)]
PhoneStatusBar: Add test for executeRunnableDismissingKeyguard with null runnable
Adds a regression test for NPEs around executeRunnableDismissingKeyguard when
a null runnable is passed.
The bug was fixed in I89477a8a0067e285e5d0122e918fac45274c57ad.
Fixes:
33489225
Test: runtest systemui
Change-Id: Ia8981bc4c2a1a0f6d8c48e6d66e2af801d6cddac
Nancy Zheng [Mon, 23 Jan 2017 21:35:41 +0000 (21:35 +0000)]
Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev am:
8ac1bff7e2
am:
d0c5f0047f
Change-Id: I96db2a0bf55871df53f6f7220bac2cdd262cee4b
Nancy Zheng [Mon, 23 Jan 2017 21:34:45 +0000 (21:34 +0000)]
Query for the settings package in KeyguardManager instead of hardcoding it. am:
e256a18dcd
am:
ed92230c38
Change-Id: I41ef0f14cbd3f7e19e6fde0cdf636619683704a2
Jason Monk [Mon, 9 Jan 2017 20:13:23 +0000 (15:13 -0500)]
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
Nancy Zheng [Mon, 23 Jan 2017 21:23:49 +0000 (21:23 +0000)]
Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev
am:
8ac1bff7e2
Change-Id: Ia6a1596958bb151ec58e869587bc2201ba0ebc4f
Richard Coles [Mon, 23 Jan 2017 21:23:41 +0000 (21:23 +0000)]
Merge "Expose isMultiProcessEnabled via WebViewDelegate."
Nancy Zheng [Mon, 23 Jan 2017 21:23:40 +0000 (21:23 +0000)]
Query for the settings package in KeyguardManager instead of hardcoding it.
am:
e256a18dcd
Change-Id: I9e83ca9e1cab882fc0f508ba6c538e08b4fa7499
Nancy Zheng [Mon, 23 Jan 2017 21:17:15 +0000 (21:17 +0000)]
Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev
TreeHugger Robot [Mon, 23 Jan 2017 21:16:50 +0000 (21:16 +0000)]
Merge "Workaround libmemunreachable lockup"
Ashutosh Joshi [Mon, 23 Jan 2017 21:02:57 +0000 (21:02 +0000)]
Merge "Remove AR packages from preloaded classes."
TreeHugger Robot [Mon, 23 Jan 2017 20:58:49 +0000 (20:58 +0000)]
Merge "Restore foreground service notifications"
TreeHugger Robot [Mon, 23 Jan 2017 20:53:20 +0000 (20:53 +0000)]
Merge "Better error message for privapp-permissions test"
Soonil Nagarkar [Mon, 23 Jan 2017 20:42:45 +0000 (20:42 +0000)]
Merge "Add background location throttling to LocationManagerService"
Adrian Roos [Mon, 23 Jan 2017 20:38:13 +0000 (12:38 -0800)]
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
Aurimas Liutikas [Mon, 23 Jan 2017 20:38:38 +0000 (20:38 +0000)]
Merge "Port RecyclerView to com.android.internal.widget.RecyclerView"
TreeHugger Robot [Mon, 23 Jan 2017 20:37:11 +0000 (20:37 +0000)]
Merge "Remove all calls to SkCanvas::getClipStack from HWUI unit tests"
TreeHugger Robot [Mon, 23 Jan 2017 20:32:47 +0000 (20:32 +0000)]
Merge "Add ResolverActivity testing"
TreeHugger Robot [Mon, 23 Jan 2017 20:27:27 +0000 (20:27 +0000)]
Merge "Fix recent checkPermission() bug."
Makoto Onuki [Mon, 23 Jan 2017 19:37:45 +0000 (11:37 -0800)]
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
TreeHugger Robot [Mon, 23 Jan 2017 20:20:10 +0000 (20:20 +0000)]
Merge "Change WebView fallback mechanism to consider all users' package states."