OSDN Git Service
Winson Chung [Tue, 13 Dec 2016 19:49:09 +0000 (11:49 -0800)]
Remove dependency on resizable activity to enter PiP.
- Removing the requirement for activities to have both the
resizeableActivity and supportsPictureInPicture attribute
to enter PiP. The activity may still be resized when
entering picture-in-picture.
Bug:
34256643
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: If6bd4721c53072e5518f554a8c7598705517c132
Android Build Merger (Role) [Tue, 24 Jan 2017 18:51:37 +0000 (18:51 +0000)]
Merge "DO NOT MERGE frameworks-test: adding missing @SmallTest am:
141923e5b6 -s ours"
Hugo Benichi [Tue, 24 Jan 2017 18:50:34 +0000 (18:50 +0000)]
DO NOT MERGE frameworks-test: adding missing @SmallTest
am:
141923e5b6 -s ours
Change-Id: I8499fb3133f75170de4cfb177ab538d155ccc738
Android Build Merger (Role) [Tue, 24 Jan 2017 18:50:17 +0000 (18:50 +0000)]
Merge "Merge "support suw and post-suw cases for default app" am:
9fc8d99c76 am:
ea55399ecc am:
f2a5e432b0 am:
5ef316e34d"
Chen Xu [Tue, 24 Jan 2017 18:49:06 +0000 (18:49 +0000)]
Merge "support suw and post-suw cases for default app" am:
9fc8d99c76 am:
ea55399ecc am:
f2a5e432b0
am:
5ef316e34d
Change-Id: Ib32941ab4965e1554e8e7bdd228fa59f860451a1
Android Build Merger (Role) [Tue, 24 Jan 2017 18:48:35 +0000 (18:48 +0000)]
Merge changes from topic 'am-
20fc942671704f459c945a1b626498cb'
* changes:
Merge "Change HFP Client API to support multi device am:
c8399321e9" into nyc-mr2-dev-plus-aosp am:
9ac9632ed3
Change HFP Client API to support multi device am:
c8399321e9 am:
3978435d5a
Christine Franks [Tue, 24 Jan 2017 18:46:41 +0000 (18:46 +0000)]
Merge "Increase Night Display transition to 3 seconds"
Sanket Agarwal [Tue, 24 Jan 2017 18:46:11 +0000 (18:46 +0000)]
Merge "Change HFP Client API to support multi device am:
c8399321e9" into nyc-mr2-dev-plus-aosp
am:
9ac9632ed3
Change-Id: I544e52352fd8d66c8f2028ad610f13aa9d6d6ba6
Sanket Agarwal [Tue, 24 Jan 2017 18:45:43 +0000 (18:45 +0000)]
Change HFP Client API to support multi device am:
c8399321e9
am:
3978435d5a
Change-Id: Ib9b59a18cb9633caa63c5ac723e9e12c1138f513
Android Build Merger (Role) [Tue, 24 Jan 2017 18:45:10 +0000 (18:45 +0000)]
Merge "Merge "Fix typo in the IS_OMPT_VOICEMAIL field." into nyc-mr2-dev am:
70f920fa0c am:
5c2aa05bfb"
Ta-wei Yen [Tue, 24 Jan 2017 18:43:58 +0000 (18:43 +0000)]
Merge "Fix typo in the IS_OMPT_VOICEMAIL field." into nyc-mr2-dev am:
70f920fa0c
am:
5c2aa05bfb
Change-Id: I583722ca6ac52499d027f6660393647e6051a4c5
Android Build Merger (Role) [Tue, 24 Jan 2017 18:43:24 +0000 (18:43 +0000)]
Merge "Fix typo in the IS_OMPT_VOICEMAIL field. am:
57365441d4 am:
e696c3d911"
Ta-wei Yen [Tue, 24 Jan 2017 18:42:46 +0000 (18:42 +0000)]
Fix typo in the IS_OMPT_VOICEMAIL field. am:
57365441d4
am:
e696c3d911
Change-Id: I380e1a15f1c13009b876dd0347ef811cd3f70aed
Android Build Merger (Role) [Tue, 24 Jan 2017 18:42:22 +0000 (18:42 +0000)]
Merge "Merge "Mark the INetworkScoreCache as oneway." am:
edadb3efc3 am:
4fcc44dc9a am:
ea65f9d392 am:
577aac1385"
Jeremy Joslin [Tue, 24 Jan 2017 18:41:47 +0000 (18:41 +0000)]
Merge "Mark the INetworkScoreCache as oneway." am:
edadb3efc3 am:
4fcc44dc9a am:
ea65f9d392
am:
577aac1385
Change-Id: I9044cfa8445014d08bc416e46811c57e5972d653
Android Build Merger (Role) [Tue, 24 Jan 2017 18:41:22 +0000 (18:41 +0000)]
Merge "Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev am:
8ac1bff7e2 am:
20d79203be am:
60e03c36b7"
Nancy Zheng [Tue, 24 Jan 2017 18:40:42 +0000 (18:40 +0000)]
Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev am:
8ac1bff7e2 am:
20d79203be
am:
60e03c36b7
Change-Id: I5790f4748bf2b3f09b4d2efb66ecba117d289844
Android Build Merger (Role) [Tue, 24 Jan 2017 18:40:18 +0000 (18:40 +0000)]
Merge "Query for the settings package in KeyguardManager instead of hardcoding it. am:
e256a18dcd am:
11bdbd1145 am:
52b8412742"
Nancy Zheng [Tue, 24 Jan 2017 18:39:42 +0000 (18:39 +0000)]
Query for the settings package in KeyguardManager instead of hardcoding it. am:
e256a18dcd am:
11bdbd1145
am:
52b8412742
Change-Id: I050903bafefed0d80961901ac98d67f7cc22dfaa
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
Hugo Benichi [Fri, 4 Nov 2016 07:06:34 +0000 (16:06 +0900)]
DO NOT MERGE frameworks-test: adding missing @SmallTest
This activates all frameworks-test tests in runs of the continuous
platform tests.
Test: $ runtest frameworks-net passes (expect Tether
Bug:
32561414
(cherry picked from commit
fa8a6f6220d1a0027ba7969c2d3f72690ddc6495)
Change-Id: I84f9aecfbf9ebe07c6fcfec26acb2c2cfaae2d60
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
Chen Xu [Tue, 24 Jan 2017 02:48:00 +0000 (02:48 +0000)]
Merge "support suw and post-suw cases for default app" am:
9fc8d99c76 am:
ea55399ecc
am:
f2a5e432b0
Change-Id: Ica33178ed47d877d6ab723a42dce032456e15201
Jason Parks [Tue, 24 Jan 2017 02:46:26 +0000 (02:46 +0000)]
Merge "Allow the profile owner to enforce auto time."
Chen Xu [Tue, 24 Jan 2017 02:43:28 +0000 (02:43 +0000)]
Merge "support suw and post-suw cases for default app" am:
9fc8d99c76
am:
ea55399ecc
Change-Id: I1b3a5c7aed8a2930ed98c81b1c2c391769d87fe5
Chen Xu [Tue, 24 Jan 2017 02:39:55 +0000 (02:39 +0000)]
Merge "support suw and post-suw cases for default app"
am:
9fc8d99c76
Change-Id: I7a451bf2cfdfd6db65208a46db9d664039297ace
Chen Xu [Tue, 24 Jan 2017 02:30:58 +0000 (02:30 +0000)]
Merge "support suw and post-suw cases for default app"
Android Build Merger (Role) [Tue, 24 Jan 2017 02:20:07 +0000 (02:20 +0000)]
Merge "Change HFP Client API to support multi device am:
c8399321e9" into nyc-mr2-dev-plus-aosp
Sanket Agarwal [Tue, 24 Jan 2017 02:18:54 +0000 (02:18 +0000)]
Change HFP Client API to support multi device
am:
c8399321e9
Change-Id: I96dd85f1bee2f39f683d6ee11b5ab4e8b9a7f217
Ta-wei Yen [Tue, 24 Jan 2017 02:18:30 +0000 (02:18 +0000)]
Merge "Fix typo in the IS_OMPT_VOICEMAIL field." into nyc-mr2-dev
am:
70f920fa0c
Change-Id: If2936ae00b37750362a56975ba7c42a6c30984aa
Ta-wei Yen [Tue, 24 Jan 2017 02:18:26 +0000 (02:18 +0000)]
Fix typo in the IS_OMPT_VOICEMAIL field.
am:
57365441d4
Change-Id: I060ed862bd929875848753d77e6fc3ff8a48e32c
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."
Christine Franks [Wed, 18 Jan 2017 22:55:00 +0000 (14:55 -0800)]
Increase Night Display transition to 3 seconds
Bug:
34287165
Test: manual - Night Display transitions to amber/transparent over
three seconds.
Change-Id: Ia39d162ffdafb5e8920a0e392dc913d849453169
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
fionaxu [Mon, 23 Jan 2017 06:43:41 +0000 (22:43 -0800)]
support suw and post-suw cases for default app
- our default carrier actions might not compatible with suw since data might be disabled
without surfacing users with an option to activate inside SuW.
- instead, skip carrier actions during setupwizard and schedule a job to resume carrier actions if needed when exit suw.
- use jobscheduler to monitor provision bit instead of keep the app running and listen for content change asynchronously.
Bug:
30958215
Test: Manual
Change-Id: Ie4004b46405b914158f585059d332f4e694053f3
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"