OSDN Git Service
Todd Kennedy [Wed, 19 Jul 2017 16:47:55 +0000 (09:47 -0700)]
Always populate the ApplicationInfo object
While scanning system apps, we abort package/application info setup
if an app on /system is not a higher version than an upgrade on /data.
Instead, we need to still fully populate these objects because they
can be retrievd using the MATCH_FACTORY_ONLY flag.
Change-Id: I0262b46f446eace60ce94f1428f3fb15d785a89c
Fixes:
62980149
Test: Manual
Test: Create a sample application that dumps the contents of an ApplicationInfo object for a given package
Test: Install the sample application on the /system partition and "upgrade" the sample application so it's also on the /data partition
Test: Create a secondary user and disable the sample application
Test: Reboot the device
Test: Run the sample application as the primary user and see that the ApplicationInfo object is correctly populated
Bryce Lee [Tue, 18 Jul 2017 17:15:23 +0000 (17:15 +0000)]
Merge "Ensure home activity always is on home stack." into oc-dr1-dev am:
560acb043d
am:
0d2c7dace3
Change-Id: I1399f6c7425d8f7e3ef6c69a25b67b96597574b1
Shubham Ajmera [Tue, 18 Jul 2017 17:09:06 +0000 (17:09 +0000)]
Merge "Reduce app size by downgrading inactive apps"
Bryce Lee [Tue, 18 Jul 2017 17:06:09 +0000 (17:06 +0000)]
Merge "Ensure home activity always is on home stack." into oc-dr1-dev
am:
560acb043d
Change-Id: I41ec14fb2ff092643c2ce54e263da91769541b49
Tomasz Wasilczyk [Tue, 18 Jul 2017 17:00:54 +0000 (17:00 +0000)]
Merge "Make it possible to check if a given program/identifier type is supported."
TreeHugger Robot [Tue, 18 Jul 2017 17:00:04 +0000 (17:00 +0000)]
Merge "Verify SBackGroundColor before using it"
Bryce Lee [Tue, 18 Jul 2017 16:59:10 +0000 (16:59 +0000)]
Merge "Ensure home activity always is on home stack." into oc-dr1-dev
TreeHugger Robot [Tue, 18 Jul 2017 16:58:36 +0000 (16:58 +0000)]
Merge "Don't preload drawables with bitmaps"
Tomasz Wasilczyk [Tue, 18 Jul 2017 16:49:17 +0000 (16:49 +0000)]
Merge "Fill announcement-related gaps in Broadcast Radio APIs."
Jeff Sharkey [Tue, 18 Jul 2017 16:17:02 +0000 (16:17 +0000)]
Merge "Unify permissions under UPDATE_DEVICE_STATS."
Tomasz Wasilczyk [Tue, 18 Jul 2017 16:15:17 +0000 (16:15 +0000)]
Merge "Deprecate onMetadataChanged."
Tomasz Wasilczyk [Tue, 18 Jul 2017 15:36:22 +0000 (15:36 +0000)]
Merge "Implement ProgramSelector for font-end Java APIs."
Leon Scroggins III [Wed, 12 Jul 2017 17:28:46 +0000 (13:28 -0400)]
Verify SBackGroundColor before using it
Test: Ib76234d8a05732936ffd4218e350a8a4415702cf
Bug:
37662286
Change-Id: If6ebddbdb6cb34c9318936358cdc9c657717915a
TreeHugger Robot [Tue, 18 Jul 2017 13:55:51 +0000 (13:55 +0000)]
Merge "NetworkPolicyManagerService: Allow data saver to be on by default."
Paul Duffin [Tue, 18 Jul 2017 13:11:18 +0000 (13:11 +0000)]
Merge "Separate android.test.mock classes from android.test.runner"
Fredrik Roubert [Tue, 18 Jul 2017 11:21:28 +0000 (11:21 +0000)]
Update JNI code in preparation for ICU 59 switching to C++11 char16_t. am:
253e515259 am:
042534c352
am:
3d7c99a174 -s ours
Change-Id: Ib7d9441d1e97818fb7a852b0dcc297d915453327
Fredrik Roubert [Tue, 18 Jul 2017 11:14:55 +0000 (11:14 +0000)]
Update JNI code in preparation for ICU 59 switching to C++11 char16_t. am:
253e515259
am:
042534c352
Change-Id: I34b8a04b7589dc8cc5850aba5c3d50aa2c1b4e02
Fredrik Roubert [Tue, 18 Jul 2017 11:08:47 +0000 (11:08 +0000)]
Update JNI code in preparation for ICU 59 switching to C++11 char16_t.
am:
253e515259
Change-Id: I064ae78ad17bef67d6e90c7ce0aed4e9693c9ac6
Geoffrey Pitsch [Tue, 18 Jul 2017 10:35:17 +0000 (10:35 +0000)]
Merge "Delay marquee scrolling on lockscreen by 2 seconds." into oc-dr1-dev am:
331a287656
am:
3c778dc07a
Change-Id: I59b79e4591868ebd02a5a6f231b092290a878781
Geoffrey Pitsch [Tue, 18 Jul 2017 10:29:23 +0000 (10:29 +0000)]
Merge "Delay marquee scrolling on lockscreen by 2 seconds." into oc-dr1-dev
am:
331a287656
Change-Id: Ie00665beb58cfb797cfdc85c20adfb28988055b2
TreeHugger Robot [Tue, 18 Jul 2017 10:24:17 +0000 (10:24 +0000)]
Merge "Delay marquee scrolling on lockscreen by 2 seconds." into oc-dr1-dev
Fredrik Roubert [Thu, 6 Apr 2017 20:13:51 +0000 (22:13 +0200)]
Update JNI code in preparation for ICU 59 switching to C++11 char16_t.
ICU 59 (update pending on the aosp/icu59 branch) has switched to using
the C++11 char16_t data type, which is a distinct type from uint16_t
(which is what JNI's jchar is typedef'd as), even though they are
bitwise identical.
All code that passes UTF-16 data between ICU4C and JNI must therefore be
updated with typecasts in the appropriate places before ICU 59 is merged
to aosp/master.
Bug:
37554848
Test: make
Change-Id: Ibbc90d2b603382d4715551d05c4a6a462529542d
Merged-In: Ic84a94be82acbef41f80cc113d5da485ce54ae29
Narayan Kamath [Mon, 17 Jul 2017 14:32:53 +0000 (15:32 +0100)]
NetworkPolicyManagerService: Allow data saver to be on by default.
This value is read from the global settings provider, and can be
configured via an overlay.
Bug:
63112872
Test: NetworkPolicyManagerServiceTest
Change-Id: If55ea08df1dd8440189f9b46a5606118de99c930
TreeHugger Robot [Tue, 18 Jul 2017 07:58:33 +0000 (07:58 +0000)]
Merge "IP connectivity metrics: fix tests after proto update"
Hugo Benichi [Tue, 18 Jul 2017 05:28:27 +0000 (14:28 +0900)]
IP connectivity metrics: fix tests after proto update
Update to ipconnectivity.proto in commit
6d2f506bfd788a3685292d404dc9d82a27357cfe broke the associated unit
tests (Change-Id: I4cf5b95956df721aecd63fddfb026a7266c190b9)
Bug:
34901696
Test: runtest frameworks-net
Change-Id: I57a6bad8a9836b1c45690c4589b416786ce1dfa0
TreeHugger Robot [Tue, 18 Jul 2017 03:55:03 +0000 (03:55 +0000)]
Merge "Reference nativehelper/jni.h as jni.h"
Steven Moreland [Tue, 18 Jul 2017 02:00:43 +0000 (19:00 -0700)]
Reference nativehelper/jni.h as jni.h
nativehelper will no longer export nativehelper/jni.h so that everywhere
can reference this file with the same name.
Bug:
63762847
Change-Id: I3e58d478a2eb17b19db540414545a3c1f9c381af
Shubham Ajmera [Thu, 25 May 2017 00:46:36 +0000 (17:46 -0700)]
Reduce app size by downgrading inactive apps
This will trigger when the device will have low space.
Active apps here refer to the apps which were either active
in foregrond or in background and also used by other packages.
Apps which are inactive for X days downgraded to verify. X is
determined by sysprop pm.dexopt.unopt_after_inactive_days
If the system properties are not set, no effect will take place.
The above operations will take place in background dexopt service.
If user uses the app again, it will again be speed-compiled when
background dexopt service starts next time.
Bug:
36598475
Test: manual
* Remove the check in the code that allows downgrade only when
the space is low on the device.
* adb root
* Set pm.dexopt_unopt_after_inactive_days to 600
* Make sure the current time of the device is correctly set
* Install 2 non system apps - B, C
* Downgrade B to extract
* Upgrade a system apps to speed-profile - E
* Downgrade a system app to quicken - G
* adb shell cmd package bg-dexopt-job
Expected Results:
* Extract - B
* Verify - C
* There should not be any entries for apps E an G
in dalvik_cache
Change-Id: I68f9f617d6722a7ba8b00aa2181cb38a165cfc51
TreeHugger Robot [Tue, 18 Jul 2017 00:54:41 +0000 (00:54 +0000)]
Merge "WebView: change setSafeBrowsingWhiteList signature"
Makoto Onuki [Mon, 17 Jul 2017 17:55:11 +0000 (10:55 -0700)]
Don't preload drawables with bitmaps
- On Marlin it'll save ~12MB from zygote
- On Gobo it'll save ~2MB
Bug
63136392
Test: Build and boot
Change-Id: I4a26c9e7a3c60d31eb31ea9ab9e14de64c4d7904
Makoto Onuki [Tue, 18 Jul 2017 00:19:11 +0000 (00:19 +0000)]
Merge "Fix typo in sync log." into oc-dr1-dev am:
479b762f99
am:
0d126ceddb
Change-Id: If505ad732d3353bc21e4265230205fdf0f4f267d
Makoto Onuki [Tue, 18 Jul 2017 00:14:22 +0000 (00:14 +0000)]
Merge "Fix typo in sync log." into oc-dr1-dev
am:
479b762f99
Change-Id: Id9d3f896a534714eaf16762f80bc6c3a1c65b532
TreeHugger Robot [Tue, 18 Jul 2017 00:07:16 +0000 (00:07 +0000)]
Merge "Fix typo in sync log." into oc-dr1-dev
Winson Chung [Mon, 17 Jul 2017 23:45:13 +0000 (23:45 +0000)]
Merge "Fix issue with configuration update check." into oc-dr1-dev am:
8aaa5adae6
am:
d55ae0fd75
Change-Id: I26f4127e5d132f84d5963a7f520a19e593dcd235
Winson Chung [Mon, 17 Jul 2017 23:40:18 +0000 (23:40 +0000)]
Merge "Fix issue with configuration update check." into oc-dr1-dev
am:
8aaa5adae6
Change-Id: I242d4796e7b74e720daebbf274c849eb37100c03
Nate Fischer [Mon, 17 Jul 2017 19:58:18 +0000 (12:58 -0700)]
WebView: change setSafeBrowsingWhiteList signature
* Renames WhiteList -> Whitelist
* Adds a callback to indicate malformed URLs to the application
Bug:
63660204
Bug:
63084528
Bug:
63765158
Test: N/A
Change-Id: Ia12f0822c5d3a339633a820c40bdbff4137f510b
TreeHugger Robot [Mon, 17 Jul 2017 23:30:22 +0000 (23:30 +0000)]
Merge "Fix issue with configuration update check." into oc-dr1-dev
Tomasz Wasilczyk [Sun, 16 Jul 2017 22:15:40 +0000 (15:15 -0700)]
Make it possible to check if a given program/identifier type is supported.
Test: instrumentalization
Bug: b/
63702941
Change-Id: I436b62fa4cda8458a92a15a75543bedd43e65dcd
Tomasz Wasilczyk [Fri, 14 Jul 2017 17:46:15 +0000 (10:46 -0700)]
Fill announcement-related gaps in Broadcast Radio APIs.
- adds TA and TP flags to ProgramInfo struct
- adds a callback to cancel announcement
Bug: b/
63702941
Test: Instrumentalization, VTS
Change-Id: I09317c8ee837ee3f522037d0a727b095ef9a87a6
Tomasz Wasilczyk [Thu, 13 Jul 2017 22:59:08 +0000 (15:59 -0700)]
Deprecate onMetadataChanged.
All ProgramInfo changes are passed now by onProgramInfoChanged callback.
The onMetadataChanged callback is still called for compatibility reasons.
Bug: b/
32621193
Test: instrumentalization (none added)
Change-Id: I80be8d3b55614c618514ac1e081a3ba60f4060b3
Tim Murray [Mon, 17 Jul 2017 23:28:05 +0000 (23:28 +0000)]
Merge "power: throttle interaction hints" into oc-dr1-dev am:
d12ecb1ed5
am:
d7e258116a
Change-Id: Ie12d0f6e1f212245f55b0440ffd2f696a206ce4a
Tim Murray [Mon, 17 Jul 2017 23:23:37 +0000 (23:23 +0000)]
Merge "power: throttle interaction hints" into oc-dr1-dev
am:
d12ecb1ed5
Change-Id: I1c83b7fd89f15e08188512156db42bed5c073b41
Tomasz Wasilczyk [Wed, 12 Jul 2017 20:59:20 +0000 (13:59 -0700)]
Implement ProgramSelector for font-end Java APIs.
Bug: b/
32621193
Test: instrumentalization
Change-Id: Ibb9841fed76ef3568c2e36ca28ea31addf9175f1
Tim Murray [Mon, 17 Jul 2017 23:16:41 +0000 (23:16 +0000)]
Merge "power: throttle interaction hints" into oc-dr1-dev
Mark Salyzyn [Mon, 17 Jul 2017 23:09:44 +0000 (23:09 +0000)]
Merge "BootReceiver: check console-ramoops-0" am:
a09784ac75 am:
e7715b35ea am:
be25a82472
am:
72c54c5113
Change-Id: I2d037b8c971cfef330e0d02045a50de759692e53
Neil Fuller [Mon, 17 Jul 2017 23:07:41 +0000 (23:07 +0000)]
Merge "Address post-commit review comments" am:
858634e4ec am:
5c15f6d6b1 am:
1a35cf3892
am:
d730ad43d5
Change-Id: I3ae3b91303cb13be200a6faa7151a1474db13c68
Android Build Merger (Role) [Mon, 17 Jul 2017 23:03:24 +0000 (23:03 +0000)]
Merge "Merge "Merge "Merge "Remove unnecessary TODOs" am:
a5c96cf4bf am:
08cff4c76b" into oc-dev-plus-aosp am:
c8eaf5a3a4" into oc-dr1-dev-plus-aosp am:
a09fa61cb3"
Neil Fuller [Mon, 17 Jul 2017 23:01:54 +0000 (23:01 +0000)]
Merge "Merge "Merge "Remove unnecessary TODOs" am:
a5c96cf4bf am:
08cff4c76b" into oc-dev-plus-aosp am:
c8eaf5a3a4" into oc-dr1-dev-plus-aosp
am:
a09fa61cb3
Change-Id: I04cc0c73ba1cf736ed72cf1de03b02112ab9c6aa
Android Build Merger (Role) [Mon, 17 Jul 2017 23:01:14 +0000 (23:01 +0000)]
Merge "Merge "Merge "Docs-change: clarification of LauncherApps.getApplicationInfo()" into oc-dev am:
d726ff988c am:
84a4d3de65" into oc-dr1-dev-plus-aosp am:
9dd37a4818"
Michael Wachenschwanz [Mon, 17 Jul 2017 22:59:48 +0000 (22:59 +0000)]
Merge "Add Foreground Service Timer"
Benjamin Miller [Mon, 17 Jul 2017 22:59:30 +0000 (22:59 +0000)]
Merge "Merge "Docs-change: clarification of LauncherApps.getApplicationInfo()" into oc-dev am:
d726ff988c am:
84a4d3de65" into oc-dr1-dev-plus-aosp
am:
9dd37a4818
Change-Id: Iedcddce61cca507db9654e599c18c80234519bb5
Mark Salyzyn [Mon, 17 Jul 2017 22:58:35 +0000 (22:58 +0000)]
Merge "BootReceiver: check console-ramoops-0" am:
a09784ac75 am:
e7715b35ea
am:
be25a82472
Change-Id: I389d8faf7d30b48bfafac17251216346eb9cb713
Benjamin Miller [Mon, 17 Jul 2017 22:53:30 +0000 (22:53 +0000)]
Merge "Docs-change: clarification of LauncherApps.getApplicationInfo()" into oc-dev am:
d726ff988c am:
8322920a7c
am:
eb3926819a
Change-Id: Ie1b099141194525571553f46f12d7fa0e305779d
Neil Fuller [Mon, 17 Jul 2017 22:53:29 +0000 (22:53 +0000)]
Merge "Address post-commit review comments" am:
858634e4ec am:
5c15f6d6b1
am:
1a35cf3892
Change-Id: I4f3bbd22c853b7fcb6f52e7e0543fc63712bfdbd
Android Build Merger (Role) [Mon, 17 Jul 2017 22:49:53 +0000 (22:49 +0000)]
Merge "Merge "Merge "Remove unnecessary TODOs" am:
a5c96cf4bf am:
08cff4c76b" into oc-dev-plus-aosp am:
c8eaf5a3a4" into oc-dr1-dev-plus-aosp
Neil Fuller [Mon, 17 Jul 2017 22:48:15 +0000 (22:48 +0000)]
Merge "Merge "Remove unnecessary TODOs" am:
a5c96cf4bf am:
08cff4c76b" into oc-dev-plus-aosp
am:
c8eaf5a3a4
Change-Id: I49dcec61ce9b64cf105b7432d9c73cf5e3edd8e7
Android Build Merger (Role) [Mon, 17 Jul 2017 22:48:03 +0000 (22:48 +0000)]
Merge "Merge "Remove TODOs that are not needed" am:
0f9842304a am:
5c2cfc51c5 am:
444616f4bf am:
34aca9e2c5 -s ours"
Android Build Merger (Role) [Mon, 17 Jul 2017 22:47:39 +0000 (22:47 +0000)]
Merge "Merge "Docs-change: clarification of LauncherApps.getApplicationInfo()" into oc-dev am:
d726ff988c am:
84a4d3de65" into oc-dr1-dev-plus-aosp
Dianne Hackborn [Mon, 17 Jul 2017 22:47:37 +0000 (22:47 +0000)]
Merge "Add activity manager command to watch uid state changes."
Mark Salyzyn [Mon, 17 Jul 2017 22:46:45 +0000 (22:46 +0000)]
Merge "BootReceiver: check console-ramoops-0" am:
a09784ac75
am:
e7715b35ea
Change-Id: I4ea86cc33247c2b7bf187cc8b2bc5b9c7aadc1f4
Neil Fuller [Mon, 17 Jul 2017 22:46:16 +0000 (22:46 +0000)]
Merge "Remove TODOs that are not needed" am:
0f9842304a am:
5c2cfc51c5 am:
444616f4bf
am:
34aca9e2c5 -s ours
Change-Id: If463092000dd2b843c6bb2ef97f5d3e7e931273b
Benjamin Miller [Mon, 17 Jul 2017 22:46:08 +0000 (22:46 +0000)]
Merge "Docs-change: clarification of LauncherApps.getApplicationInfo()" into oc-dev am:
d726ff988c
am:
84a4d3de65
Change-Id: I0c2013d5243abaaa892c638fe23b9a55896b4cdc
Benjamin Miller [Mon, 17 Jul 2017 22:45:39 +0000 (22:45 +0000)]
Merge "Docs-change: clarification of LauncherApps.getApplicationInfo()" into oc-dev am:
d726ff988c
am:
8322920a7c
Change-Id: I1605d6607d5057566164f03c6f9c87bfa7fa8546
Neil Fuller [Mon, 17 Jul 2017 22:44:54 +0000 (22:44 +0000)]
Merge "Address post-commit review comments" am:
858634e4ec
am:
5c15f6d6b1
Change-Id: I967e815611149c2fd9b6ca39e9fcf9eab3b23771
Android Build Merger (Role) [Mon, 17 Jul 2017 22:41:41 +0000 (22:41 +0000)]
Merge "Merge "Remove unnecessary TODOs" am:
a5c96cf4bf am:
08cff4c76b" into oc-dev-plus-aosp
Neil Fuller [Mon, 17 Jul 2017 22:40:28 +0000 (22:40 +0000)]
Merge "Remove TODOs that are not needed" am:
0f9842304a am:
5c2cfc51c5
am:
444616f4bf
Change-Id: I5f4265d738aa3669a0c7acb8df49b454a3e27f9c
Neil Fuller [Mon, 17 Jul 2017 22:40:01 +0000 (22:40 +0000)]
Merge "Remove unnecessary TODOs" am:
a5c96cf4bf
am:
08cff4c76b
Change-Id: I2682cc46391b6120ac846c011bee0eab30c55e86
Benjamin Miller [Mon, 17 Jul 2017 22:39:28 +0000 (22:39 +0000)]
Merge "Docs-change: clarification of LauncherApps.getApplicationInfo()" into oc-dev
am:
d726ff988c
Change-Id: I031f226a4324521a8940453c96da870a49767233
Benjamin Miller [Mon, 17 Jul 2017 22:37:35 +0000 (22:37 +0000)]
Merge "Docs-change: clarification of LauncherApps.getApplicationInfo()" into oc-dev
am:
d726ff988c
Change-Id: I42a62feffca60e8beb75e991ea0b6545a2813233
Mark Salyzyn [Mon, 17 Jul 2017 22:34:23 +0000 (22:34 +0000)]
Merge "BootReceiver: check console-ramoops-0"
am:
a09784ac75
Change-Id: Ic3af3fd4f768f391740d56bd73c7dcca7698d1de
Neil Fuller [Mon, 17 Jul 2017 22:32:38 +0000 (22:32 +0000)]
Merge "Remove TODOs that are not needed" am:
0f9842304a
am:
5c2cfc51c5
Change-Id: Ia585380cb88829bf55171092389b77081d941f17
Neil Fuller [Mon, 17 Jul 2017 22:32:37 +0000 (22:32 +0000)]
Merge "Address post-commit review comments"
am:
858634e4ec
Change-Id: Ia530cc2cdf583baae825386a52fdb8eb3763d99b
TreeHugger Robot [Mon, 17 Jul 2017 22:28:09 +0000 (22:28 +0000)]
Merge "Docs-change: clarification of LauncherApps.getApplicationInfo()" into oc-dev
Neil Fuller [Mon, 17 Jul 2017 22:26:48 +0000 (22:26 +0000)]
Merge "Remove unnecessary TODOs"
am:
a5c96cf4bf
Change-Id: I1e03cd3fa9eef34218e4a4eb958fbb6dd0593be6
Treehugger Robot [Mon, 17 Jul 2017 22:24:39 +0000 (22:24 +0000)]
Merge "BootReceiver: check console-ramoops-0"
Neil Fuller [Mon, 17 Jul 2017 22:24:36 +0000 (22:24 +0000)]
Merge "Remove TODOs that are not needed"
am:
0f9842304a
Change-Id: Ie46a57ce88e25e40193b073c0add69adccc14a79
Neil Fuller [Mon, 17 Jul 2017 22:19:07 +0000 (22:19 +0000)]
Merge "Address post-commit review comments"
xutianguo [Mon, 17 Jul 2017 22:15:47 +0000 (22:15 +0000)]
Merge "Make BluetoothStateChangeCallback oneway to prevent waiting on response." am:
66af025fea am:
75bd16d2df am:
cf6e784219
am:
d40f00926a
Change-Id: I3c5469c4cf73968722f85593737db0e9225bf488
Neil Fuller [Mon, 17 Jul 2017 22:15:42 +0000 (22:15 +0000)]
Merge "Remove unnecessary TODOs"
Neil Fuller [Mon, 17 Jul 2017 22:15:08 +0000 (22:15 +0000)]
Merge "Remove TODOs that are not needed"
Jeff Sharkey [Mon, 26 Jun 2017 17:24:47 +0000 (11:24 -0600)]
Unify permissions under UPDATE_DEVICE_STATS.
The UPDATE_DEVICE_STATS permission has become the de-facto mechanism
that platform components use to shift blame for resource usage, so
it's confusing to also have a separate MODIFY_NETWORK_ACCOUNTING
permission. So this change replaces MODIFY_NETWORK_ACCOUNTING with
UPDATE_DEVICE_STATS.
Bug:
62483389
Test: builds, boots
Exempt-From-Owner-Approval: Bug
63673347
Change-Id: I872759f02327b6d531ec2338bd876890aded60ad
xutianguo [Mon, 17 Jul 2017 22:10:38 +0000 (22:10 +0000)]
Merge "Make BluetoothStateChangeCallback oneway to prevent waiting on response." am:
66af025fea am:
75bd16d2df
am:
cf6e784219
Change-Id: Id547d1512a28fd4f1ebb8c76fa4f23324d576de3
xutianguo [Mon, 17 Jul 2017 22:04:56 +0000 (22:04 +0000)]
Merge "Make BluetoothStateChangeCallback oneway to prevent waiting on response." am:
66af025fea
am:
75bd16d2df
Change-Id: I92e4e1268f6a7832cbc99396749eb7b89b19a57a
xutianguo [Mon, 17 Jul 2017 21:58:04 +0000 (21:58 +0000)]
Merge "Make BluetoothStateChangeCallback oneway to prevent waiting on response."
am:
66af025fea
Change-Id: Iab47add488fd9f4e09f2d0a2aacb435b0cdb24d0
Treehugger Robot [Mon, 17 Jul 2017 21:47:31 +0000 (21:47 +0000)]
Merge "Make BluetoothStateChangeCallback oneway to prevent waiting on response."
Bryce Lee [Mon, 17 Jul 2017 17:39:24 +0000 (10:39 -0700)]
Ensure home activity always is on home stack.
It is possible to start a home activity on a non-home stack. For
example, an activity that handles the home intent may be started with
via a different intent, landing it on the fullscreen stack. This
becomes problematic later on due to our assumptions about the home
stack state and handling of tasks within it.
To ensure proper behavior, this changelist moves the activity
handling the home intent to the home stack if it is not already
present there.
Fixes:
36606833
Test: Move home activity to fullscreen stack, launch another
activity, press home button.
Test: go/wm-smoke
Change-Id: If88550a24dca3eabc0c60940937e6a1e6f133cae
TreeHugger Robot [Mon, 17 Jul 2017 21:21:19 +0000 (21:21 +0000)]
Merge "Send less ranking reconsiderations and updates"
TreeHugger Robot [Mon, 17 Jul 2017 20:59:09 +0000 (20:59 +0000)]
Merge "Break the rules."
TreeHugger Robot [Mon, 17 Jul 2017 20:40:27 +0000 (20:40 +0000)]
Merge "Fix LongSamplingCounterArrayTest."
Mark Salyzyn [Fri, 14 Jul 2017 20:08:47 +0000 (13:08 -0700)]
BootReceiver: check console-ramoops-0
On later kernels /sys/fs/pstore/console-ramoops becomes
/sys/fs/pstore/console-ramoops-0
Test: none
Bug:
63058217
Change-Id: Ia68c0b5741c35cb35f10be6bbce93e0f0c92480f
TreeHugger Robot [Mon, 17 Jul 2017 20:28:04 +0000 (20:28 +0000)]
Merge "Enforce permission for print system APIs"
Tony Mantler [Mon, 17 Jul 2017 20:26:41 +0000 (20:26 +0000)]
Merge changes from topic 'AdbEnableController'
* changes:
Add ADB enable/disable PreferenceController
Move to newer mockito/robolectric
Tom Cherry [Mon, 17 Jul 2017 19:36:36 +0000 (19:36 +0000)]
Merge "Remove ALOGD_IF_SLOW" into stage-aosp-master am:
d600905e4a am:
94f7e0f7b9 -s ours
am:
3f4b2174fb -s ours
Change-Id: I91ec8e985fa5be962f0135be1b971ec3b53c6be7
Tim Murray [Fri, 14 Jul 2017 20:54:37 +0000 (13:54 -0700)]
power: throttle interaction hints
Don't send power HAL interaction hints more than every 100ms. Also can send userActivity
calls every 100ms too (down from 500ms).
Test: power HAL doesn't run every 8ms
bug
63632697
Change-Id: Ic986f6fc51e58f8060f7bf2d2ac61a9906be5c1f
Tom Cherry [Mon, 17 Jul 2017 19:31:37 +0000 (19:31 +0000)]
Merge "Remove ALOGD_IF_SLOW" into stage-aosp-master am:
d600905e4a
am:
94f7e0f7b9 -s ours
Change-Id: If546c3cd46fbceddd8e48553a88cda7b3abde3e9
TreeHugger Robot [Mon, 17 Jul 2017 19:27:42 +0000 (19:27 +0000)]
Merge "Don't preload quick contacts drawables"
Tom Cherry [Mon, 17 Jul 2017 19:26:01 +0000 (19:26 +0000)]
Merge "Remove ALOGD_IF_SLOW" into stage-aosp-master
am:
d600905e4a
Change-Id: I6366391c3bb0c8df8d15427d32369f180c3f2060
Tom Cherry [Mon, 17 Jul 2017 19:20:58 +0000 (19:20 +0000)]
Merge "Remove ALOGD_IF_SLOW" into stage-aosp-master
Jeff Sharkey [Mon, 17 Jul 2017 19:15:16 +0000 (13:15 -0600)]
Break the rules.
Test: none
Bug:
62270037
Change-Id: I042539ae90fdc0d80e9c0ff35aa0baf500b05811
xutianguo [Mon, 22 May 2017 06:03:33 +0000 (14:03 +0800)]
Make BluetoothStateChangeCallback oneway to prevent waiting on response.
Test: Connected bluetooth devices(included Headset/HID devices), and
made bluetooth enabling/disabling over 1000 times, no other side effect
observed.
Bug:
38485770
Change-Id: Ia3959d2441aece39a79ab2d662b57790a78df674
Signed-off-by: xutianguo <xutianguo@xiaomi.com>
(cherry picked from commit
95e1e21a639318bb3399c394707624393cfa2300)