For the Wear devices it is important to set the batch size here,
because otherwise all sensor-related services (like gesture detection
or gaze/ungaze detection start to consume ~10x CPU time).
Bug: 28995481
Change-Id: I30f9e5f7ea5aee8fdd80734588386e64b874e1dc
The impact is small but the IO work can be perform at different
moments. Profile creation is done during app install and
permission check postpone until the first profile write.
Bug: 28785119
Bug: 28625993
Change-Id: Ib364f21f07a78c78e03851fa12142319ea1f931b
This includes following changes for performance
1. Passes the key events directly between the windows instead of using
dummy Views and OnFocusChangeListener to prevent main thread from
handling unnecessary focus changes.
2. Limits the window size for PIP controls to reduce unnecessary draw.
Here's the test result. Test is performed with paused PIP video
1. 5 visible recents task
Focus down: 48.14 fps -> 85.396 fps (+77.39%)
Focus up: 24.67 fps -> 45.33 fps (+83.77%)
2. 3 visible recents task
Focus down: 51.98 fps -> 132.72 fps (+155.34%)
Focus up: 30.91 fps -> 53.38 fps (+72.69%)
Bug: 28042495
Change-Id: I363232176975b160e122748c9997ef4b46b73a28
Add an extra parameter to LocaleHelper.getDisplayLocaleList()
specifying the maximum number of locales to output, as callers
probably won't need the whole list.
Bug: 28872122
Change-Id: Ief136bc1af2841e76ed4d8e65932a9a30821eae3
am: 386a947616
* commit '386a9476160ecd8d7d647d1a305126ec0917e0ab':
Prevent setting the launch task id when docking.
Change-Id: Ifbf11755b04dc3e0be9c9a2c170d5aa178b3c4df
am: 20237bc68f
* commit '20237bc68fa32422fe256f75e331a4a3bdc3fd24':
Only make Recents activity invisible if not focused on TV devices.
Change-Id: I98ed5ae3e4fd84033dca361d148d344fb28bc05a
am: 89046edb4d
* commit '89046edb4d64fe1c7662103cce3a82b69e05cfe4':
Fix issue where max idle time > total idle time
Change-Id: I22908fb8f1c8ee7325687cebf646c3a03f6e1ea7
am: cef12198a7
* commit 'cef12198a729209fc8bfb2b2483fb3730f0fd428':
Protect against NPE while to updating service connection activities.
Change-Id: Ibeac7bcf9d2f85ac39d9b029cd429ae538ad8a99
am: 7a91029bff
* commit '7a91029bff3d31e56f12ae1c070ba78043e49e0a':
Fix an assertion to avoid crash on deletions in Recent root.
Change-Id: Ibae8befa4b424b3da4bd43edb74afc28c5e30f96
am: 3106e71ddc
* commit '3106e71ddc6ace7bc15b50e4a91ed98ed428bee2':
Updated link to material design page.
Change-Id: Ifc6c2b1460ed0006cc83a531f41342e4a67419ef
am: 34979a3af6
* commit '34979a3af6dbb6e3e33a83e5cb939ea3c8c000c7':
Change overdraw test to use windowbackground
Change-Id: I33e81c72d55fb03cf40dfe173b4b14ffab09f880
am: 38b5946fae
* commit '38b5946fae50d4e9e8f32c985983d03a4437910d':
Fixed the relative time spoken with accessibility
Change-Id: I51bbe71d2b86cfb8f050882b072092a015573fdb
am: 210f2ff198
* commit '210f2ff19808ce6b261a84596bf141909ecb381c':
Use backstop timeouts on asynchronous countdown during preflight
Change-Id: Id282e332a226ca4c9c2f38aef4c1f24e3003321b
am: 793ac34219
* commit '793ac342196c57f6b89ad9d1425fc420fbb44bb5':
Prevent use of a null sCallbackObj by Hardware FLP
Change-Id: I3681a3433f21112659840fb4431f0f616305ee3c
am: 814358a24f
* commit '814358a24f7bf045cdd8261f15aefff59936287b':
Fixing crash in SysUI due to invalid group.
Change-Id: Ib194b1041b5931483857ee57c0573277e942ec31
* changes:
Merge "Suppress unlock notifications on non-FBE devices." into nyc-dev am: a39d888651
Merge "Replace caribou wallpaper without the stars b/28339724" into nyc-dev am: b3d4ad2205
am: d6ee899397
* commit 'd6ee8993973050befff3a5f10f273ef9e8a050e2':
Delay PACKAGE_RESTARTED until after data cleared.
Change-Id: I8bb3f31a6de42da81a44c9aaf121769ed96b6a3b