OSDN Git Service
Seigo Nonaka [Mon, 15 May 2017 23:25:11 +0000 (16:25 -0700)]
Introduce early exit path for non resource path.
Developer can specify android:fontFamily with three ways, pre-defined
font family name, e.g. "sans-serif", path to the font file in resource
directory, e.g. "res/fonts/Roboto-Regular.ttf", or path to the XML font
family file, e.g. "res/fonts/Roboto.xml".
Resources.getFont treats font files and XML files but pre-defined family
name is handled by TextView. Thus, we can early exit if the passed value
is not likely resource path.
This improves the inflation performance.
The score without this patch:
gfx-avg-frame-time-50: 6.9
gfx-avg-frame-time-90: 9.4
gfx-avg-frame-time-95: 10.4
gfx-avg-frame-time-99: 16.7
The score with this patch:
gfx-avg-frame-time-50: 7.0
gfx-avg-frame-time-90: 8.9
gfx-avg-frame-time-95: 9.7
gfx-avg-frame-time-99: 16.5
Measured on bullhead-userdebug.
The APCT perf test improves from
String FontFamily: 200,086 -> 132,561
File FontFamily : 199,256 -> 161,843
XML FontFamily : 203,681 -> 158,553
Measured on angler-userdebug.
Bug:
38232467
Test: UiBenchmark
Change-Id: Ia601ae7207ae8c60848c9efdbb9396267a57257c
Phil Weaver [Mon, 15 May 2017 16:56:24 +0000 (16:56 +0000)]
Merge "Add null check to a11y call." into oc-dev
Sumir Kataria [Mon, 15 May 2017 16:35:26 +0000 (16:35 +0000)]
Merge "Use placeholderCount-1 if using default layout." into oc-dev
TreeHugger Robot [Mon, 15 May 2017 16:01:51 +0000 (16:01 +0000)]
Merge "Fix a deadlock in LockSettingsService" into oc-dev
TreeHugger Robot [Mon, 15 May 2017 14:18:17 +0000 (14:18 +0000)]
Merge "Fix number of channels in inline notification settings" into oc-dev
Peeyush Agarwal [Thu, 11 May 2017 13:19:22 +0000 (14:19 +0100)]
Fix broken MenuItem coretests
- Fix MenuItemImpl setShortcut bug caused when method signature was
changed after API review
- Remove outdated MenuItem coretests and move others to CTS
Bug:
38114634
Test: Run `cts-tradefed run cts-dev -m CtsViewTestCases -t
android.view.cts.MenuTest`
Change-Id: Iebb7e314cbb3f812fcfeb3f95797f1cf1bcfbae2
(cherry picked from commit
d70d2e6efccf186af08289eb5dc5fe1835b753ed)
Rubin Xu [Mon, 15 May 2017 10:50:09 +0000 (11:50 +0100)]
Fix a deadlock in LockSettingsService
Order of taking locks in LSS: mSeparateChallengeLock -> mSpManager -> this.
Since getGateKeeperService().getSecureUserId() will end up calling
getSeparateProfileChallengeEnabled() which tries to acquire mSeparateChallengeLock
, we shouldn't be holding this lock while calling getSecureUserId()
Also spell out the order of taking locks in a comment.
Test: while device lockscreen is being changed, run "adb shell dumpsys lock_settings"
and verify device is not locked up.
Bug:
37663848
Change-Id: I6b780ab5d1e33b07392f0ab0df29ecc3956f89ff
TreeHugger Robot [Mon, 15 May 2017 13:13:46 +0000 (13:13 +0000)]
Merge "Hadler USER_ALL when uninstalling static shared lib" into oc-dev
TreeHugger Robot [Mon, 15 May 2017 11:13:51 +0000 (11:13 +0000)]
Merge "Query for static shared libs as well when needed" into oc-dev
Svet Ganov [Mon, 15 May 2017 09:48:22 +0000 (02:48 -0700)]
Hadler USER_ALL when uninstalling static shared lib
Test: manual - cannot uninstall an lib with cross user dependency
All static shared lib CTS tests pass
bug:
36632264
Change-Id: Idd11405b27ccd8cacc2a50814e1317356689b7d1
Jorim Jaggi [Mon, 15 May 2017 10:24:44 +0000 (10:24 +0000)]
Merge "Relayout before creating surface" into oc-dev
Jorim Jaggi [Fri, 12 May 2017 23:24:31 +0000 (01:24 +0200)]
Relayout before creating surface
Since we create starting window surfaces immediately (instead of
waiting for app visibility), we hit a weird corner case in which
the surface was created before the window was laid out. Thus, a
little bit later, we had to call SurfaceControl.setSize, which
made the whole transaction blocking, meaning that we blocked until
the next vsync before returning to the client (starting window).
Fix this by running a layout if the window wasn't laid out yet.
Test: Open hot app, see latency go down by an average of 8ms (up
to 16ms better!)
Bug:
32668632
Change-Id: I9817afc72127e32d7f8f4e497e0dccd7f180a9c0
Svet Ganov [Mon, 15 May 2017 08:17:05 +0000 (01:17 -0700)]
Query for static shared libs as well when needed
System components can see static shared libs but have to
explicitly request that. This change explicitly requests
static shared libs as well in the package manager shell
command, the package installer and the package manager
where needed.
Test: Static shared lib CTS tests pass
bug:
36632271
Change-Id: I26804571be327888b830e2f6bccdcbaa820f763c
TreeHugger Robot [Mon, 15 May 2017 09:18:22 +0000 (09:18 +0000)]
Merge "Clear calling identity before binding instant app resolver" into oc-dev
Hugo Benichi [Mon, 15 May 2017 04:35:41 +0000 (04:35 +0000)]
Merge "CaptivePortal: login activity UI improvements" into oc-dev
TreeHugger Robot [Mon, 15 May 2017 04:28:05 +0000 (04:28 +0000)]
Merge "Fix MediaSessionManager.Callback to be called with the media button session" into oc-dev
TreeHugger Robot [Mon, 15 May 2017 04:27:32 +0000 (04:27 +0000)]
Merge "Launch voice assistant by the KEYCODE_MEDIA_PLAY_PAUSE" into oc-dev
TreeHugger Robot [Mon, 15 May 2017 04:23:58 +0000 (04:23 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Hugo Benichi [Thu, 11 May 2017 00:58:14 +0000 (09:58 +0900)]
CaptivePortal: login activity UI improvements
Similarly to commit
2e0915f14384901f25a41d698b39ef0add201550 for the
carrier portal login, this patch changes the default settings of the
webview used for the system captive portal login activity to allow
better user experience on "wide" login pages designed for desktop.
Test: manually tested with captive portals.
Bug:
31813936,
19228946,
36532213
Change-Id: Ib84fd351e47e951d24f297bc7de1b035b51cf24f
Merged-In: I2579994da37f3b0f4c08e24e59c81f31835ab832
(cherry picked from commit
f7eea406c950e447608c6f62de05158334682365)
TreeHugger Robot [Sun, 14 May 2017 20:50:40 +0000 (20:50 +0000)]
Merge "Fixed and improved (for reuse) PendingRequest lifecycle." into oc-dev
Felipe Leme [Thu, 11 May 2017 17:10:49 +0000 (10:10 -0700)]
Start a new session on manual request after session is "gone".
When the autofill service returns a null FillResponse, the session is marked
"gone" because the service cannot autofill it. But there might be cases where
the view structure change and it's now autofillable, so need to allow users
to manually request autofill again in such cases.
Fixes:
38205945
Test: CtsAutoFillServiceTestCases pass
Test: LoginActivityTest.testAutofillManuallyAfterServiceReturnedNoDatasets()
Test: LoginActivityTest.testAutofillManuallyAndSaveAfterServiceReturnedNoDatasets()
Change-Id: I9b23c255e563dd0646bf266d31ddb10dcc4f7f6d
TreeHugger Robot [Sun, 14 May 2017 03:45:18 +0000 (03:45 +0000)]
Merge "Don't print sensitive data on AssistStructure.dump()" into oc-dev
Felipe Leme [Fri, 12 May 2017 00:46:36 +0000 (17:46 -0700)]
Don't print sensitive data on AssistStructure.dump()
Test: manual verification
Bug:
38205945
Change-Id: Ic184ee6da313a2c0f8e0dd11979f6985d8023140
Dianne Hackborn [Sat, 13 May 2017 20:08:19 +0000 (20:08 +0000)]
Merge "Fix issue #
38210653: Few more tweaks of job scheduler" into oc-dev
Jason Monk [Sat, 13 May 2017 13:10:52 +0000 (13:10 +0000)]
Merge "Fix the status icon colors in QS" into oc-dev
TreeHugger Robot [Sat, 13 May 2017 12:57:18 +0000 (12:57 +0000)]
Merge changes I7b5504d0,I10c263dc into oc-dev
* changes:
Get rid of a lot of binder calls
Fix recents entry delay
Bill Yi [Sat, 13 May 2017 11:11:12 +0000 (04:11 -0700)]
Import translations. DO NOT MERGE
Change-Id: I4c22a6f78ff012791677fe6935351f008108dcb9
Auto-generated-cl: translation import
Jorim Jaggi [Fri, 12 May 2017 14:32:58 +0000 (16:32 +0200)]
Get rid of a lot of binder calls
Lead to delays when entering recents.
Test: Open recents
Bug:
32668632
Change-Id: I7b5504d0c11208d9c4d55de2eace6407d186f25c
Jorim Jaggi [Fri, 12 May 2017 13:40:43 +0000 (15:40 +0200)]
Fix recents entry delay
- Start loading things after we drew our first frame.
- Don't load high res task until low res tasks have been loaded:
In case the snapshot is already in cache in system_server the
low-res task loader will load the full res snapshot, leading to
GC pressure due to registerNativeAlloc. Now, if both task loader
load the same snapshot at the same time we are very likely
to trigger a blocking GC alloc.
Test: Open recents, look at systrace
Change-Id: I10c263dc8929742611ad9fbb32f65bc8ac3100bd
Fixes:
36851903
Bug:
32668632
TreeHugger Robot [Sat, 13 May 2017 06:39:13 +0000 (06:39 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sat, 13 May 2017 03:54:18 +0000 (03:54 +0000)]
Merge "Couple autofill fixes." into oc-dev
TreeHugger Robot [Sat, 13 May 2017 03:37:35 +0000 (03:37 +0000)]
Merge "Allow users to quickly focus the minute field in TimePicker." into oc-dev
TreeHugger Robot [Sat, 13 May 2017 01:41:53 +0000 (01:41 +0000)]
Merge "Fix recent apps in system UI for Skia pipeline" into oc-dev
Bryce Lee [Sat, 13 May 2017 01:41:32 +0000 (01:41 +0000)]
Merge "Introduce result ranges for activity start return results." into oc-dev
TreeHugger Robot [Sat, 13 May 2017 00:35:39 +0000 (00:35 +0000)]
Merge "OMS: Setup state for users on boot and when added" into oc-dev
Jayachandran Chinnakkannu [Sat, 13 May 2017 00:35:05 +0000 (00:35 +0000)]
Merge "Add new reason code for IMS Call ended during conference merge process" into oc-dev
TreeHugger Robot [Sat, 13 May 2017 00:34:34 +0000 (00:34 +0000)]
Merge "Revert "Respect PopupWindow.setOverlapAnchor when above anchor"" into oc-dev
Dianne Hackborn [Thu, 11 May 2017 18:53:24 +0000 (11:53 -0700)]
Fix issue #
38210653: Few more tweaks of job scheduler
- Now keep track of the time a job was enqueued, and order
the pending list by that.
- Added configuration constants for rescheduling: maximum
times to reschedule, minimum backoff times.
- Fixed printing of active jobs -- the method to get the current
JobStatus was old and didn't require the caller to hold a
lock, so made a copy, which didn't contain all the data we were
interested in. Now with our simple locking, we can just make
that require the caller hold a lock and return the real
JobStatus object.
- Include oom_adj and procstate when printing information about
processes being killed.
- Expanded documentation of BroadcastReceiver.goAsync().
Test: bit CtsJobSchedulerTestCases:*
Change-Id: I2e45f181e45be9836c74cbff1b844ffdf6e93019
TreeHugger Robot [Sat, 13 May 2017 00:27:08 +0000 (00:27 +0000)]
Merge "Add missing break statements in FingerprintManager" into oc-dev
TreeHugger Robot [Sat, 13 May 2017 00:13:59 +0000 (00:13 +0000)]
Merge "Updating expand icon asset." into oc-dev
Jaekyun Seok [Sat, 13 May 2017 00:04:08 +0000 (00:04 +0000)]
Merge "Fix broken PackageParserTest" into oc-dev
Adam Lesinski [Fri, 12 May 2017 23:53:56 +0000 (23:53 +0000)]
Merge "AAPT2: Allow <uses-permission-sdk-23> in manifest" into oc-dev
Abodunrinwa Toki [Fri, 12 May 2017 23:51:46 +0000 (23:51 +0000)]
Merge "TextView: Invalidate selection action mode on "select all"." into oc-dev
Selim Cinek [Fri, 12 May 2017 23:42:44 +0000 (23:42 +0000)]
Merge "Fixed an issue where the media notification wouldn't have contrast" into oc-dev
Stan Iliev [Fri, 5 May 2017 23:41:36 +0000 (19:41 -0400)]
Fix recent apps in system UI for Skia pipeline
Enable HW Bitmaps for Skia pipeline just enough to make
recent apps list working by adding support for BitmapShader.
Drawing HW bitmaps in a canvas is also supported.
Test: recent apps work, HWUI unit tests pass, CTS tests pass.
bug:
38136140
Change-Id: Ibd06c859c86dc213310d5ce5272497e1882d0cc6
Merged-In: Ibd06c859c86dc213310d5ce5272497e1882d0cc6
TreeHugger Robot [Fri, 12 May 2017 23:41:37 +0000 (23:41 +0000)]
Merge "strong fp lockout after 20 failed attempts" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 23:40:34 +0000 (23:40 +0000)]
Merge "Do not perform backup/restore of instant apps" into oc-dev
Abodunrinwa Toki [Fri, 12 May 2017 14:37:29 +0000 (15:37 +0100)]
TextView: Invalidate selection action mode on "select all".
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: I0b5ebb8d6f1af1a9938151f758a2feedb14fcb9f
Fixes:
38244876
Bill Yi [Fri, 12 May 2017 23:23:59 +0000 (16:23 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ideae955ce1ddea3d17038235c4ed55127d7b7541
Auto-generated-cl: translation import
TreeHugger Robot [Fri, 12 May 2017 23:11:46 +0000 (23:11 +0000)]
Merge "Add command to retrieve the instant app resolver" into oc-dev
Abodunrinwa Toki [Fri, 12 May 2017 23:07:57 +0000 (23:07 +0000)]
Merge "Properly invalidate text classification cache." into oc-dev
Evan Rosky [Fri, 12 May 2017 23:03:52 +0000 (23:03 +0000)]
Merge "Added redundant focusable attribute read in TextView" into oc-dev
Bryce Lee [Tue, 9 May 2017 22:33:18 +0000 (15:33 -0700)]
Introduce result ranges for activity start return results.
The return result from starting activity actually represents two
pieces of information. First, it conveys whether the activity
started. Secondly, it conveys whether there was a fatal error if
the activity did not start. Many parts of the code assume that a
value greater than or equal to the defined success means that the
activity successfully started. This is not the case as there are a
number of results greater than success where the activity does not
start.
This change addresses the issue by introducing three distinct
result ranges. The first represents results where the activity
could not start due to a fatal error. The second represents results
where the activity did not start due to a non-fatal error. The last
range represents successful activity starts. Two convenience methods
have been added to ActivityManager to return whether the result
represents a fatal error and whether the result was successful.
Change-Id: Ifaf844c353641a28b03b3c2d7b6be053fd9b8b44
Fixes:
38021882
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.DeviceOwnerTest#testLockTask_deviceOwnerUser
TreeHugger Robot [Fri, 12 May 2017 23:01:30 +0000 (23:01 +0000)]
Merge "Update ShortcutManager/Service javadoc/impl around sizing" into oc-dev
Abodunrinwa Toki [Fri, 12 May 2017 22:50:48 +0000 (22:50 +0000)]
Merge "TextClassifier: Ensure url scheme is in lowercase" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 22:45:04 +0000 (22:45 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 22:44:21 +0000 (22:44 +0000)]
Merge "Work on issue #
38242094: Activity manager oom adj computation seems broken" into oc-dev
Adam Lesinski [Fri, 12 May 2017 20:50:42 +0000 (13:50 -0700)]
OMS: Setup state for users on boot and when added
Some users never get switched to (managed profile/work profile) so the
overlay state for a user would never be setup (but they could still show
UI and apps).
This change ensures that user state is setup after an OTA to android O,
and whenever a user is added.
Bug:
37899201
Test: manual (add user via Device Admin sample: vendor/google/tools/DeviceAdminSample)
Change-Id: If214e26e39b18c2861794baf5c608a47d536e5ff
Felipe Leme [Fri, 12 May 2017 18:17:52 +0000 (11:17 -0700)]
Couple autofill fixes.
- Fixed PFLAG3_NOTIFY_AUTOFILL_ENTER_ON_LAYOUT value - it was overlapping with
PFLAG3_ASSIST_BLOCKED.
- Added missing permission on methods called by Shell command.
- Improved debugging.
Bug:
38173625
Test: android.autofillservice.cts.MultipleFragmentLoginTest#loginOnTwoFragments
Change-Id: Ie7880c97d38298e06134709c5c2e9e38fa1bacbb
Suprabh Shukla [Tue, 9 May 2017 01:17:55 +0000 (18:17 -0700)]
Adding AOSP copyrights header
Test: N/A
Change-Id: Iabec646a1f8087480f899c5b4996122a9f4bd13a
Felipe Leme [Fri, 12 May 2017 21:47:17 +0000 (14:47 -0700)]
Fixed and improved (for reuse) PendingRequest lifecycle.
Fixes:
38173625
Test: android.autofillservice.cts.MultipleFragmentLoginTest#loginOnTwoFragments
Change-Id: Ic9ba3cb51048296384d42670cc71db78a0e8fcf6
Adam Lesinski [Fri, 12 May 2017 22:25:50 +0000 (15:25 -0700)]
AAPT2: Allow <uses-permission-sdk-23> in manifest
Bug:
38269610
Test: build tools/aapt2/integration-tests/AppOne
Change-Id: I1d0b87aa36f6bf82aab146339acf8848166b218d
TreeHugger Robot [Fri, 12 May 2017 22:25:42 +0000 (22:25 +0000)]
Merge "Updating AppWidgetServiceImplTest as per Mockito changes" into oc-dev
Winson Chung [Thu, 11 May 2017 22:24:13 +0000 (15:24 -0700)]
Updating expand icon asset.
Bug:
38237934
Test: Launch activity in PIP, tap to show expand icon
Change-Id: Icae85ff27accd1e2143836541587e3bedc17570b
Kevin Chyn [Fri, 12 May 2017 21:51:23 +0000 (14:51 -0700)]
Add missing break statements in FingerprintManager
Fixes:
38268065
Test: manual
Change-Id: I64ac92b2c5682bcaa494f43ff5defdf9915c5a65
TreeHugger Robot [Fri, 12 May 2017 21:57:13 +0000 (21:57 +0000)]
Merge "Batterystats BLE results counter takes in count" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 21:32:04 +0000 (21:32 +0000)]
Merge "Fixed exceptions during test tearDown" into oc-dev
Sunny Goyal [Fri, 12 May 2017 21:08:57 +0000 (21:08 +0000)]
Merge "Setting Session commited broadcast when an existing apk is enabled for a different user" into oc-dev
Christopher Tate [Fri, 12 May 2017 20:51:27 +0000 (13:51 -0700)]
Do not perform backup/restore of instant apps
This keeps the install flow fast, and also happens to mean that
there is feature parity in this regard between pre-O and O+
instant app handling.
Fix #
38263351
Test: manual
Change-Id: I8eb08c12d800f5288583e792621920c9876efdfc
Rebecca Silberstein [Fri, 12 May 2017 20:50:35 +0000 (20:50 +0000)]
Merge "SystemUI: add NETWORK_SETTINGS permission" into oc-dev
Bill Yi [Fri, 12 May 2017 20:49:56 +0000 (13:49 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
38120923
Change-Id: I3ebe901771f444c2986b15a52f4d16bd342fac37
TreeHugger Robot [Fri, 12 May 2017 20:48:23 +0000 (20:48 +0000)]
Merge "Merge "Add PID info into ANR crash log header" am:
2fe972c822 am:
5d57502c89 am:
5dbe26f0f1 am:
4ae323995d" into oc-dev
Michael Wachenschwanz [Fri, 12 May 2017 20:47:46 +0000 (20:47 +0000)]
Merge "Fix JobSet getJobsByUser" into oc-dev
Dianne Hackborn [Fri, 12 May 2017 00:25:23 +0000 (17:25 -0700)]
Work on issue #
38242094: Activity manager oom adj computation seems broken
This shouldn't change any behavior, but improve the reason we
report for each process's oom_adj / proc state level. There are
two significant things going on here:
1. We now consider a bump up in proc state to be just as significant
as a change in oom_adj, and accordingly update the reason when this
happens. Given how many proc stats we now have mapped to some of
the single oom_adj levels, this matches your expectation to have the
reason be why it is at that proc state and not just some random
other thing at that level.
2. There is special handling of an app at the top state connecting
to another app, deciding the actual state to apply at the end. This
was not at that point updating the reason, so anything the top app
is connected to would get the top state but myseriously have some other
reason, looking very broken. We now propagate the reason over.
Test: manual
Change-Id: Idecbe206d73e7c4cbd989ef6faf3b1679e06c088
Aurimas Liutikas [Fri, 12 May 2017 20:37:43 +0000 (13:37 -0700)]
Allow users to quickly focus the minute field in TimePicker.
Set imeOptions to be actionNext for the hour field of TimePicker to
allow users to jump to the next field using the keyboard.
Bug:
36863243
Test: Manual, keyboard now shows next button instead of enter that moves
focus to the next field.
Change-Id: Ia9d6137d14579ba5b99fbb714a78423cc75b5fa0
TreeHugger Robot [Fri, 12 May 2017 20:26:51 +0000 (20:26 +0000)]
Merge "Set notification TAG and style in TV PIP notification" into oc-dev
Jason Monk [Wed, 10 May 2017 13:52:10 +0000 (09:52 -0400)]
Fix the status icon colors in QS
Requires lots of theming magic
Test: visual
Change-Id: I1cd28b570f30989b496065c0e06a5aca461deb41
Fixes:
37619734
TreeHugger Robot [Fri, 12 May 2017 20:14:03 +0000 (20:14 +0000)]
Merge "Avoid activity leak via Companion callback" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 20:13:10 +0000 (20:13 +0000)]
Merge "Removed deprecated APIs." into oc-dev
TreeHugger Robot [Fri, 12 May 2017 20:06:22 +0000 (20:06 +0000)]
Merge "Update Bitmap#prepareToDraw doc" into oc-dev
Kevin Chyn [Thu, 4 May 2017 04:40:12 +0000 (21:40 -0700)]
strong fp lockout after 20 failed attempts
Fingerprint currently locks out for 30s after every 5 failed attempts.
This change makes it so that in addition to the above,
PIN/pattern/password will be required after 20 failed attempts.
Fixes:
35954316
Test: manual
Change-Id: I3aeb0e5b5b4d5011555f60fbe6cc2c1ce702a670
Jorim Jaggi [Fri, 12 May 2017 20:00:54 +0000 (20:00 +0000)]
Merge "Do not hold WM lock while closing animation transaction" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 19:41:47 +0000 (19:41 +0000)]
Merge "Only force reset when adb is not enabled (i.e. mtp is)" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 19:17:58 +0000 (19:17 +0000)]
Merge "Do not notifyNoFullUi if no view is focused" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 19:17:32 +0000 (19:17 +0000)]
Merge "Remove forward matches before checking for default" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 19:14:47 +0000 (19:14 +0000)]
Merge "Not specify return val of View#onSaveInstanceState" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 19:10:18 +0000 (19:10 +0000)]
Merge "Default grant mic, storage, camera to SMS app" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 19:07:35 +0000 (19:07 +0000)]
Merge "Prevent multiple copies of android.hidl.manager-V1.0-java" into oc-dev
Michael Wachenschwanz [Fri, 12 May 2017 18:49:27 +0000 (11:49 -0700)]
Fix JobSet getJobsByUser
Retrieve jobs from SparseArray with index using valueAt rather than get
(which uses keys not indices)
Fixes:
38198221
Test: manual
Change-Id: I636f5e0ef43456619700e27944eb6c2d65021643
Signed-off-by: Michael Wachenschwanz <mwachens@google.com>
Hyunyoung Song [Mon, 8 May 2017 23:51:43 +0000 (16:51 -0700)]
Update ShortcutManager/Service javadoc/impl around sizing
to account for AdaptiveIconDrawable type of shortcuts
Test: builds for now.. If Makoto is happy with this change, will add tests
b/
37743074
Change-Id: Ieecd95d621db57f858fac449d3bcedd173c8607c
TreeHugger Robot [Fri, 12 May 2017 18:38:29 +0000 (18:38 +0000)]
Merge "Fix racy clone" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 18:37:57 +0000 (18:37 +0000)]
Merge "Add Save and Restore of BluetoothOn setting" into oc-dev
Selim Cinek [Fri, 12 May 2017 18:35:18 +0000 (18:35 +0000)]
Merge "Fixing the colorization of legacy media notifications" into oc-dev
Selim Cinek [Fri, 12 May 2017 18:32:52 +0000 (18:32 +0000)]
Merge "Don't flash colors when hinting" into oc-dev
Selim Cinek [Fri, 12 May 2017 18:32:25 +0000 (18:32 +0000)]
Merge "Fixing flakey tests" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 18:16:19 +0000 (18:16 +0000)]
Merge "Don't set keyguard state to showing when service disabled" into oc-dev
Sudheer Shanka [Fri, 12 May 2017 18:02:36 +0000 (18:02 +0000)]
Merge "Add time spent by uid per cpu frequency to batterystats." into oc-dev
Stanley Tng [Tue, 2 May 2017 04:27:31 +0000 (21:27 -0700)]
Add Save and Restore of BluetoothOn setting
This change will automatically save the Bluetooth On setting when
the user chooses to backup the phone settings into the cloud. This
setting is restored by the Setup Wizard (SUW) when configuring the
phone and this change will enable or disable the Bluetooth based
on this restored setting.
Bug:
35657817
Test: Manual test with Sailfish
Change-Id: Ie4518593af63f96f8c363f98941ca5260a3ec4bb
(cherry picked from commit
767f05feea67e642a76bd3e2e7633a8f5273f077)
Wale Ogunwale [Fri, 12 May 2017 17:37:16 +0000 (10:37 -0700)]
Fixed exceptions during test tearDown
- Acquire WM lock when tearing down test. Prevent the handler thread
from modifying state at the same time.
- Don't set surface boundaries on window states without a surface
control.
- Avoid exception if process can read screen-edge-insets for Pip.
Change-Id: If4a2438032866eaec84ed79c30c1d716e0f89758
Fixes:
38113905
Test: this is it!
Phil Weaver [Thu, 11 May 2017 17:54:37 +0000 (10:54 -0700)]
Add null check to a11y call.
No good will come from posting that a null View has
changed. Adding a null check so the failure will happen
when the bad call is made, rather than later when we
try to act on it in a handler.
Bug:
38122973
Test: Ran accessibility unit and cts tests.
Change-Id: I1e9aaf2a18180fcdfd0fbc0e5b716eb96446af33